Re: using pristine-tar

2011-02-20 Thread Sven Hoexter
On Sat, Feb 19, 2011 at 08:14:52PM -0500, Paul Tagliamonte wrote:
 Howdy d-m,
 
 I'm working on a package, and I'm thinking about using pristine-tar.
 Is there a best practices / tutorial set anywhere? I did some
 googling, but since nothing jumped out, I figured some of the better
 resources might be common knowledge around here.

My guess would be that most people use it together with git and
git-buildpackage. It then boils down to having a pristine-tar branch
and a debian/gbp.conf with
[DEFAULT]
pristine-tar = True

In general the manpages for both, pristine-tar and git-buildpackage, are
helpful.

HTH,
Sven
-- 
And I don't know much, but I do know this:
With a golden heart comes a rebel fist.
 [ Streetlight Manifesto - Here's To Life ]


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110220081337.GA1970@marvin



Re: using pristine-tar

2011-02-20 Thread Robert James Clay

Paul,,

On Feb 19, 2011, at 8:14 PM, Paul Tagliamonte wrote:

I'm working on a package, and I'm thinking about using pristine-tar.
Is there a best practices / tutorial set anywhere?


What I've been using is the examples info in the man page;   
i.e.,  create an archive, create a tag, then do a 'pristine-tar  
commit' to that archive and that tag.   Seems to work well enough,  
but I also would be interested in best practises/tutorial in case I'm  
missing something...


 One thing I've found is if you are also upstream for the  
package, and you want to use git-buildpackage, you need to do the  
'pristine-tar commit'  for both the distribution archive and the  
debian 'orig' archive. It's easy enough to do (just rename the  
distribution archive to the debian 'orig' format  do the commit on  
that) , but is an extra step.   (If there is an easier/better way to  
do that, I'd be interested in hearing about it...)




Robert James Clay
j...@rocasa.us





--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/cd3b0b57-1049-4cd2-b371-f2ed523ad...@rocasa.us