git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: workflow with blessed, lieutenant, and developers

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Aug 9, 2010, 07:57 UTC
Message-ID
<vpqr5i8dxqh.fsf@bauges.imag.fr>
In-Reply-To
<20100809092152.5f32646a@packard.rktmb.org>
Assuming you actually want what you want:
Mihamina Rakotomandimby <mihamina@gulfsat.mg> writes:
> 1°) What command line do developers use to push to me but not to the
> blessed (origin)?
For example:
  git remote add submission <your repository URL>
and then, submit with
  git push HEAD:submission/branch-name
> 2°) After they pushed to me, I have the choice to "approve" or "reject"
> a commit: what is the keyword and git option for that?

Actually, you have the choice between "push" and "don't push", and you can complement the later with "git branch -D" to delete the branch.

> 3°) I push the merge of approved commits to the blessed repository:
> what keywords and git options?
What do you want that "git push" doesn't do?
Now, you may not really want this ;-). Here are some alternatives:
* Use a system like github/gitorious/giroco/gitolite, that allows you
  to manage a set of repositories with shared storage, on a single
  site. Take gitorious, for example. People would clone the blessed
  repository (like http://gitorious.org/project/repo.git) online
  (costs almost nothing thanks to shared storage). They get a remote
  repository like http://git.gitorious.org/~user/project/own-repo.git.
  Then get a local copy. They would push to
  http://git.gitorious.org/~user/project/own-repo.git, notify you of
  the changes (by email, or using gitorious itself), and you'd pull
  from them and push to the blessed repository. This way, each user
  has his own private local repository, and his submission repository.
  You avoid people messing their submission with each other.
* Look at code review tools like gerrit. I've never used them so I
  can't say much more.
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Joshua JuranNext: Jared Hance
Message 3 of 5 in “workflow with blessed, lieutenant, and developers”
  1. Mihamina RakotomandimbyAug 9, 2010
  2. Joshua JuranAug 9, 2010
  3. Matthieu MoyAug 9, 2010
  4. Jared HanceAug 9, 2010
  5. Enrico WeigeltAug 13, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.