New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gist like repo type #16670
Comments
+1 for the above.
In addition to this, IIRC, GH gists also use hooks to block binary files. Perhaps that is also something for us to consider Edit: Also no folders are allowed either. |
I feel like this isn't even really necessary, myself. Certainly a nicety though. |
So that we also need a new column in repository table named |
We won't, as we can use repo_name with and populate it with uuid |
Is it possible to implement anonymous code paste? It seems that in the current design, an account must be logged in |
Gists are a way to share information with one or a few files. You want a pastebin-like service and there is another issue where this is discussed (#693). |
Just close this and please discuss further in #693 |
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
@lunny did close old issue -> see reason - this proposal here is a better aproach and wont add much extra code etc ... |
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:
Proposals for implementation:
<base-url>/<user_or_organization>/gists/<uuid>
(gists
must be a blacklisted repo name)RepoType
field to database)gists
and go to gist handling; else go to user repo handlingThe text was updated successfully, but these errors were encountered: