aboutsummaryrefslogtreecommitdiffstats
path: root/setup-apkrepos.in
Commit message (Collapse)AuthorAgeFilesLines
* setup-apkrepos: try fetching the mirror list repeatedly while promptingHEADmasterDaniel Lublin2020-04-161-0/+4
| | | | fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/issues/10446
* setup-apkrepos: use cdn as default answerNatanael Copa2019-12-111-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 andKatie Holly2018-06-121-13/+1
| | | | replaced the awk script with tee-sort-head-cut magic
* setup-apkrepos: fetch mirrors from mirrors.a.oCarlo Landmeter2018-04-111-15/+3
|
* setup-apkrepos: Fix some typosNHellFire2018-04-111-1/+1
|
* setup-apkrepos: prevent adding empty mirrorNatanael Copa2017-11-301-0/+4
| | | | fixes #8108
* setup-apkrepos: add option to add first mirror on the listNatanael Copa2017-05-191-7/+16
| | | | first in the list is normally a cdn
* setup-apkrepos: use wget --spiderNatanael Copa2017-01-241-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_proxyNatanael Copa2016-11-101-1/+0
| | | | | | it is likely needed if it is set. ref #6219
* indent heredocs and replace echos with heredoc where appropriateJakub Jirutka2016-11-021-12/+14
|
* replace deprecated `...` syntax with $(...) in shell scriptsJakub Jirutka2016-11-021-2/+2
|
* fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka2016-11-021-5/+5
|
* setup-apkrepos: fix typoTed Trask2016-02-091-1/+1
|
* setup-apkrepos: add community repo to repositories fileTed Trask2016-02-031-0/+2
|
* setup-apkrepos: use wget spider mode to find fastest mirrorNatanael Copa2015-12-151-3/+5
| | | | we also try warm up the dns cache before we measure the time
* setup-apkrepos: fix speed test of mirrorsNatanael Copa2015-06-161-1/+1
| | | | | | Some mirrors error on double / in path. ref #4365
* setup-apkrepos: fix excluding faulty mirrorsNatanael Copa2015-05-141-5/+5
| | | | | | | This is a fix of commit 3f769dc (setup-apkrepos: exclude faulty mirrors from detection) ref #4017
* setup-apkrepos: exclude faulty mirrors from detectionNatanael Copa2015-04-101-2/+5
| | | | ref #4017
* setup-apkrepos: add -f for just-add-fastest mirrorNatanael Copa2015-04-071-2/+9
| | | | fixes #4017
* setup-apkrepos: allow specify the repos from cmdlineNatanael Copa2014-07-011-27/+33
| | | | ref #2862
* setup-apkrepos: fix cleanupNatanael Copa2014-05-291-1/+1
| | | | we need uninstall .setup*
* setup-apkrepos: force install virtual packageNatanael Copa2014-05-271-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 supportNatanael Copa2014-04-231-11/+17
|
* fix permissionsNatanael Copa2014-04-231-0/+0
|
* various: use long-form apk optionsDubiousjim2013-07-031-4/+4
|
* setup-apkrepos: add commented edge/main and edge/testing for stableNatanael Copa2013-06-111-1/+5
|
* setup-apkrepos: remove dead codeNatanael Copa2013-06-111-5/+0
| | | | we no longer use RELEASES
* setup-apkrepos: refactor mirror timingNatanael Copa2013-06-111-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* releasesNatanael Copa2013-03-011-1/+1
|
* setup-apkrepos: do not add empty mirrorsNatanael Copa2012-05-271-0/+4
| | | | ref #1073
* setup-apkrepos: only ask for repository one timeNatanael Copa2011-09-131-1/+1
|
* setup-apkrepos: add option to just add random mirror and don't prompt anymoreJeff Bilyk2011-08-061-14/+43
|
* setup-apkrepos: avoid double // in urlNatanael Copa2011-05-031-2/+2
|
* setup-apkrepos: install alpine-mirrors if neededNatanael Copa2011-03-031-14/+27
|
* setup-apkrepos: simplify. try not ask more than absolutely neededNatanael Copa2011-03-031-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 effortNatanael Copa2011-03-021-16/+3
|
* setup-apkrepos: make show mirror list a separate functionNatanael Copa2011-03-021-7/+10
|
* setup-apkrepos: simplification of apk update error handlingNatanael Copa2011-03-011-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 simplificationNatanael Copa2011-03-011-6/+1
| | | | We only need the hostname after we found the mirror we want
* setup-apkrepos: minor cleanup. use $(( ... )) instead of `expr ...`Natanael Copa2011-03-011-3/+3
| | | | saves a fork
* setup-apkrepos: create a helper func for countingNatanael Copa2011-03-011-3/+7
| | | | Might be handy if we want count differently, strip comments etc in future
* setup-apkrepos: mionor cleanupNatanael Copa2011-03-011-8/+6
| | | | use get_hostname_from_url function to make it more readable
* setup-apkrepos: minor bugfixNatanael Copa2011-03-011-1/+1
|
* setup-apkrepos: minor cleanupNatanael Copa2011-03-011-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 Copa2011-02-281-19/+15
| | | | Use case ... in instead of if ... elif ...
* remove bind-tools dependencyJeff Bilyk2011-02-261-14/+10
| | | | nslookup statement needed bind-tools version of nslookup, not busybox
* revamped setup-apkreposMatt Smith2011-01-221-103/+311
|
* alpine-conf: updated setup-apkrepos; see git logMatt Smith2011-01-151-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 fixNatanael Copa2011-01-031-1/+1
|
* alpine-conf: modify setup-apkrepos to grab different mirror and ↵Jeff Bilyk2011-01-031-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