Bug in svn-inject?

View: New views
6 Messages — Rating Filter:   Alert me  

Bug in svn-inject?

by Jonathan Yu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi:

I have an upload script which injects stuff into the pkg-perl
repository. It used to work perfectly, but now it seems broken. In the
end I have to create the upstream branch manually (current + the
version). It's not terrible but is quite a bit annoying.

Here is the output--please let me know if you have an ideas how to fix this--
aven'jon(~/debian/Catalyst-Plugin-Server)> debup
svn-inject -l 2 *.dsc svn+ssh://svn.debian.org/svn/pkg-perl/
To abort, press ^C in the next 3 seconds...
Imported config directives:
        --setprops
Checking if the default $TMPDIR allows execution...
Default $TMPDIR allows execution.
Starting ssh connection..
Use of uninitialized value $upsVersion in concatenation (.) or string
at /usr/bin/svn-inject line 356.
mkdir -p trunk
dpkg-source -x /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl_0.26-1.dsc
gpgv: Signature made Fri 23 Oct 2009 07:36:55 PM EDT using DSA key ID DDE66A2F
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on
/home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl_0.26-1.dsc
dpkg-source: info: extracting libcatalyst-plugin-server-perl in
libcatalyst-plugin-server-perl-0.26
dpkg-source: info: unpacking libcatalyst-plugin-server-perl_0.26-1.tar.gz
mv * libcatalyst-plugin-server-perl
 svn -q import -m [svn-inject] Installing original source of
libcatalyst-plugin-server-perl trunk/libcatalyst-plugin-server-perl
svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libcatalyst-plugin-server-perl
svn import /tmp/tmp.EVWGbvrzs5
svn+ssh://svn.debian.org/svn/pkg-perl/tags -m [svn-inject] Creating
libcatalyst-plugin-server-perl/ directory.
Adding         /tmp/tmp.EVWGbvrzs5/libcatalyst-plugin-server-perl

Committed revision 46288.
Storing trunk copy in
/home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl.
 svn checkout svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libcatalyst-plugin-server-perl
/home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl
<1 more argument>
Done!
Checked out source is in
/home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl
- have fun!
Removing tempdir /tmp/tmp.4aNEDfeH12.
Exit request sent.


--
To UNSUBSCRIBE, email to debian-perl-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Bug in svn-inject?

by Ryan Niebur :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

this was pebkac (sort of...caused by dh-make-perl's regression,
apparently), now figured out.

On Fri, Oct 23, 2009 at 11:32:19PM -0400, Jonathan Yu wrote:

> Hi:
>
> I have an upload script which injects stuff into the pkg-perl
> repository. It used to work perfectly, but now it seems broken. In the
> end I have to create the upstream branch manually (current + the
> version). It's not terrible but is quite a bit annoying.
>
> Here is the output--please let me know if you have an ideas how to fix this--
> aven'jon(~/debian/Catalyst-Plugin-Server)> debup
> svn-inject -l 2 *.dsc svn+ssh://svn.debian.org/svn/pkg-perl/
> To abort, press ^C in the next 3 seconds...
> Imported config directives:
>         --setprops
> Checking if the default $TMPDIR allows execution...
> Default $TMPDIR allows execution.
> Starting ssh connection..
> Use of uninitialized value $upsVersion in concatenation (.) or string
> at /usr/bin/svn-inject line 356.
> mkdir -p trunk
> dpkg-source -x /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl_0.26-1.dsc
> gpgv: Signature made Fri 23 Oct 2009 07:36:55 PM EDT using DSA key ID DDE66A2F
> gpgv: Can't check signature: public key not found
> dpkg-source: warning: failed to verify signature on
> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl_0.26-1.dsc
> dpkg-source: info: extracting libcatalyst-plugin-server-perl in
> libcatalyst-plugin-server-perl-0.26
> dpkg-source: info: unpacking libcatalyst-plugin-server-perl_0.26-1.tar.gz
> mv * libcatalyst-plugin-server-perl
>  svn -q import -m [svn-inject] Installing original source of
> libcatalyst-plugin-server-perl trunk/libcatalyst-plugin-server-perl
> svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libcatalyst-plugin-server-perl
> svn import /tmp/tmp.EVWGbvrzs5
> svn+ssh://svn.debian.org/svn/pkg-perl/tags -m [svn-inject] Creating
> libcatalyst-plugin-server-perl/ directory.
> Adding         /tmp/tmp.EVWGbvrzs5/libcatalyst-plugin-server-perl
>
> Committed revision 46288.
> Storing trunk copy in
> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl.
>  svn checkout svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libcatalyst-plugin-server-perl
> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl
> <1 more argument>
> Done!
> Checked out source is in
> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl
> - have fun!
> Removing tempdir /tmp/tmp.4aNEDfeH12.
> Exit request sent.
>
>
> --
> To UNSUBSCRIBE, email to debian-perl-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>
--
_________________________
Ryan Niebur
ryanryan52@...


signature.asc (204 bytes) Download Attachment

Re: Bug in svn-inject?

by Jonathan Yu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For anyone having a similar issue, please note this was occurring due
to dh-make-perl's recent regression, which failed to copy
build-related stuff into your homedir. This meant that the
.orig.tar.gz was missing, causing svn-inject to erroneously believe
that we were uploading a native package (hence, no upstream branches
were created in SVN).

The current solution (in the interim before a new dh-make-perl is
uploaded) is to just run uscan --force-download first, which will
download a tarball so svn-inject will find it and consider it a
non-native package.

