For discussion of Alpine Linux development and developer support

1

[alpine-devel] [Proposal] Make abuild error and exit if url is invalid

Alba Pompeo
Details
Message ID
<CAJDAfTDaKmOG3+xxc-c79Om-UX69RUmFVKGr0BChfrn4xCKM2g@mail.gmail.com>
Sender timestamp
1521293981
DKIM signature
missing
Download raw message
I propose abuild tries to ping the given url and if it's invalid it
gives an error.
This would help a lot to prevent wrong urls.

Example where it would have been helpful -
https://github.com/alpinelinux/aports/blob/master/testing/tcc/APKBUILD#L8

What everyone think?


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
A. Wilcox
Details
Message ID
<1e2bb2b7-a574-7f26-9186-16d1c8c36887@adelielinux.org>
In-Reply-To
<CAJDAfTDaKmOG3+xxc-c79Om-UX69RUmFVKGr0BChfrn4xCKM2g@mail.gmail.com> (view parent)
Sender timestamp
1521320525
DKIM signature
missing
Download raw message
On 03/17/18 08:39, Alba Pompeo wrote:
> I propose abuild tries to ping the given url and if it's invalid it
> gives an error.
> This would help a lot to prevent wrong urls.
> 
> Example where it would have been helpful -
> https://github.com/alpinelinux/aports/blob/master/testing/tcc/APKBUILD#L8
> 
> What everyone think?


This is the job of a linter, not abuild proper.

--arw

-- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
http://adelielinux.org