pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/37946: pbulk: notification e-mail is sent before log/packages are uploaded
The following reply was made to PR pkg/37946; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/37946: pbulk: notification e-mail is sent before log/packages
are uploaded
Date: Sun, 03 Feb 2008 23:04:57 +0200
> The following reply was made to PR pkg/37946; it has been noted by GNATS.
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/37946: pbulk: notification e-mail is sent before
> log/packages are uploaded
> Date: Sun, 3 Feb 2008 21:41:15 +0100
> On Sun, Feb 03, 2008 at 08:45:04PM +0000, Aleksey Cheusov wrote:
>> > Well, sending the mail before uploading the binaries will definitely
>> > stay.
>>
>> You can split uploading into two independent stages. One stage for
>> uploading logs and another for uploading packages. Then the user will
>> be able to swap them as he wants by swapping lines
>>
>> ${script_phase_upload_logs}
>> ${script_phase_upload_pkgs}
>> ${script_phase_report}
>
> That would actually require three phases as the data for the mail and
> the uplaod is generated from one script. I don't think this is really
> justified complexity though.
Ok. More details.
${script_phase_upload_and_report}
where
script_phase_upload_and_report variable is set in pbulk.conf
to "$script_phase_upload_logs; $script_phase_report; $script_phase_upload_pkgs"
by default.
--
Best regards, Aleksey Cheusov.
Home |
Main Index |
Thread Index |
Old Index