[Debian-astro-maintainers] Move project from Subversion to debian-astro git
Ole Streicher
olebole at debian.org
Tue Nov 8 21:05:00 UTC 2016
"Leo P. Singer" <leo.p.singer at nasa.gov> writes:
> I would like to move healpy
> (https://packages.debian.org/source/sid/healpy) from Subversion [..]
> to git (https://anonscm.debian.org/cgit/debian-astro).
NIce to hear!
> Are there instructions for creating a new git-buildpackage style repo
> under debian-astro?
The basics: The repo should have three branches:
* upstream - contains the untarred upstream (without a single top dir),
* master (or debian) - branches off upstream and adds the debian subdir
* pristine-tar - is handled by the "pristine-tar" command.
So, the simple start (from scratch) is
$ mkdir healpiy
$ cd healpy
$ git init
$ git checkout -b upstream
$ gbp import-orig ../healpy_3.4.orig.tar.gz
$ git checkout master
$ mkdir debian; populate debian
$ git add debian ; git commit -m "Moved to git"
$ gbp dch -a
....
Cheers
Ole
More information about the Debian-astro-maintainers
mailing list