[Dev] [proposal] Having a pacman-based distro, stable.

Esteban Carnevale alfplayer at mailoo.org
Fri Mar 20 23:06:40 GMT 2015


Snapshots like the "rollback machine" are available in 
http://alfplayer.com/. Mirrors on my servers and some other systems are 
set to old snapshots to avoid breaking them. I can keep about 5 
months (now there are 3), but I have to purge older snapshots when disk 
usage is too high.

Example to update the configured snapshot:

new_date="$(date -d yesterday +%Y.%m.%d)"
base_url="http://alfplayer.com/parabola"
config_file can be set to pacman.conf or mirrorlist

sed -i 's|\
  \(Include|Server\) = .*|\
  Server = '"$base_url"-"$new_date"'/$repo/os/$arch|'\
  "$config_file"


-- 
Esteban Carnevale <alfplayer at mailoo.org>



More information about the Dev mailing list