Skip to content

Commit

Permalink
configuration: move data (e.g. sources.txt & friends) to cache/
Browse files Browse the repository at this point in the history
rationale: reduce top-level clutter, make it clear they are reproducible data
  • Loading branch information
zacchiro committed May 27, 2013
1 parent 36c12e5 commit dd004e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
/sources
/sources.dbm*
/sources.map*
/sources.txt*
/sources.sqlite*
/cache
*.pyc
1 change: 1 addition & 0 deletions cache/.placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.placeholder
8 changes: 4 additions & 4 deletions etc/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ mirror_dir="/srv/debian-mirror"
sources_dir="$root/sources"

# Local cache of available source packages
sources_list="${root}/sources.txt"
sources_map="${root}/sources.map"
sources_dbm="${root}/sources.dbm"
sources_sql="${root}/sources.sqlite"
sources_list="${root}/cache/sources.txt"
sources_map="${root}/cache/webredir.map"
sources_dbm="${root}/cache/webredir.dbm"
sources_sql="${root}/cache/sources.sqlite"

lockfile="$root/ONGOING-UPDATE.pid"

Expand Down

0 comments on commit dd004e3

Please sign in to comment.