Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Gitlab
Gitlab
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • TPA
  • GitlabGitlab
  • Issues
  • #63

Closed
Open
Opened Aug 06, 2020 by Nick Mathewson@nickm🐭Developer

We need an easier way for devs to have a public and a private fork of a single repo.

The goal

Try creating two forks of a single repository: one public, one private. The private repository would be for working on confidential fixes; the public one for everything else.

Specifically, I want to leave my current nickm/tor project alone, but create a private repository called nickm/tor-private that is also a fork of tpo/core/tor.

The actuality

Hoo boy. As near as I can tell, this is very hard to do from the web interface. I think you could do it by creating one fork, then creating another fork in another namespace, then renaming the second fork and transferring the second fork to the first namespace. But that's nontrivial and non-obvious, and requires that you have two namespaces to work with.

Another possibility is to fork the repository via the API, which is nontrivial. I think doing it via the API may also require admin access.

Another possibility is to create a new repository, then create a fork relationship between the parent repository and the child repository. That requires admin access.

Suggested next steps

If there's an easy way to do this, please let me know what it is.

If there isn't, then could somebody with fork access please add a fork relationship from 426 (tpo/core/tor) to 628 (nickm/tor-private)? (That is, please mark my private repository has having forked from the main tor repository.)

In either case, let's document what our preferred way to do this is.

Edited Aug 06, 2020 by Nick Mathewson
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: tpo/tpa/gitlab#63