On 23 August 2013 14:44, Ian Jackson <ijack...@chiark.greenend.org.uk> wrote:
> reopen 720555
> retitle 720555 Want better error for .dsc implying tree containing .git
> thanks
>
> Dmitrijs Ledkovs writes ("Re: Bug#720555: dgit: Cannot push --new"):
>> On 23 August 2013 14:10, Ian Jackson <ijack...@chiark.greenend.org.uk> wrote:
>> > Dmitrijs Ledkovs writes ("Bug#720555: dgit: Cannot push --new"):
>> > If you run
>> >    dpkg-source -x ocaml-estring-20130822-1.dsc
>> > does the output have a .git directory ?  If so then something went
>> > wrong at the build step.
>>
>> my fail, indeed pristine tarball has .git .....
>
> Aha.  JOOI, how did you come to make this mistake, if you used dgit
> sbuild ?   dgit sbuild tries to tell dpkg-source to leave it out.
> Perhaps dgit needs to be cleverer somehow or the docs could be improved.
>
> Certainly the error message could be improved.
>

If one doesn't have an orig tarball, and uses dh_make, it kindly
offers a flag to create an orig tarball, which will include upstream
.git.
Cleverly sbuild will than pass fine, as helpfully "3.0 (quilt)"
ignores any changes to .git/* and the like, so it didn't catch when I
added additional commits on top.
But clearly dgit is smarter than dpkg to notice such fail.

Anywho... I'm now getting this:

$ dgit push --new
canonical suite name for unstable is sid
canonical suite name for unstable is sid
Format `3.0 (quilt)', urgh
checking that ocaml-estring_20130822-1.dsc corresponds to HEAD
dpkg-source: warning: extracting unsigned source package
(../../../../ocaml-estring_20130822-1.dsc)
dpkg-source: info: extracting ocaml-estring in ocaml-estring-20130822
dpkg-source: info: unpacking ocaml-estring_20130822.orig.tar.xz
dpkg-source: info: unpacking ocaml-estring_20130822-1.debian.tar.gz
mkdir: cannot create directory `ocaml-estring.git': Permission denied
ssh: failed command: ssh git.debian.org 'set -e; cd /git/dgit-repos;
mkdir -p ocaml-estring.git; cd ocaml-estring.git; if ! test -d
objects; then git init --bare; fi'
dgit: subprocess failed with error exit status 1

I am a DD.... do I need something extra on alioth?

Regards,

Dmitrijs.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to