Feature Hidden Branches #4988

Closed
opened 2025-11-02 06:10:10 -06:00 by GiteaMirror · 10 comments
Owner

Originally created by @6543 on GitHub (Mar 2, 2020).

Idear: like hidden issue but for a branch (to develop a securety fix or have specific secret files/infos/config versioned but be able po publish the rest ...)

Originally created by @6543 on GitHub (Mar 2, 2020). Idear: like hidden issue but for a branch (to develop a securety fix or have specific secret files/infos/config versioned but be able po publish the rest ...)
GiteaMirror added the type/proposal label 2025-11-02 06:10:10 -06:00
Author
Owner

@guillep2k commented on GitHub (Mar 3, 2020):

I'm not sure it's possible using git. A git fetch will bring everything to the client. It will be more like a "treat with discretion" branch.

@guillep2k commented on GitHub (Mar 3, 2020): I'm not sure it's possible using git. A `git fetch` will bring everything to the client. It will be more like a "treat with discretion" branch.
Author
Owner

@6543 commented on GitHub (Mar 3, 2020):

if git we can filt reverences of git I think this is posible ... but I dont know/looked-at the internals how git fetch is handled so i only can gues for now

@6543 commented on GitHub (Mar 3, 2020): if git we can filt reverences of git I think this is posible ... but I dont know/looked-at the internals how git fetch is handled so i only can gues for now
Author
Owner

@zeripath commented on GitHub (Mar 5, 2020):

There's other problems with guessing shas, the private objects would need to be kept completely within a separate object db.

@zeripath commented on GitHub (Mar 5, 2020): There's other problems with guessing shas, the private objects would need to be kept completely within a separate object db.
Author
Owner

@zeripath commented on GitHub (Mar 5, 2020):

At which point it starts to look a lot like a private fork...

@zeripath commented on GitHub (Mar 5, 2020): At which point it starts to look a lot like a private fork...
Author
Owner

@lunny commented on GitHub (Mar 6, 2020):

We may could replace git http protocol when you read refs/heads and ssh protocol on gitea serv.

@lunny commented on GitHub (Mar 6, 2020): We may could replace git http protocol when you read `refs/heads` and ssh protocol on `gitea serv`.
Author
Owner

@zeripath commented on GitHub (Mar 6, 2020):

It's not just the ref heads it's all the objects associated with the ref heads. You can't pack any objects from the private refs into packs that non authorized users can download.

Private branches are why gitlab can't support git v2 wire protocol.

The best answer is probably to better support forks - allow porting of PRs between forks, perhaps allow private forks of org projects to permit team members etc.

@zeripath commented on GitHub (Mar 6, 2020): It's not just the ref heads it's all the objects associated with the ref heads. You can't pack any objects from the private refs into packs that non authorized users can download. Private branches are why gitlab can't support git v2 wire protocol. The best answer is probably to better support forks - allow porting of PRs between forks, perhaps allow private forks of org projects to permit team members etc.
Author
Owner

@6543 commented on GitHub (Mar 6, 2020):

I think this was a nice idear but a private fork can act similar ...

@6543 commented on GitHub (Mar 6, 2020): I think this was a nice idear but a private fork can act similar ...
Author
Owner

@6543 commented on GitHub (Mar 6, 2020):

It looks like implementing would result in more resource usage and dev time ... so close it?

@6543 commented on GitHub (Mar 6, 2020): It looks like implementing would result in more resource usage and dev time ... so close it?
Author
Owner

@a1012112796 commented on GitHub (Mar 23, 2020):

It's really attractive , but may be it was hard because of git's permission and hock system not have suport , may be we should directly do some change on git, to make it have more permission choices.
by the way, dose we have hidden issue function now, thanks.

@a1012112796 commented on GitHub (Mar 23, 2020): It's really attractive , but may be it was hard because of git's permission and hock system not have suport , may be we should directly do some change on git, to make it have more permission choices. by the way, dose we have hidden issue function now, thanks.
Author
Owner

@6543 commented on GitHub (Mar 27, 2020):

@a1012112796 -> #3217 (no, we dont)

@6543 commented on GitHub (Mar 27, 2020): @a1012112796 -> #3217 (no, we dont)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4988