summaryrefslogtreecommitdiff
path: root/setup-apkrepos.in
AgeCommit message (Collapse)Author
2018-06-12setup-apkrepos: Allow the script to pick a server with 0.00sec download time andKatie Holly
replaced the awk script with tee-sort-head-cut magic
2018-04-11setup-apkrepos: fetch mirrors from mirrors.a.oCarlo Landmeter
2018-04-11setup-apkrepos: Fix some typosNHellFire
2017-11-30setup-apkrepos: prevent adding empty mirrorNatanael Copa
fixes #8108
2017-05-19setup-apkrepos: add option to add first mirror on the listNatanael Copa
first in the list is normally a cdn
2017-01-24setup-apkrepos: use wget --spiderNatanael Copa
the wget -s option was removed in busybox 1.26 https://git.busybox.net/busybox/commit/?id=2972e2c4acb9c46a8cc05c857acac2b3d439bf69 ref #6683
2016-11-10setup-apkrepos: dont reset http_proxyNatanael Copa
it is likely needed if it is set. ref #6219
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02replace deprecated `...` syntax with $(...) in shell scriptsJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2016-02-09setup-apkrepos: fix typoTed Trask
2016-02-03setup-apkrepos: add community repo to repositories fileTed Trask
2015-12-15setup-apkrepos: use wget spider mode to find fastest mirrorNatanael Copa
we also try warm up the dns cache before we measure the time
2015-06-16setup-apkrepos: fix speed test of mirrorsNatanael Copa
Some mirrors error on double / in path. ref #4365
2015-05-14setup-apkrepos: fix excluding faulty mirrorsNatanael Copa
This is a fix of commit 3f769dc (setup-apkrepos: exclude faulty mirrors from detection) ref #4017
2015-04-10setup-apkrepos: exclude faulty mirrors from detectionNatanael Copa
ref #4017
2015-04-07setup-apkrepos: add -f for just-add-fastest mirrorNatanael Copa
fixes #4017
2014-07-01setup-apkrepos: allow specify the repos from cmdlineNatanael Copa
ref #2862
2014-05-29setup-apkrepos: fix cleanupNatanael Copa
we need uninstall .setup*
2014-05-27setup-apkrepos: force install virtual packageNatanael Copa
it is tmpfs and we know it will be removed on reboot. Infact, we want it to be removed on reboot.
2014-04-23setup-apkrepos: improve $ROOT supportNatanael Copa
2014-04-23fix permissionsNatanael Copa
2013-07-03various: use long-form apk optionsDubiousjim
2013-06-11setup-apkrepos: add commented edge/main and edge/testing for stableNatanael Copa
2013-06-11setup-apkrepos: remove dead codeNatanael Copa
we no longer use RELEASES
2013-06-11setup-apkrepos: refactor mirror timingNatanael Copa
- use apk update to test the download speed - print the times - use /proc/uptime instead of 'time'
2013-03-01main/setup-apkrepos: use edge repo for *_alpha* releasesNatanael Copa
2012-05-27setup-apkrepos: do not add empty mirrorsNatanael Copa
ref #1073
2011-09-13setup-apkrepos: only ask for repository one timeNatanael Copa
2011-08-06setup-apkrepos: add option to just add random mirror and don't prompt anymoreJeff Bilyk
2011-05-03setup-apkrepos: avoid double // in urlNatanael Copa
2011-03-03setup-apkrepos: install alpine-mirrors if neededNatanael Copa
2011-03-03setup-apkrepos: simplify. try not ask more than absolutely neededNatanael Copa
- 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
2011-03-02setup-apkrepos: always update the index, best effortNatanael Copa
2011-03-02setup-apkrepos: make show mirror list a separate functionNatanael Copa
2011-03-01setup-apkrepos: simplification of apk update error handlingNatanael Copa
apk update -q will output error if any and be quiet otherwise. we dont need extra logic to fish out error messages.
2011-03-01setup-apkrepos: minor simplificationNatanael Copa
We only need the hostname after we found the mirror we want
2011-03-01setup-apkrepos: minor cleanup. use $(( ... )) instead of `expr ...`Natanael Copa
saves a fork
2011-03-01setup-apkrepos: create a helper func for countingNatanael Copa
Might be handy if we want count differently, strip comments etc in future
2011-03-01setup-apkrepos: mionor cleanupNatanael Copa
use get_hostname_from_url function to make it more readable
2011-03-01setup-apkrepos: minor bugfixNatanael Copa
2011-03-01setup-apkrepos: minor cleanupNatanael Copa
- allow override MIRRORS via env var - don't error if MIRRORS.txt is missing - other minor cleanups
2011-02-28setup-apkrepos: use chars instead of numbers. avoid ==Natanael Copa
Use case ... in instead of if ... elif ...
2011-02-26remove bind-tools dependencyJeff Bilyk
nslookup statement needed bind-tools version of nslookup, not busybox
2011-01-22revamped setup-apkreposMatt Smith
2011-01-15alpine-conf: updated setup-apkrepos; see git logMatt Smith
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';
2011-01-03setup-apkrepos: whitespace fixNatanael Copa
2011-01-03alpine-conf: modify setup-apkrepos to grab different mirror and ↵Jeff Bilyk
automatically retrieve release Retrieve MIRRORS.txt and get mirror from there, automatically choose release if possible, and if not prompt for desired release
2010-12-28alpine-conf: add script to add dl-3 internet repos from setup-alpine scriptJeff Bilyk
ref # 487