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

Re: Git workflow [was Re: Your upload of r-cran-xts]



On Thu, Mar 15, 2018 at 05:44:42PM -0500, Dirk Eddelbuettel wrote:
> 
> Now, I looked at all of this a million times before ... but where the (good)
> tutorials on starting "from scratch", ie how do
>  - get an upstream tarball into the pristine-tar and upstream branches

I'm using

     uscan --verbose
     gbp import-orig --pristine-tar TARBAL_CREATED_USCAN

Hint: In some rare cases with really large tarballs (I think even
r-base is not that large) I needed to prepend the latter line by

     TMPDIR=/var/tmp

since my TMPDIR was to small and the resulting error message was
not helpful.

>  - how do I inject existing debian/ directories etc pp

To create a git repository from existing packages I'd recommend

     gbp import-dscs --debsnap --pristine-tar PACKAGE

which conserves your packaging history.

Hope this helpy

       Andreas. 

-- 
http://fam-tille.de


Reply to: