<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/download.mk, branch v19.07.2</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v19.07.2</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v19.07.2'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-11-23T12:36:28Z</updated>
<entry>
<title>build: add PKG_SOURCE_URL_FILE support</title>
<updated>2019-11-23T12:36:28Z</updated>
<author>
<name>Kamil Wcislo</name>
</author>
<published>2018-07-05T19:40:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=15ce616c2de797259cc125f1ece5f2358ea4bd5a'/>
<id>urn:sha1:15ce616c2de797259cc125f1ece5f2358ea4bd5a</id>
<content type='text'>
It seems that there is a missing PKG_SOURCE_URL_FILE support.
This little fix adds the support for packages to change the name of the
downloaded file.

Sometimes it is desirable to change the downloaded archive file name, like
for mitigating name conflicts for different packages (some files on the server
could be named like, e.g. 2018-01-01.tar.gz) or for the cases that there is
no name for the file in the URL (e.g. http://someserver.com/download).

Signed-off-by: Kamil Wcislo &lt;kamil.wcislo@lpnplant.io&gt;
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
(cherry picked from commit 09c428ec6bca27bdb31e2f6fef85b07787cead30)
</content>
</entry>
<entry>
<title>build: remove sgid permission from tar</title>
<updated>2019-04-06T17:14:06Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2019-03-28T16:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8252511dc0b5a71e9e64b96f233a27ad73e28b7f'/>
<id>urn:sha1:8252511dc0b5a71e9e64b96f233a27ad73e28b7f</id>
<content type='text'>
Otherwise tar will keep the sgid bit when running
from a sgid-set directory, resulting in a different
file being generated.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
[reworked commit message, removed DMARC]
</content>
</entry>
<entry>
<title>download.mk: enable DownloadMethod/github_archive</title>
<updated>2018-07-04T17:30:57Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-06-29T06:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=9009efa18b45b4b573111fafa777f7b642486e3e'/>
<id>urn:sha1:9009efa18b45b4b573111fafa777f7b642486e3e</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/dl_github_archive.py: rename from download.py</title>
<updated>2018-07-04T17:30:57Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-06-28T10:27:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=04b9f8587370f96366c6e53fb411473279ba7c02'/>
<id>urn:sha1:04b9f8587370f96366c6e53fb411473279ba7c02</id>
<content type='text'>
 - Make the code more GitHub-specific
 - Requires mirror hash to work with .gitattributes
 - Use different API depending on whether PKG_SOURCE_VERSION is a
   complete commit id or other ref types like tags
 - Fix removing symbolic link
 - pre-clean dir_untar for possible leftovers from previous run

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>download.mk: add more comments</title>
<updated>2018-07-04T17:30:57Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-07-03T08:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e48ea13b3bac5393d6400156ddb066ec5de2ea4e'/>
<id>urn:sha1:e48ea13b3bac5393d6400156ddb066ec5de2ea4e</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>download.mk: restore the old dl_method implementation</title>
<updated>2018-06-29T05:54:17Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-06-29T05:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=e15565a01cea6a61c537f5fb91c4e4d27fb7b290'/>
<id>urn:sha1:e15565a01cea6a61c537f5fb91c4e4d27fb7b290</id>
<content type='text'>
Seems like the python download.py dl_method call causes serious
performance regression for fresh "make defconfig" as reported in
FS#1621.  GitHub tarball download will also be disabled with this

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: download code from github using archive API</title>
<updated>2018-06-27T02:51:27Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-02-11T09:42:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=75ab064d2b38e70746af1718ed7cdbafb906249e'/>
<id>urn:sha1:75ab064d2b38e70746af1718ed7cdbafb906249e</id>
<content type='text'>
A new python script scripts/download.py is added to fetch tarballs using
GitHub archive API [1], then repack in a reproducible way same as the
current DownloadMethod/git

GitHub imposes a 60 reqs/hour rate limit on unauthenticated API
access[2].  This affects fetching commit date for feeding tar --mtime=
argument.  However, observation indicates that archive download is NOT
subject to this limit at the moment.  In the rare cases where download
fails because of this, we will falback to using DownloadMethod/git

The missing piece in the GitHub API is that it cannot provide in the
tarball dependent submodules's source code.  In that case, the
implementation will also fallback to using DownloadMethod/git

 [1] Get archive link, https://developer.github.com/v3/repos/contents/#get-archive-link
 [2] Rate limiting, https://developer.github.com/v3/#rate-limiting

v2 &lt;- v1:

 - allow passing multiple urls with --urls argument
 - add commit ts cache.  can be helpful on retry

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>downloads.mk: introduce name-agnostic PROJECT_GIT variable</title>
<updated>2018-01-10T20:27:31Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-01-05T09:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=4700544e4068cb72932148ac1ecd294ca1388671'/>
<id>urn:sha1:4700544e4068cb72932148ac1ecd294ca1388671</id>
<content type='text'>
Introduce a name-agnostic PROJECT_GIT variable poiting to
https://git.openwrt.org/ and declare LEDE_GIT and OPENWRT_GIT
as aliases to it.

After some transition time we can drop this alias variables.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: remove @ as it's causing an error</title>
<updated>2017-09-20T06:50:49Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2017-09-19T21:17:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=76ba01a39216b8460846808b2fc10d5ee230a324'/>
<id>urn:sha1:76ba01a39216b8460846808b2fc10d5ee230a324</id>
<content type='text'>
Since $(DownloadMethod/unknown) is being invoked in the expansion of
$(call locked ...) anyway, you can't have an @ because the shell
doesn't know what to do with it.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>build: let make check warn about use of legacy PKG_MD5SUM variable in feeds</title>
<updated>2017-01-13T09:23:43Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-01-12T14:18:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=5919cc2dc4a76026eb88379c38bab61aff1b5b77'/>
<id>urn:sha1:5919cc2dc4a76026eb88379c38bab61aff1b5b77</id>
<content type='text'>
The variable rename change has been merged in OpenWrt now, so it's
possible to convert the feeds as well.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
