Re: Importing new pristine tar into git ?
On Wed, 24 Oct 2018, Mathieu Malaterre wrote:
> Could someone please point me to the documentation for injecting a new
> release in git on salsa. I am specifically looking for injecting fop
I normally do it like this:
git checkout upstream
git rm -rf .
tar --strip-components=1 -xzf ../${name}_${version}.orig.tar.gz
git add -f .
git commit -a -S -m "import upstream version $version"
git tag -s $name-$version # tag the origtgz content
git checkout master
git merge $name-$version # merge from that tag
pristine-tar commit ../${name}_${version}.orig.tar.gz upstream
dch -i
# hack, commit, test
git tag -s $name-$version-1 # tag the Debian package
git push --all
git push --tags
HTH & HAND,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Reply to: