Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] inject local rpm data for buildinfo calculation
  • From: Marcus Hüwe <suse-tux@xxxxxx>
  • Date: Wed, 25 Feb 2009 17:52:38 +0100
  • Message-id: <20090225165238.GC3165@xxxxxxxxxxxxxxxxxxx>
On 2009-02-25 17:28:09 +0100, Michael Schroeder wrote:
On Wed, Feb 25, 2009 at 05:24:58PM +0100, Marcus Hüwe wrote:
Now we can easily check if $fn starts with 070701. The only problem with
approach is that we would need to outsource parts from
into a more "generic" method (basically we only need to pass a ref to method
which reads the data (either from a file or from a socket)).

Or is there an easy way which I didn't found?:)

Hah, see my commit a couple of hours ago. You can now do:

Ah I would have needed it before sunday in order to save some time:)

open(F, '<', $cpiofile) || die("$cpiofile: $!\n");
my $uploaded = BSHTTP::cpio_receiver(BSHTTP::fd2hdr(\*F), {'directory' =>
close F;

Awesome! Thanks!
I'll incorporate all your suggestions and post a new patch afterwards.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >