3 2

[alpine-devel] deleting main/abuild: Patch to delete sources with bad md5sum

Natanael Copa
Details
Message ID
<20110305092137.47a2830d@alpinelinux.org>
Sender timestamp
1299316897
DKIM signature
missing
Download raw message
Hi,

I am deleting the patch added with aports
f6e1791e9c37fb946bcfd6b685b12f5cda5ef7bf

I do it because that will delete *all* sources for the package if any
file have bad md5sum. For example, if I work on a gcc patch, edit the
patch, and run abuild, it will fail on the md5sum check (because i
forgot to abuild checksum first). This results that all gcc sources
gets deleted and needs to be downloaded again (~50M).

I'm not against the idea of deleting files that fails on md5check, but
it should only delete the file(s) that fails. Not all.

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Ted Trask
Details
Message ID
<632671.32228.qm@web130123.mail.mud.yahoo.com>
In-Reply-To
<20110305092137.47a2830d@alpinelinux.org> (view parent)
Sender timestamp
1299338992
DKIM signature
missing
Download raw message
That's fine by me. I never claimed to know what I was doing, but the patch saved 
me when you were gone. :)

I still think it's a good idea to delete packages that downloaded with errors, 
especially for the build server. Unless you want to give access to the build 
servers to all of us developers. Or promise to never go on vacation again. :)

Ted


----- Original Message ----
From: Natanael Copa <ncopa@alpinelinux.org>
To: alpine-devel@lists.alpinelinux.org; Ted Trask <ttrask01@yahoo.com>
Sent: Sat, March 5, 2011 4:21:37 AM
Subject: [alpine-devel] deleting main/abuild: Patch to delete sources with bad 
md5sum

Hi,

I am deleting the patch added with aports
f6e1791e9c37fb946bcfd6b685b12f5cda5ef7bf

I do it because that will delete *all* sources for the package if any
file have bad md5sum. For example, if I work on a gcc patch, edit the
patch, and run abuild, it will fail on the md5sum check (because i
forgot to abuild checksum first). This results that all gcc sources
gets deleted and needs to be downloaded again (~50M).

I'm not against the idea of deleting files that fails on md5check, but
it should only delete the file(s) that fails. Not all.

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:        alpine-devel+help@lists.alpinelinux.org
---


      


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Jeremy Thomerson
Details
Message ID
<AANLkTikJHr=CO0gN42WEZGDjnng05kmoLTe-b0UM9khz@mail.gmail.com>
In-Reply-To
<632671.32228.qm@web130123.mail.mud.yahoo.com> (view parent)
Sender timestamp
1301104030
DKIM signature
missing
Download raw message
I was going to take a look at this patch and see if I could fix it up to
work as described, but didn't find it in the abuild git repo.  Am I just
missing it?

Jeremy Thomerson

On Sat, Mar 5, 2011 at 10:29 AM, Ted Trask <ttrask01@yahoo.com> wrote:

> That's fine by me. I never claimed to know what I was doing, but the patch
> saved
> me when you were gone. :)
>
> I still think it's a good idea to delete packages that downloaded with
> errors,
> especially for the build server. Unless you want to give access to the
> build
> servers to all of us developers. Or promise to never go on vacation again.
> :)
>
> Ted
>
>
> ----- Original Message ----
> From: Natanael Copa <ncopa@alpinelinux.org>
> To: alpine-devel@lists.alpinelinux.org; Ted Trask <ttrask01@yahoo.com>
> Sent: Sat, March 5, 2011 4:21:37 AM
> Subject: [alpine-devel] deleting main/abuild: Patch to delete sources with
> bad
> md5sum
>
> Hi,
>
> I am deleting the patch added with aports
> f6e1791e9c37fb946bcfd6b685b12f5cda5ef7bf
>
> I do it because that will delete *all* sources for the package if any
> file have bad md5sum. For example, if I work on a gcc patch, edit the
> patch, and run abuild, it will fail on the md5sum check (because i
> forgot to abuild checksum first). This results that all gcc sources
> gets deleted and needs to be downloaded again (~50M).
>
> I'm not against the idea of deleting files that fails on md5check, but
> it should only delete the file(s) that fails. Not all.
>
> -nc
>
>
> ---
> Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
> Help:        alpine-devel+help@lists.alpinelinux.org
> ---
>
>
>
>
>
> ---
> Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
> Help:         alpine-devel+help@lists.alpinelinux.org
> ---
>
>
Jeremy Thomerson
Details
Message ID
<AANLkTimgdDehKJesTYWox1y=H-xn9fqpqSkTFpi5yqWL@mail.gmail.com>
In-Reply-To
<AANLkTikJHr=CO0gN42WEZGDjnng05kmoLTe-b0UM9khz@mail.gmail.com> (view parent)
Sender timestamp
1301110277
DKIM signature
missing
Download raw message
Well, I took a stab at it.  Patch email was sent separately.  See if that's
what you were looking for.  It's not a really elegant solution, but it seems
to work.  Let me know what you think (you can reply directly to the patch
thread).

Jeremy Thomerson

On Fri, Mar 25, 2011 at 9:47 PM, Jeremy Thomerson <
jeremy@thomersonfamily.com> wrote:

> I was going to take a look at this patch and see if I could fix it up to
> work as described, but didn't find it in the abuild git repo.  Am I just
> missing it?
>
> Jeremy Thomerson
>
>
> On Sat, Mar 5, 2011 at 10:29 AM, Ted Trask <ttrask01@yahoo.com> wrote:
>
>> That's fine by me. I never claimed to know what I was doing, but the patch
>> saved
>> me when you were gone. :)
>>
>> I still think it's a good idea to delete packages that downloaded with
>> errors,
>> especially for the build server. Unless you want to give access to the
>> build
>> servers to all of us developers. Or promise to never go on vacation again.
>> :)
>>
>> Ted
>>
>>
>> ----- Original Message ----
>> From: Natanael Copa <ncopa@alpinelinux.org>
>> To: alpine-devel@lists.alpinelinux.org; Ted Trask <ttrask01@yahoo.com>
>> Sent: Sat, March 5, 2011 4:21:37 AM
>> Subject: [alpine-devel] deleting main/abuild: Patch to delete sources with
>> bad
>> md5sum
>>
>> Hi,
>>
>> I am deleting the patch added with aports
>> f6e1791e9c37fb946bcfd6b685b12f5cda5ef7bf
>>
>> I do it because that will delete *all* sources for the package if any
>> file have bad md5sum. For example, if I work on a gcc patch, edit the
>> patch, and run abuild, it will fail on the md5sum check (because i
>> forgot to abuild checksum first). This results that all gcc sources
>> gets deleted and needs to be downloaded again (~50M).
>>
>> I'm not against the idea of deleting files that fails on md5check, but
>> it should only delete the file(s) that fails. Not all.
>>
>> -nc
>>
>>
>> ---
>> Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
>> Help:        alpine-devel+help@lists.alpinelinux.org
>> ---
>>
>>
>>
>>
>>
>> ---
>> Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
>> Help:         alpine-devel+help@lists.alpinelinux.org
>> ---
>>
>>
>