Skip to content

Gist like repo type #16670

Open
Open
@crapStone

Description

@crapStone

TLDR: GitHub gist feature for Gitea

Long Version:

Add a new repo type named "Gist" and show them in the webui like a GitHub Gist:

  • show all files as previews on one page
  • have a comment section below
  • only one branch exists (pre-push hook to block everything else)
  • show a tab with commits/revisions not with as list of commits but with a list of diff-views
  • allow forks but not PRs

Proposals for implementation:

  • URL: <base-url>/<user_or_organization>/gists/<uuid> (gists must be a blacklisted repo name)
  • save gist as repo (add a RepoType field to database)
  • adjust routing to first check for gists and go to gist handling; else go to user repo handling
  • add new comment type for gist comments

Metadata

Metadata

Labels

type/proposalThe new feature has not been accepted yet but needs to be discussed first.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions