Skip to content

pkg-infra: differentiate remote and local tarball filenames (branch yem/download)

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/4] pkg-infra: differentiate remote and local tarball filenames (branch yem/download)

Thomas, All,

On 2014-11-18 22:03 +0100, Thomas Petazzoni spake thusly:

Quoted 14 lines

Dear Arnout Vandecappelle,

Quoted 4 lines · Arnout Vandecappelle

I think there are two reasons for the split:

1. _SOURCE can be dropped if it is <pkg>-<version>.tar.gz - this would be difficult if we only had _SITE.

True. But on the other hand, the fact that we use <pkg>-<version>.tar.gz by default has always confused newcomers a bit, and with .tar.xz becoming more and more adopted, having .tar.gz as the default is less obvious than it used to be.

Quoted 5 lines
Quoted 1 line

2. _PATH and _EXTRA_DOWNLOAD don't need to specify the full URL.

Well, yes, but that's specifically the issue I raised: since you don't specify the full URL, there's no way for the package to download patches or other stuff from other places than <pkg>_SITE.

Well, I still find the split worthwhile.

Still, we could allow FOO_EXTRA_DOWNLOADS and FOO_PATCH to be fully-qualified URIs. If they are not, prepend FOO_SITE to generate a full URI.

Yes, I am writing a package that will download most of its files via _EXTRA_DOWNLOADS (don't ask why, upstream is not doing release tarballs for that component), and it would be *very* cumbersome to repeat the _SITE for all of those files.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'