Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-21 | setup-apkrepos: add test for fastest mirror (-f) | Natanael Copa | |
2022-11-21 | setup-apkrepos: avoid run interactive with -r|-f|-1 | Natanael Copa | |
Avoid run interactive if the non-interactive modes fails | |||
2022-11-21 | setup-apkrepos: make fastest/first/random options exclusive | Natanael Copa | |
Makes no sense to combine them | |||
2022-11-21 | setup-apkrepos: fix mirror counting | Natanael Copa | |
when piping the mirror list to `more` the mirror_count is set in a subshell and will end up unset. fixes error when selecting random mirror: /sbin/setup-apkrepos: line 31: arithmetic syntax error fixes commit 860b7271232a (APK Repo Setup) | |||
2022-11-06 | always quote vars in 'local' assignment | Jakub Jirutka | |
Some shells may apply word splitting after expanding variable in `local a=$1`. I know just about yash, but since `local` is supposed to be a builtin *command*, the "correct" behaviour of common shells is actually a special case for `local` - it doesn't apply for other commands. See https://osdn.net/projects/yash/ticket/46041. | |||
2022-11-05 | replace 'echo -n' and 'echo -e' with printf | Jakub Jirutka | |
'echo -n' and 'echo -e' are not portable, not all commonly used shells support both of them (in the same way). 'echo -e' is not even defined in POSIX. https://pubs.opengroup.org/onlinepubs/009604599/utilities/echo.html: > New applications are encouraged to use printf instead of echo. > ... > Conforming applications that wish to do prompting without <newline>s > or that could possibly be expecting to echo a -n, should use the > printf utility derived from the Ninth Edition system. | |||
2022-10-17 | APK Repo Setup | Aaron Mason | |
- Paginate mirrors list if it requires more than one screenful to display | |||
2022-07-12 | remove space in community repo comment | Alex Xu (Hello71) | |
consistent with other repos | |||
2022-05-13 | setup-apkrepos: create dir if missing and add mock | Natanael Copa | |
This allows us test it | |||
2022-05-13 | setup-apkrepos: fix -h usage help text | Natanael Copa | |
2022-03-16 | fix PREFIX in *.in | Nick Hanley | |
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts. | |||
2021-11-26 | setup-apkrepos: fix accepting options | Furkan Mustafa | |
`-c` option was (mistakenly?) omitted in `getopts` call. Causing following error; # setup-apkrepos -1 -c Illegal option -c Added mirror dl-cdn.alpinelinux.org Updating repository indexes... done. Tested this change locally and it works as expected. Signed-off-by: Furkan Mustafa <furkan@rainlab.co.jp> | |||
2021-11-16 | setup-apkrepos: simplify enable community | Natanael Copa | |
2021-11-16 | setup-apkrepos: Support enabling community repo | Lukas Bestle | |
2021-11-16 | setup-apkrepos: fix wget retrying 20 times | Artem Zhurikhin | |
2021-01-08 | setup-apkrepos: minor code cleanup | Natanael Copa | |
use `ask` for consistency allow set default answer via env var APKREPOS_DEFAULT_ANSWER | |||
2021-01-06 | setup-apkrepos: fix two digit selection | Natanael Copa | |
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10461 Thanks to Timo Ketola for the fix. | |||
2020-05-28 | setup-apkrepos: try fetching the mirror list repeatedly while prompting | Daniel Lublin | |
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/issues/10446 | |||
2019-12-11 | setup-apkrepos: use cdn as default answer | Natanael Copa | |
use '1', which should be dl-cdn, as the default answer | |||
2018-06-12 | setup-apkrepos: Allow the script to pick a server with 0.00sec download time and | Katie Holly | |
replaced the awk script with tee-sort-head-cut magic | |||
2018-04-11 | setup-apkrepos: fetch mirrors from mirrors.a.o | Carlo Landmeter | |
2018-04-11 | setup-apkrepos: Fix some typos | NHellFire | |
2017-11-30 | setup-apkrepos: prevent adding empty mirror | Natanael Copa | |
fixes #8108 | |||
2017-05-19 | setup-apkrepos: add option to add first mirror on the list | Natanael Copa | |
first in the list is normally a cdn | |||
2017-01-24 | setup-apkrepos: use wget --spider | Natanael Copa | |
the wget -s option was removed in busybox 1.26 https://git.busybox.net/busybox/commit/?id=2972e2c4acb9c46a8cc05c857acac2b3d439bf69 ref #6683 | |||
2016-11-10 | setup-apkrepos: dont reset http_proxy | Natanael Copa | |
it is likely needed if it is set. ref #6219 | |||
2016-11-02 | indent heredocs and replace echos with heredoc where appropriate | Jakub Jirutka | |
2016-11-02 | replace deprecated `...` syntax with $(...) in shell scripts | Jakub Jirutka | |
2016-11-02 | fix mixed tabs & spaces and surplus empty lines at EOF | Jakub Jirutka | |
2016-02-09 | setup-apkrepos: fix typo | Ted Trask | |
2016-02-03 | setup-apkrepos: add community repo to repositories file | Ted Trask | |
2015-12-15 | setup-apkrepos: use wget spider mode to find fastest mirror | Natanael Copa | |
we also try warm up the dns cache before we measure the time | |||
2015-06-16 | setup-apkrepos: fix speed test of mirrors | Natanael Copa | |
Some mirrors error on double / in path. ref #4365 | |||
2015-05-14 | setup-apkrepos: fix excluding faulty mirrors | Natanael Copa | |
This is a fix of commit 3f769dc (setup-apkrepos: exclude faulty mirrors from detection) ref #4017 | |||
2015-04-10 | setup-apkrepos: exclude faulty mirrors from detection | Natanael Copa | |
ref #4017 | |||
2015-04-07 | setup-apkrepos: add -f for just-add-fastest mirror | Natanael Copa | |
fixes #4017 | |||
2014-07-01 | setup-apkrepos: allow specify the repos from cmdline | Natanael Copa | |
ref #2862 | |||
2014-05-29 | setup-apkrepos: fix cleanup | Natanael Copa | |
we need uninstall .setup* | |||
2014-05-27 | setup-apkrepos: force install virtual package | Natanael Copa | |
it is tmpfs and we know it will be removed on reboot. Infact, we want it to be removed on reboot. | |||
2014-04-23 | setup-apkrepos: improve $ROOT support | Natanael Copa | |
2014-04-23 | fix permissions | Natanael Copa | |
2013-07-03 | various: use long-form apk options | Dubiousjim | |
2013-06-11 | setup-apkrepos: add commented edge/main and edge/testing for stable | Natanael Copa | |
2013-06-11 | setup-apkrepos: remove dead code | Natanael Copa | |
we no longer use RELEASES | |||
2013-06-11 | setup-apkrepos: refactor mirror timing | Natanael Copa | |
- use apk update to test the download speed - print the times - use /proc/uptime instead of 'time' | |||
2013-03-01 | main/setup-apkrepos: use edge repo for *_alpha* releases | Natanael Copa | |
2012-05-27 | setup-apkrepos: do not add empty mirrors | Natanael Copa | |
ref #1073 | |||
2011-09-13 | setup-apkrepos: only ask for repository one time | Natanael Copa | |
2011-08-06 | setup-apkrepos: add option to just add random mirror and don't prompt anymore | Jeff Bilyk | |
2011-05-03 | setup-apkrepos: avoid double // in url | Natanael Copa | |