Git Repositories for Thrift
Git is a source-control system used by a lot of Thrift developers. While the official Thrift repository is the Apache Incubator Subversion repository, a lot of experimental or in-progress development is posted to the unofficial Git repository.
How is the non-Git community kept aware of what's going on in Git-land? --DougCutting
http://mail-archives.apache.org/mod_mbox/incubator-thrift-dev/200806.mbox/%3c484D84BA.30908@facebook.com%3e Follow this thread for now. More to come. --DavidReiss
Read-only Access
- git://git.thrift-rpc.org/thrift.git
The git repo's master branch is updated from svn every hour. Soon it will automatically update after a commit.
User's who prefer GitHub's interface can use http://github.com/dreiss/thrift, which is updated from the main Git repo every five minutes.
Write Access
- (You can just edit your .git/config. You don't need to clone a new repo.)
- Email your ssh public key (id_rsa.pub or id_dsa.pub) to the -dev list to get an account.
- You will be able to push to refs/heads/pub/* and refs/heads/pri/$USER/* .
What if David is hit by a bus? At least one or two more committers should be able to administer this. --DougCutting
@DougCutting: Administering this service currently requires root access on thrift-rpc.org, so I'll be the only one who can handle this as long as I am paying for that machine out-of-pocket. I hope the "Maintenance" section I added helps to allay your fears. --DavidReiss
Perhaps we should ask infra for a Solaris zone to host this instead? For those we tend to give root to any committer who needs it. --DougCutting
Committer Access
This section only applies to bona fide Apache committers with commit access to the Thrift Subversion repository. Git users who are not apache committers should never have to interact directly with Subversion.
git clone ssh://git.thrift-rpc.org/pub/scm/thrift.git cd thrift git svn init https://svn.apache.org/repos/asf/incubator/thrift/trunk git update-ref refs/remotes/git-svn HEAD git svn fetch
You should be able to "git svn dcommit" normally. (Please be careful!)
Maintenance
The files used to configure the repository are in separate repos at http://gitweb.thrift-rpc.org/. I (dreiss) will eventually get around to adding a README to thrift-meta that describes the system-level configurations that make this repo tick. That way, anyone can rebuild the Git repo (policy and all) if I am hit by a bus.