[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to handle two repositories?



On Tuesday 03 June 2008 10:15:10 am Cyril Brulebois wrote:
> I think the most important question here is: Will *anyone* be able to
> contribute to a git repository with any git repository layout? For the
> first layout, I don't think it's a huge problem. Basically the same
> workflow, a couple of commands to learn, done. For the second one, I
> still believe there's much to learn before being able to prepare an
> upload on ones own.

With the second layout, I didn't find that there was much more to learn than 
with the first layout. In the second layout, there are only two things that I 
found myself doing differently in git as opposed to in svn. One is reverting 
changes done during build (i.e. autogenerated files from autotools), the 
other is generating patches.

For reverting changes, it's as simple as `git-checkout .`

For generating patches, I found it easier to switch to a different branch and 
work on the source files directly. Then I take advantage of git-diff or 
git-format-patch to generate some patches to bring them over to the debian 
packaging branch ("master" branch) for use during build using quilt.

Also, I have updated the wiki that explains how to do this.
http://wiki.debian.org/Games/VCS

-- 
Regards,
Andres

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: