Mailinglist Archive: opensuse-factory (551 mails)

< Previous Next >
Re: [opensuse-factory] RFC: forbid _service files
Am Mittwoch, 4. Mai 2011 schrieb Brian K. White:
On 5/4/2011 4:13 AM, Stephan Kulow wrote:
Am Dienstag, 3. Mai 2011 schrieb Brian K. White:
Does everything actually have a valid url that goes to an archive?
Some things just have web sites where the download link is a cgi,
sometimes a poorly written cgi, and no direct simple link to the actual
archive is offered, and trying to wget/curl the url doesn't work or
doesn't work as desired.

Those don't use _service files atm either. So there is no change.

Greetings, Stephan

The point was that you suggested making the source url comment important
instead of just a comment.

I put whatever I can in the source url comment (in spec files) that will
point the way to how to get the upstream source, and there is always
_something_ I can put there, but it is not always something that can be
automated, or that should be considered any more authoritative than the
locally hosted copy, for instance, the debian or redhat version of a
package that no longer has any official upstream source, or a known
broken link that was the last known location and that's better than
forgetting the info, or a wayback machine link, etc.


Those and other possible things that might appear in the source url
comment are not usable for automated download or verify, and sometimes
there is no better thing to put there. So making that comment important
is not sensible to me, at least not without making it
voluntary/optional, where it's only invoked by putting a special string
in there, or less-good, disabled by putting a special string in there.
It has to be correct at the moment when you submit it. If it can't be correct
for reasons given by you, then don't put them in the Source: url but in a
comment. If it turns broken at some later point, it's of course out of your
control, but that doesn't mean you should write bogus URIs in spec files
just because you can.

Greetings, Stephan
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >