git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jacob Helwig" <jacob.helwig@gmail.com>
To: "Grzegorz Kossakowski" <grek@tuffmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to clone git repository with git-svn meta-data included?
Date: Sun, 7 Dec 2008 00:43:32 -0800	[thread overview]
Message-ID: <8c9a060812070043r472e10abu7a76152b5fe1314d@mail.gmail.com> (raw)
In-Reply-To: <493A6CEC.4060601@tuffmail.com>

On Sat, Dec 6, 2008 at 04:15, Grzegorz Kossakowski <grek@tuffmail.com> wrote:
> Hello,
>
> Some folks at Apache are experimenting with Git and we are currently seeking for the git-svn
> integration that fits our needs and infrastructure.
>
> After some evaluation we decided that our setup could be described using following points:
>  a) our svn repository remains our main, official server where every committer is obligated to push
> their changes to at some time.
>  b) we set up clone of svn repository using git-svn. One of our members, Jukka Zitting, maintains
> such a service here[1]. Such repositories should be usable both for our committers (that have rights
> to push to svn) and our contributors that want to contribute random patches
>  c) we want carefully track who committed/contributed what
>
> Basically, a) implies b) and point b) looks little bit problematic right now.
> Jukka has set up his hosting using method described in his e-mail[2] which basically makes use of
> git svn. The major problem is that if one clones Jukka's repository then git svn information is not
> being cloned so committers have no means to push their changes to main, svn server.
>
> I've tried to play a little bit around with this issue and I tried to copy information from .git
> directory found on Jukka's server. This made me able to push my changes but git svn insisted on
> rebasing my repository using commits found in svn which is wrong. Basically we want such a setup
> that uses git repository (Jukka's clone) for pulling changes and local git svn for pushing changes.
> Git svn should never try to rebase local repository because this will lead to two different trees on
> two different machines so we won't be able to exchange and merge changesets.
>
> Is it possible with Git right now?
>
>
> Another point (c) which seems to be brought a couple of times but never a definitive answer has been
> given, AFAIK. Let's imagine we have committer C and two contributors A and B.
>
> A and B start to work on some feature and C agreed to help A and B and once their work is finished
> to merge their changes into his repository and eventually push them to main, svn repository. Now A
> and B work on implementation and from time to time their merge changes from each other. Once they
> are finished A asks C to merge their work into C's repository. Everything is fine provided we can
> trust both A and B.
>
> What if A was not fair and has rewritten a few commits coming from B so they contain malicious code?
> How we can detect something like that and how C be sure that what he merges is really work
> attributed by correct names?
>
> Thanks for your answers.
>
> [1] http://jukka.zitting.name/git/
> [2] http://markmail.org/message/fzzy7nepk7olx5fl
>
>
> --
> Best regards,
> Grzegorz Kossakowski
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Grzegorz,

I use git-svn quite a bit at $work, but I haven't seen a way to clone
a git repo, and have it Just Work(TM) with git-svn in the new clone,
unfortunately.

I have been able to use clone to significantly cut down on the setup
time for working with git-svn, however.  I was following the
directions at http://subtlegradient.com/articles/2008/04/22/cloning-a-git-svn-clone
 (Clone the git-svn clone, then re-do the git svn init, and fetch to
re-sync.)

Not sure how much this will actually help you with the first part of
your problem.

-Jacob

  reply	other threads:[~2008-12-07  8:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-06 12:15 How to clone git repository with git-svn meta-data included? Grzegorz Kossakowski
2008-12-07  8:43 ` Jacob Helwig [this message]
2008-12-08  0:03   ` Nick Andrew
2008-12-07 16:57 ` Peter Harris
2008-12-07 19:08   ` Grzegorz Kossakowski
2008-12-07 20:30     ` Peter Harris
2008-12-07 22:02       ` Grzegorz Kossakowski
2008-12-07 23:51         ` Peter Harris
2008-12-08 13:10         ` Michael J Gruber
2008-12-08 18:26           ` Grzegorz Kossakowski
2008-12-08 18:40             ` Peter Harris
2008-12-08 18:43               ` Grzegorz Kossakowski
2008-12-09  9:08                 ` Sam Vilain
2008-12-09 20:57                   ` Grzegorz Kossakowski
2008-12-09  8:53             ` Michael J Gruber
2008-12-08 16:10     ` Shawn O. Pearce
2008-12-08 19:04       ` Grzegorz Kossakowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c9a060812070043r472e10abu7a76152b5fe1314d@mail.gmail.com \
    --to=jacob.helwig@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=grek@tuffmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).