summaryrefslogtreecommitdiff
path: root/setup-apkrepos.in
AgeCommit message (Collapse)Author
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