Hi Aitor et al,
This is what I got:
edbarx@edbarx-pc:~$ tar -c simple-netaid | bzip2 >
simple-netaid_0.1.1.orig.tar.bz2
edbarx@edbarx-pc:~$ cd simple-netaid
edbarx@edbarx-pc:~/simple-netaid$ git taf -a 0.1.1 -m "Tagging
simple-netaid version number 0.1.1"
git: 'taf' is not a git command. See 'git --help'.
Did you mean this?
tag
edbarx@edbarx-pc:~/simple-netaid$ git tag -a 0.1.1 -m "Tagging
simple-netaid version number 0.1.1"
edbarx@edbarx-pc:~/simple-netaid$ pristine-tar commit
../simple-netaid_0.1.1.orig.tar.bz2 tags/0.1.1
pristine-tar: committed simple-netaid_0.1.1.orig.tar.bz2.delta to
branch pristine-tar
edbarx@edbarx-pc:~/simple-netaid$ mkdir ../build-area
edbarx@edbarx-pc:~/simple-netaid$ git-buildpackage -tc
--git-export-dir="../build-area" --git-pristine-tar --git-tag
--git-ignore-branch
gbp:info: Exporting 'HEAD' to '/home/edbarx/build-area/simple-netaid-tmp'
gbp:info: Moving '/home/edbarx/build-area/simple-netaid-tmp' to
'/home/edbarx/build-area/simple-netaid-1'
This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of simple-netaid_0.1.1.orig.tar.gz,
simple-netaid_0.1.1.orig.tar.bz2,
simple-netaid_0.1.1.orig.tar.lzma, simple-netaid_0.1.1.orig.tar.xz or
simple-netaid-1.orig)
continue anyway? (y/n) n
gbp:error: 'debuild -i -I -tc' failed: it exited with 1
Processing stopped there.
I cannot understand the error as an orig.tar.bz2 file has been supplied.
Edward
On 11/02/2016, aitor_czr <aitor_czr@???> wrote:
> Sorry, some lines were missing:
>
> $ git clonehttps://git.devuan.org/edbarx/netman.git
>
> $ mv netman simple-netaid
>
> $ tar -c simple-netaid | bzip2 > simple-netaid_0.1.1.orig.tar.bz2
>
> $ cd simple-netaid
>
> $ git tag -a 0.1.1 -m 'my_dear_netbarx_sniff'
>
> $ pristine-tar commit ../simple-netaid_0.1.1.orig.tar.bz2 tags/0.1.1
>
> $ git-buildpackage -tc --git-export-dir="../build-area" --git-pristine-tar
> --git-tag --git-ignore-branch
>
>
> You can also create a hidden config .gbp file instead of using arguments
> in the command line.
>
> HTH.
>
> Aitor.
>
>
>