Thanks to Ryan52 for helping me figure it out, and fix an unrelated
bug (some bug output which didn't amount to anything).

On Mon, Oct 26, 2009 at 7:59 PM, Ryan Niebur <ryanryan52@...> wrote:

> this was pebkac (sort of...caused by dh-make-perl's regression,
> apparently), now figured out.
>
> On Fri, Oct 23, 2009 at 11:32:19PM -0400, Jonathan Yu wrote:
>> Hi:
>>
>> I have an upload script which injects stuff into the pkg-perl
>> repository. It used to work perfectly, but now it seems broken. In the
>> end I have to create the upstream branch manually (current + the
>> version). It's not terrible but is quite a bit annoying.
>>
>> Here is the output--please let me know if you have an ideas how to fix this--
>> aven'jon(~/debian/Catalyst-Plugin-Server)> debup
>> svn-inject -l 2 *.dsc svn+ssh://svn.debian.org/svn/pkg-perl/
>> To abort, press ^C in the next 3 seconds...
>> Imported config directives:
>>         --setprops
>> Checking if the default $TMPDIR allows execution...
>> Default $TMPDIR allows execution.
>> Starting ssh connection..
>> Use of uninitialized value $upsVersion in concatenation (.) or string
>> at /usr/bin/svn-inject line 356.
>> mkdir -p trunk
>> dpkg-source -x /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl_0.26-1.dsc
>> gpgv: Signature made Fri 23 Oct 2009 07:36:55 PM EDT using DSA key ID DDE66A2F
>> gpgv: Can't check signature: public key not found
>> dpkg-source: warning: failed to verify signature on
>> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl_0.26-1.dsc
>> dpkg-source: info: extracting libcatalyst-plugin-server-perl in
>> libcatalyst-plugin-server-perl-0.26
>> dpkg-source: info: unpacking libcatalyst-plugin-server-perl_0.26-1.tar.gz
>> mv * libcatalyst-plugin-server-perl
>>  svn -q import -m [svn-inject] Installing original source of
>> libcatalyst-plugin-server-perl trunk/libcatalyst-plugin-server-perl
>> svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libcatalyst-plugin-server-perl
>> svn import /tmp/tmp.EVWGbvrzs5
>> svn+ssh://svn.debian.org/svn/pkg-perl/tags -m [svn-inject] Creating
>> libcatalyst-plugin-server-perl/ directory.
>> Adding         /tmp/tmp.EVWGbvrzs5/libcatalyst-plugin-server-perl
>>
>> Committed revision 46288.
>> Storing trunk copy in
>> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl.
>>  svn checkout svn+ssh://svn.debian.org/svn/pkg-perl/trunk/libcatalyst-plugin-server-perl
>> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl
>> <1 more argument>
>> Done!
>> Checked out source is in
>> /home/jon/debian/Catalyst-Plugin-Server/libcatalyst-plugin-server-perl
>> - have fun!
>> Removing tempdir /tmp/tmp.4aNEDfeH12.
>> Exit request sent.
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-perl-REQUEST@...
>> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>>
>
> --
> _________________________
> Ryan Niebur
> ryanryan52@...
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkrmN9sACgkQMihv+PacasVSDACfRNWbNl8/bwL+JTh3uqGG0i3E
> UBEAoNJAKjXauxiswtNMQOBTflHw6T17
> =xzmE
> -----END PGP SIGNATURE-----
>
>


--
To UNSUBSCRIBE, email to debian-perl-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Bug in svn-inject?

by Damyan Ivanov-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-=| Jonathan Yu, Mon, Oct 26, 2009 at 08:04:27PM -0400 |=-

> For anyone having a similar issue, please note this was occurring due
> to dh-make-perl's recent regression, which failed to copy
> build-related stuff into your homedir. This meant that the
> .orig.tar.gz was missing, causing svn-inject to erroneously believe
> that we were uploading a native package (hence, no upstream branches
> were created in SVN).
>
> The current solution (in the interim before a new dh-make-perl is
> uploaded) is to just run uscan --force-download first, which will
> download a tarball so svn-inject will find it and consider it a
> non-native package.
Or just use mv and put the tarball where you want it with the name you
need it.

If you want it fixed in dh-make-perl, please be more elaborate,
preferably in a bug report. Please mention which version worked OK for
you and which one is broken.

--
dam


signature.asc (205 bytes) Download Attachment

Re: Bug in svn-inject?

by gregor herrmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 27 Oct 2009 10:13:46 +0200, Damyan Ivanov wrote:

> > For anyone having a similar issue, please note this was occurring due
> > to dh-make-perl's recent regression,

The regression is actually either in CPAN.pm or something else in
perl 5.10.1 (I guess), where $ENV{'PWD'} gets changed.

> If you want it fixed in dh-make-perl, please be more elaborate,
> preferably in a bug report. Please mention which version worked OK for
> you and which one is broken.

I've already fixed it in dh-make-perl's svn version but wanted to
wait for someone to test it before I do an upload ... But obviously
(1) I should have asked more explicitly for tests and/or (2) there
are not many people who like to run dh-make-perl from trunk :)

Cheers,
gregor
--
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    BOFH excuse #153:  Big to little endian conversion error


signature.asc (205 bytes) Download Attachment

Re: Bug in svn-inject?

by Damyan Ivanov-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-=| gregor herrmann, Tue, Oct 27, 2009 at 12:25:55PM +0100 |=-
> I've already fixed it in dh-make-perl's svn version but wanted to
> wait for someone to test it before I do an upload ... But obviously
> (1) I should have asked more explicitly for tests and/or (2) there
> are not many people who like to run dh-make-perl from trunk :)

... which is an easy way to help with dh-make-perl development. We try
hard to keep the version in trunk in an usable state all the time.

-----------8<-------------
#!/bin/sh
DEV=~/work/pkg-perl/trunk/dh-make-perl  # or whatever
PERL5LIB=$DEV/lib $DEV/dh-make-perl "$@"
-----------8<-------------

--
dam


signature.asc (205 bytes) Download Attachment