go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.32k stars 5.51k forks source link

Possibility to open repository with "custom" settings #21424

Open TimerWolf opened 2 years ago

TimerWolf commented 2 years ago

Feature Description

As the title says, it would be neat if it could be more customized what to share with the public and what to keep private.

In my case i have repository called "scripts" that contains scripts in different languages

it looks like this when i am logged in on my account

And lets say i would like to share only the "php" directory it would be neat if it was possible and if i set "php" as shared it shows as public with all its subdirs and all others only seen for me if i am logged in to my account.

Screenshots

No response

lunny commented 6 months ago

How about creating a submodule for php and in fact storing php on another public repository? Otherwise it's almost impossible to implement such a feature in a git ecosystem.

TimerWolf commented 2 weeks ago

I looked at the "Compared to other Git hosting" and noticed that "GitLab / RhodeCode" has something that is called "Subgroups: groups within groups" that sounds like this or is i completely wrong ?

lunny commented 2 weeks ago

No. Subgroup is something like organization. I don't think there is any git platform has implemented similar feature.