Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-07-17 | abuild-fetch: use local insecure variable | tcely | 1 | -3/+3 | |
2019-07-17 | abuild-fetch: when http:// was used, ignore https:// problems | tcely | 1 | -1/+2 | |
2019-07-17 | abuild-fetch: add -k (insecure as in curl) option | tcely | 1 | -1/+11 | |
2019-04-29 | abuild-fetch: enable curl certificate verification | tcely | 1 | -2/+2 | |
2018-10-03 | move logic of curl's http range error to abuild-fetch | Natanael Copa | 1 | -19/+31 | |
Move the logic of deleting partial downloads to abuild-fetch, which knows if it is curl or wget that was executed. | |||||
2018-10-03 | Fix: incomplete partfile gets renamed to distfile | Oliver Smith | 1 | -13/+23 | |
Abuild-fetch uses curl (fallback to wget) to download files. They are saved with a ".part" extension first, so they can be resumed if necessary. When the download is through, the ".part" extension gets removed. However, when the server does not support resume of downloads (e.g. GitHub's on the fly generated tarballs), then the ".part" extension got removed anyway. Abuild aborts in that case. But when running a third time, the distfile exists and it is assumed that this is the full download. Changes: * abuild-fetch: * Only remove the ".part" extension, when curl/wget exit with 0 * Pass the exit code from curl/wget as exit code of abuild-fetch * Wherever abuild-fetch would return an exit code on its own, the codes have been changed to be > 200 (so they don't collide with curl's as of now 92 exit codes) * Remove undocumented feature of downloading multiple source URLs at a time. This doesn't match with the usage description, was not used in abuild at all and it would have made it impossible to pass the exit code. * abuild: * After downloading, when curl is installed and abuild-fetch has 33 as exit code (curl's HTTP range error), then delete the partfile and try the download again. | |||||
2018-04-11 | Fix a few typos | Jonathan Neuschäfer | 1 | -1/+1 | |
2017-06-21 | abuild-fetch.c: remove saveas- syntax | tmpfile | 1 | -3/+0 | |
2016-05-20 | abuild-fetch: fix -Wformat-security warnings | Natanael Copa | 1 | -3/+3 | |
2016-05-16 | abuild-fetch: retry to create lock on ESTALE | Natanael Copa | 1 | -2/+10 | |
2016-03-10 | abuild-fetch: use _exit after execvp | Natanael Copa | 1 | -1/+1 | |
2015-10-08 | abuild-fetch: add missing header | Andrew Wilcox | 1 | -0/+1 | |
2015-08-26 | abuild: fix fetch lock file on nfs | Natanael Copa | 1 | -0/+194 | |
flock(2) on an NFS mount will on the server side convert the lock to a POSIX lock (fcntl(F_SETLK)). This means that abuild running on NFS server and client will create different locks and they will both try download same file at same time. We fix this by creating a small abuild-fetch application that will create a POSIX lock which works with NFS. |