On 12/18/2015 08:42 AM, aitor_czr wrote:
Hi Edward,
Your repository works fine with git-buildpackage:
$ git clone https://git.devuan.org/edbarx/netman.git
$ rm -rf netman/.git
-
This is beacause git-import-orig doesn't support git meta-datas (but
it supports debian meta-datas).
$ mkdir pztrn (aka Stanislav N.)
$ cd pztrn
$ git-import-orig --pristine-tar ../netman
What will be the source package name? [] netman
What is the upstream version? [] 0.1.1
gbp:info: Importing '../netman_0.1.1.orig.tar.bz2' to branch 'master'...
gbp:info: Source package is netman
gbp:info: Upstream version is 0.1.1
pristine-tar: committed netman_0.1.1.orig.tar.bz2.delta to branch
pristine-tar
gbp:info: Successfully imported version 0.1.1 of
../netman_0.1.1.orig.tar.bz2
$ git-buildpackage -tc --git-export-dir="../build-area"
--git-pristine-tar --git-tag --git-ignore-branch
And it works.
I'm using your latest commit:
(Closes: #nnnn) <nnnn is the bug number of your ITP>
Cheers,
Aitor.
If you create previously the pristine-tar branch, then you can avoid
git-import-orig:
$ mkdir netman-git
$ cd netman-git
$ git clone https://git.devuan.org/aitor_czr/netman.git
Cloning into 'netman'...
remote: Counting objects: 80, done.
remote: Compressing objects: 100% (73/73), done.
remote: Total 80 (delta 18), reused 0 (delta 0)
Unpacking objects: 100% (80/80), done.
Checking connectivity... done.
$ cd netman
$ git checkout pristine-tar
Branch pristine-tar set up to track remote branch pristine-tar from origin.
Switched to a new branch 'pristine-tar'
$ ls -l
total 8
-rw-r--r-- 1 aitor aitor 2046 Dec 18 09:21
netman_0.1.1~468c97d.orig.tar.bz2.delta
-rw-r--r-- 1 aitor aitor 41 Dec 18 09:21
netman_0.1.1~468c97d.orig.tar.bz2.id
$ pristine-tar checkout ../netman_0.1.1~468c97d.orig.tar.bz2
pristine-tar: successfully generated ../netman_0.1.1~468c97d.orig.tar.bz2
$ git checkout gbp-master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
$ git-buildpackage -tc --git-export-dir="../build-area"
--git-pristine-tar --git-tag --git-ignore-branch
Cheers,
Aitor.
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng