-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Feature request: Add unlisted repositories #8649
Feature request: Add unlisted repositories #8649
Comments
This behavior already exists for private repos. You can then give read/write permissions for collaborators. In the case that you mean there exist a special link in which a user would be able to have full read/write (similar to YouTube), what would be the use case? |
My use case is i was applying for a job, they wanted to see source code from my previous projects. I did not want to open source the source code due to unrelated reasons... But i wanted the folks at the company to be able to read over my source code without having to have specific read/write permissions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
If we could generate an encoded URL for a private repository which has an expired time, and then you can share it with others. |
Yeah that would certainly work. |
Is this still being added? |
Another use-case is schoolwork. Submitting a link to a repo Professor can access without either creating account or making the repo public. Would be very useful if this feature is added. |
I find this pretty usefull when you want to share something with someone that doesn't have an account, without having to make the source code searchable. The miki725 use-case is one of the best I can think of. This is already added in gogs. I'm talking from the ignorance, but it might be possible to port that idea from there. |
thoughts: I would implement it as another visible level ... Private, Limited, Unlisted, Public so for why nobody has implemented it ... to do this properly ... you have to refactor a lot :/ |
Chiming in here for another use case: occasionally the makers of specialized scientific hardware share their source code with researchers, but don't explicitly license it or post it publicly themselves. If your team has a customized/patched version of that software, you can't exactly post it openly on GitHub or another searchable public repo, but you often still want to be able to share the code with others and deploy it easily on new machines. Unlisted repositories would solve the issue completely. |
This would be really cool, gogs also added this feature reccently |
I originally commented to #10375 (comment), but this would be better solution for my scenario. I have a repository for learning Flask and it doesn't need to be public (anyone interested can find the upstream), but currently I have to make it public to share it to people learning with me unless they are willing to register onto the same Gitea instance that I am using and being public means it takes visibility from my real repositories. |
Any updates? That would be good at least for repositories |
Honestly, sounds like you want to have custom share links (otherwise it might be easily guessed) or maybe the ability to assign permissions to a generic "Guest" user representing non-logged-in users for a private repo. For both of these, rather than Admin/Write/Read the permissions could be Write/Read/Unlisted, with the latter meaning they can read but only with the link. |
Here is the pull request for that feature, in case it helps anyone else with an interest in contributing: gogs/gogs#6176. I'm also rather ignorant of this stuff, and have no real experience with Go, but I came upon this issue while looking around on AlternativeTo.net for a place to mirror a private GitHub repo with an unlisted URL, hopefully on a more FOSS-forward hosting service that I might migrate to more generally if I found I liked it. I'm encouraged by the fact that these kinds of community discussions and the open development process, as opposed to discussions like this that seem to go nowhere. Kudos, y'all! 🙏 And for my use case, I'm working on spec docs and draft proposals for a coop business model. I don't need absolute secrecy, but mostly don't want people stumbling on it without realizing it's in draft, not even prototype level, and making premature judgments. However, I do want to be able to share it with people who are not programmers (or even very technically savvy at all) with a simple share link that does not require an account with GitHub or any other hosting service. Since the repo's content is mostly markdown that I just wanted rendered as unfussy HTML, I'm realizing as I type this it might make better sense to setup my own unlisted static site for those documents, but I'd be eager to try it out with Gitea if this feature was added. |
@jgaehring sounds like a good fit for just setting up an own gitea instance and disabling search engine indexing at the HTTP level |
It would be nice to see some sort of update on this. I would be more than happy to spend my time submitting a pr in order to get this done! |
Just came across this and I think it would be a pretty good feature to have. Any progress on it? |
second that.. |
We can have this feature in 1.24: Support public code/issue access for private repositories #33127 Create a private repo, and set |
Add the ability to make repositories unlisted, meaning that these repositories are not listed under your account and are only viewable by users who are given links. For example, this would be very similar to that of unlisted Youtube videos...
The text was updated successfully, but these errors were encountered: