Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | setup-apkrepos: try fetching the mirror list repeatedly while promptingHEADmaster | Daniel Lublin | 2020-04-16 | 1 | -0/+4 |
| | | | | fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/issues/10446 | ||||
* | setup-apkrepos: use cdn as default answer | Natanael Copa | 2019-12-11 | 1 | -1/+1 |
| | | | | use '1', which should be dl-cdn, as the default answer | ||||
* | setup-apkrepos: Allow the script to pick a server with 0.00sec download time and | Katie Holly | 2018-06-12 | 1 | -13/+1 |
| | | | | replaced the awk script with tee-sort-head-cut magic | ||||
* | setup-apkrepos: fetch mirrors from mirrors.a.o | Carlo Landmeter | 2018-04-11 | 1 | -15/+3 |
| | |||||
* | setup-apkrepos: Fix some typos | NHellFire | 2018-04-11 | 1 | -1/+1 |
| | |||||
* | setup-apkrepos: prevent adding empty mirror | Natanael Copa | 2017-11-30 | 1 | -0/+4 |
| | | | | fixes #8108 | ||||
* | setup-apkrepos: add option to add first mirror on the list | Natanael Copa | 2017-05-19 | 1 | -7/+16 |
| | | | | first in the list is normally a cdn | ||||
* | setup-apkrepos: use wget --spider | Natanael Copa | 2017-01-24 | 1 | -1/+1 |
| | | | | | | | the wget -s option was removed in busybox 1.26 https://git.busybox.net/busybox/commit/?id=2972e2c4acb9c46a8cc05c857acac2b3d439bf69 ref #6683 | ||||
* | setup-apkrepos: dont reset http_proxy | Natanael Copa | 2016-11-10 | 1 | -1/+0 |
| | | | | | | it is likely needed if it is set. ref #6219 | ||||
* | indent heredocs and replace echos with heredoc where appropriate | Jakub Jirutka | 2016-11-02 | 1 | -12/+14 |
| | |||||
* | replace deprecated `...` syntax with $(...) in shell scripts | Jakub Jirutka | 2016-11-02 | 1 | -2/+2 |
| | |||||
* | fix mixed tabs & spaces and surplus empty lines at EOF | Jakub Jirutka | 2016-11-02 | 1 | -5/+5 |
| | |||||
* | setup-apkrepos: fix typo | Ted Trask | 2016-02-09 | 1 | -1/+1 |
| | |||||
* | setup-apkrepos: add community repo to repositories file | Ted Trask | 2016-02-03 | 1 | -0/+2 |
| | |||||
* | setup-apkrepos: use wget spider mode to find fastest mirror | Natanael Copa | 2015-12-15 | 1 | -3/+5 |
| | | | | we also try warm up the dns cache before we measure the time | ||||
* | setup-apkrepos: fix speed test of mirrors | Natanael Copa | 2015-06-16 | 1 | -1/+1 |
| | | | | | | Some mirrors error on double / in path. ref #4365 | ||||
* | setup-apkrepos: fix excluding faulty mirrors | Natanael Copa | 2015-05-14 | 1 | -5/+5 |
| | | | | | | | This is a fix of commit 3f769dc (setup-apkrepos: exclude faulty mirrors from detection) ref #4017 | ||||
* | setup-apkrepos: exclude faulty mirrors from detection | Natanael Copa | 2015-04-10 | 1 | -2/+5 |
| | | | | ref #4017 | ||||
* | setup-apkrepos: add -f for just-add-fastest mirror | Natanael Copa | 2015-04-07 | 1 | -2/+9 |
| | | | | fixes #4017 | ||||
* | setup-apkrepos: allow specify the repos from cmdline | Natanael Copa | 2014-07-01 | 1 | -27/+33 |
| | | | | ref #2862 | ||||
* | setup-apkrepos: fix cleanup | Natanael Copa | 2014-05-29 | 1 | -1/+1 |
| | | | | we need uninstall .setup* | ||||
* | setup-apkrepos: force install virtual package | Natanael Copa | 2014-05-27 | 1 | -1/+1 |
| | | | | | it is tmpfs and we know it will be removed on reboot. Infact, we want it to be removed on reboot. | ||||
* | setup-apkrepos: improve $ROOT support | Natanael Copa | 2014-04-23 | 1 | -11/+17 |
| | |||||
* | fix permissions | Natanael Copa | 2014-04-23 | 1 | -0/+0 |
| | |||||
* | various: use long-form apk options | Dubiousjim | 2013-07-03 | 1 | -4/+4 |
| | |||||
* | setup-apkrepos: add commented edge/main and edge/testing for stable | Natanael Copa | 2013-06-11 | 1 | -1/+5 |
| | |||||
* | setup-apkrepos: remove dead code | Natanael Copa | 2013-06-11 | 1 | -5/+0 |
| | | | | we no longer use RELEASES | ||||
* | setup-apkrepos: refactor mirror timing | Natanael Copa | 2013-06-11 | 1 | -31/+32 |
| | | | | | | - use apk update to test the download speed - print the times - use /proc/uptime instead of 'time' | ||||
* | main/setup-apkrepos: use edge repo for *_alpha* releases | Natanael Copa | 2013-03-01 | 1 | -1/+1 |
| | |||||
* | setup-apkrepos: do not add empty mirrors | Natanael Copa | 2012-05-27 | 1 | -0/+4 |
| | | | | ref #1073 | ||||
* | setup-apkrepos: only ask for repository one time | Natanael Copa | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | setup-apkrepos: add option to just add random mirror and don't prompt anymore | Jeff Bilyk | 2011-08-06 | 1 | -14/+43 |
| | |||||
* | setup-apkrepos: avoid double // in url | Natanael Copa | 2011-05-03 | 1 | -2/+2 |
| | |||||
* | setup-apkrepos: install alpine-mirrors if needed | Natanael Copa | 2011-03-03 | 1 | -14/+27 |
| | |||||
* | setup-apkrepos: simplify. try not ask more than absolutely needed | Natanael Copa | 2011-03-03 | 1 | -230/+67 |
| | | | | | | | | | - use alpine version from /etc/alpine-release - dont ask for testing repo, but just add it commented - give user option to edit file manually - give user opptortunity to add several mirrors - first time default is 'detect fastest', second default is 'done' - only update apk index if anything changed | ||||
* | setup-apkrepos: always update the index, best effort | Natanael Copa | 2011-03-02 | 1 | -16/+3 |
| | |||||
* | setup-apkrepos: make show mirror list a separate function | Natanael Copa | 2011-03-02 | 1 | -7/+10 |
| | |||||
* | setup-apkrepos: simplification of apk update error handling | Natanael Copa | 2011-03-01 | 1 | -6/+1 |
| | | | | | apk update -q will output error if any and be quiet otherwise. we dont need extra logic to fish out error messages. | ||||
* | setup-apkrepos: minor simplification | Natanael Copa | 2011-03-01 | 1 | -6/+1 |
| | | | | We only need the hostname after we found the mirror we want | ||||
* | setup-apkrepos: minor cleanup. use $(( ... )) instead of `expr ...` | Natanael Copa | 2011-03-01 | 1 | -3/+3 |
| | | | | saves a fork | ||||
* | setup-apkrepos: create a helper func for counting | Natanael Copa | 2011-03-01 | 1 | -3/+7 |
| | | | | Might be handy if we want count differently, strip comments etc in future | ||||
* | setup-apkrepos: mionor cleanup | Natanael Copa | 2011-03-01 | 1 | -8/+6 |
| | | | | use get_hostname_from_url function to make it more readable | ||||
* | setup-apkrepos: minor bugfix | Natanael Copa | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | setup-apkrepos: minor cleanup | Natanael Copa | 2011-03-01 | 1 | -12/+19 |
| | | | | | | - allow override MIRRORS via env var - don't error if MIRRORS.txt is missing - other minor cleanups | ||||
* | setup-apkrepos: use chars instead of numbers. avoid == | Natanael Copa | 2011-02-28 | 1 | -19/+15 |
| | | | | Use case ... in instead of if ... elif ... | ||||
* | remove bind-tools dependency | Jeff Bilyk | 2011-02-26 | 1 | -14/+10 |
| | | | | nslookup statement needed bind-tools version of nslookup, not busybox | ||||
* | revamped setup-apkrepos | Matt Smith | 2011-01-22 | 1 | -103/+311 |
| | |||||
* | alpine-conf: updated setup-apkrepos; see git log | Matt Smith | 2011-01-15 | 1 | -6/+98 |
| | | | | | | | | | | Changelog: - Now selects the fastest mirror (albeit somewhat crudely); - Updates existing main and testing repos to use the fastest mirror; - If the main repository isn't listed, it will be added; - If the testing repository isn't listed, it will be added - commented out; - Despite these changes, it does not clobber other repository entries; - Will output errors and warnings from 'apk update'; | ||||
* | setup-apkrepos: whitespace fix | Natanael Copa | 2011-01-03 | 1 | -1/+1 |
| | |||||
* | alpine-conf: modify setup-apkrepos to grab different mirror and ↵ | Jeff Bilyk | 2011-01-03 | 1 | -27/+36 |
| | | | | | | automatically retrieve release Retrieve MIRRORS.txt and get mirror from there, automatically choose release if possible, and if not prompt for desired release |