FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 12-11-2011, 09:35 PM
Ludovic Claude
 
Default Git usage in the pkg-java team

Hello,

I'm banging my head trying to use Git to store the packaging for a new
project whose upstream uses Git (on Github). Git is very powerful and
fast, but it comes at the cost of simplicity it seems.

I'm still not clear how to do this task. I read the the wiki pages, but
it looks like it's simpler to repack the upstream sources then use
git-import-orig to import the upstream sources in your new Git
repository. Do you have any better idea for doing this tasks? It looks
wasteful to loose the ability to do a simple git pull to get the latest
code from upstream.

http://wiki.debian.org/Alioth/Git
http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.NEW.UPSTREAM
https://wiki.debian.org/Java/JavaGit

Could somebody write some receipes on the wiki for some common use cases:
- Upstream does not use Git and I want to create a new package
- bonus: I want to filter out some files from the raw upstream tarball
- bonus 2: I want to patch some files on upstream
- Upstream uses Git and I want to create a new package
- bonus: I want to filter out some files from the raw upstream tarball
- bonus 2: I want to patch some files on upstream
- Given a package with a working debian/watch and get-orig-source target
in debian/rules, how to I upload the new upstream in Git?
- Given a new version tag in the upstream Git repository, how do I
create the packaging for this new version?

Another grip is that with svn, I could get all the package sources from
the team with one command.
svn checkout svn+ssh://$DEBSVNUSER@svn.debian.org/svn/pkg-java

With Git, I need to fetch each packages one by one.

The pkg-ruby-extras team has a solution for this issue: they use a tool
called mr and some configuration and you can get all packages managed by
that team with a few commands.

I propose that we use this tool for pkg-java as well, this could help us
to manage those huge lists of packages. I'm setting up mr for pkg-java,
tell me if you like it.
https://wiki.debian.org/Java/JavaGit

Ludovic


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EE53035.50504@laposte.net">http://lists.debian.org/4EE53035.50504@laposte.net
 
Old 12-13-2011, 09:33 AM
Thomas Koch
 
Default Git usage in the pkg-java team

Hi Ludovic,

I'm so glad you finally decided to join the collective and get assimilated.
Don't worry! Once the assimilation is complete, you'll see how easy Git is!

mr is a good choice! I've only played with it so far, but it looks good.

However best practices for packaging with Git are still work in progress:
http://wiki.debian.org/GitPackagingWorkflow

Please ping me on IRC, if I can help you with a specific problem / package.

Regards,

Thomas Koch, http://www.koch.ro


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201112131133.42072.thomas@koch.ro">http://lists.debian.org/201112131133.42072.thomas@koch.ro
 

Thread Tools




All times are GMT. The time now is 07:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org