Hi,
I found that:
git-buildpackage --git-upstream-tree=0.1.1
does create two .deb packages but the git-buildpackage as described
earlier in this thread fails.
This also fails:
git-buildpackage --git-upstream-tree=0.1.1 --git-export-dir=../netman_pkg_build
gbp:error: 0.1.1 is not a valid treeish
It seems the cause of the error is ../netman_pkg_build being an empty
directory. Maybe, I need to create some skeleton directory in there,
but what?
Edward
On 22/12/2015, Edward Bartolo <edbarx@???> wrote:
> Hi,
>
> Having git-buildpackage failing I resorted to using dpkg-buildpackage
> promptly build the netman packages. Then, I cleaned the sources using
> make -C . clean
>
> Edward
>
> On 22/12/2015, Edward Bartolo <edbarx@???> wrote:
>> Hi,
>>
>> This is git-buildpackage with --git-verbose.
>>
>> edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$ git-buildpackage
>> --git-export-dir=../netman_pkg_build --git-ignore-new --git-verbose
>> gbp:debug: ['git', 'rev-parse', '--show-cdup']
>> gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
>> gbp:debug: /bin/true [] []
>> gbp:debug: ['git', 'symbolic-ref', 'HEAD']
>> gbp:debug: ['git', 'show-ref', 'refs/heads/master']
>> gbp:debug: ['git', 'ls-tree', 'HEAD']
>> gbp:debug: ['git', 'show', '--pretty=medium',
>> 'HEAD:debian/source/format']
>> gbp:debug: ['git', 'show', '--pretty=medium', 'HEAD:debian/changelog']
>> gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar']
>> gbp:debug: ['git', 'ls-tree', 'upstream/0.1.1']
>> gbp:error: upstream/0.1.1 is not a valid treeish
>>
>> Edward
>>
>> On 22/12/2015, Edward Bartolo <edbarx@???> wrote:
>>> Hi All,
>>>
>>> By hook and by crook I have 'git pushed' my netman with Rainer's patch.
>>>
>>> My current objective is to successive build packages using git instead
>>> of dpkg-buildpackages as suggested by various helpful volunteers on
>>> this mailing list. I am using the command in the netman root
>>> directory:
>>>
>>> edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$ git-buildpackage
>>> --git-export-dir=../netman_pkg_build --git-ignore-new
>>>
>>> git-buildpackage is rejecting to do what I tell it saying:
>>> gbp:error: upstream/0.1.1 is not a valid treeish
>>>
>>> I searched on google this error message and found on
>>> http://unix.stackexchange.com/questions that the debian/ subdirectory
>>> may be missing, but netman debian directory is there.
>>>
>>> Netman's tree:
>>>
>>> edbarx@edbarx-pc:~/netman_from_backup_08.12.2015$ tree
>>> .
>>> ├── backend.pas
>>> ├── backend_src
>>> │ ├── bin
>>> │ ├── include
>>> │ │ ├── automated_scanner.h
>>> │ │ ├── backend.h
>>> │ │ ├── caller.h
>>> │ │ ├── core_functions.h
>>> │ │ ├── essid_encoder.h
>>> │ │ ├── file_functions.h
>>> │ │ └── paths.h
>>> │ ├── Makefile
>>> │ ├── obj
>>> │ ├── README.md
>>> │ └── src
>>> │ ├── automated_scanner.c
>>> │ ├── backend
>>> │ ├── backend.c
>>> │ ├── caller.c
>>> │ ├── core_functions.c
>>> │ ├── essid_encoder.c
>>> │ └── file_functions.c
>>> ├── backup
>>> ├── common_functions.pas
>>> ├── connect_info.lfm
>>> ├── connect_info.pas
>>> ├── debian
>>> │ ├── changelog
>>> │ ├── compat
>>> │ ├── control
>>> │ ├── copyright
>>> │ ├── docs
>>> │ ├── files
>>> │ ├── netman-backend
>>> │ │ ├── DEBIAN
>>> │ │ │ ├── control
>>> │ │ │ ├── md5sums
>>> │ │ │ └── postinst
>>> │ │ └── usr
>>> │ │ ├── lib
>>> │ │ │ └── netman
>>> │ │ │ └── bin
>>> │ │ │ └── backend
>>> │ │ └── share
>>> │ │ └── doc
>>> │ │ └── netman-backend
>>> │ │ ├── changelog.Debian.gz
>>> │ │ └── copyright
>>> │ ├── netman-backend.debhelper.log
>>> │ ├── netman-backend.install
>>> │ ├── netman-backend.postinst
>>> │ ├── netman-backend.substvars
>>> │ ├── netman-gui
>>> │ │ ├── DEBIAN
>>> │ │ │ ├── control
>>> │ │ │ ├── md5sums
>>> │ │ │ └── postinst
>>> │ │ └── usr
>>> │ │ ├── bin
>>> │ │ │ └── netman
>>> │ │ └── share
>>> │ │ ├── applications
>>> │ │ │ └── netman.desktop
>>> │ │ ├── doc
>>> │ │ │ └── netman-gui
>>> │ │ │ ├── changelog.Debian.gz
>>> │ │ │ ├── copyright
>>> │ │ │ ├── README.Debian
>>> │ │ │ └── README.gz
>>> │ │ └── pixmaps
>>> │ │ └── netman.ico
>>> │ ├── netman-gui.debhelper.log
>>> │ ├── netman-gui.install
>>> │ ├── netman-gui.postinst
>>> │ ├── netman-gui.substvars
>>> │ ├── netman.substvars
>>> │ ├── patches
>>> │ │ ├── rainer-autor-20.12.2015.patch
>>> │ │ └── series
>>> │ ├── README.Debian
>>> │ ├── README.source
>>> │ ├── rules
>>> │ ├── source
>>> │ │ ├── format
>>> │ │ └── include-binaries
>>> │ └── tmp
>>> │ ├── backend
>>> │ ├── netman
>>> │ ├── netman.desktop
>>> │ └── netman.ico
>>> ├── formeditconnectprops.lfm
>>> ├── formeditconnectprops.pas
>>> ├── helpwndu.lfm
>>> ├── helpwndu.pas
>>> ├── lib
>>> │ └── x86_64-linux
>>> ├── LICENSE
>>> ├── mainform.lfm
>>> ├── mainform.pas
>>> ├── Makefile
>>> ├── netman.desktop
>>> ├── netman.ico
>>> ├── netman_icons.lrs
>>> ├── netman.lpi
>>> ├── netman.lpr
>>> ├── netman.lps
>>> ├── netman.res
>>> ├── network-transmit-receive.ico
>>> ├── network-wired-disconnected.ico
>>> └── README
>>>
>>> 30 directories, 80 files
>>>
>>
>