diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-06 20:37:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-06 20:37:56 +0100 |
commit | ed88746cd33c0f861e9c45bf05bf9e44d86089ba (patch) | |
tree | e6656f3d54bd738383d048c744d330dca2c15e4c /src/backend/filesystem.py | |
parent | 2d86cd9ddc5d9442e4a8e8fb50d72480a8293a4a (diff) |
filesystem module : gather all the folder and file paths used by sisyphus under one module, and expose them to other modules from there
Diffstat (limited to 'src/backend/filesystem.py')
-rw-r--r-- | src/backend/filesystem.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/filesystem.py b/src/backend/filesystem.py new file mode 100644 index 0000000..4338a2a --- /dev/null +++ b/src/backend/filesystem.py @@ -0,0 +1,12 @@ +#!/usr/bin/python3 + +gentooEbuildDir = '/usr/ports/gentoo' +redcoreEbuildDir = '/usr/ports/redcore' +portageConfigDir = '/opt/redcore-build' +portageCacheDir = '/var/cache/packages' +portageMetadataDir = '/var/cache/edb' +remotePkgsDB = '/var/lib/sisyphus/csv/remotePackagesPre.csv' +remoteDscsDB = '/var/lib/sisyphus/csv/remoteDescriptionsPre.csv' +localPkgsDB = '/var/lib/sisyphus/csv/localPackagesPre.csv' +sisyphusDB = '/var/lib/sisyphus/db/sisyphus.db' +mirrorCfg = '/etc/sisyphus/mirrors.conf' |