diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 14:31:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-30 14:31:44 +0000 |
commit | 129031c9155d03890ef66f00be1ab60f63327c35 (patch) | |
tree | a01810eae7ff87f1bc0836bf74ef9d921feb85e2 /src/backend/getfs.py | |
parent | 02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (diff) |
move getFilesystem -> getfs
Diffstat (limited to 'src/backend/getfs.py')
-rw-r--r-- | src/backend/getfs.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/backend/getfs.py b/src/backend/getfs.py new file mode 100644 index 0000000..5186db4 --- /dev/null +++ b/src/backend/getfs.py @@ -0,0 +1,28 @@ +#!/usr/bin/python3 + +import platform + +remoteGitlab = 'https://gitlab.com/redcore' +remotePagure = 'https://pagure.io/redcore' + +gentooRepo = 'portage.git' +redcoreRepo = 'redcore-desktop.git' +portageConfigRepo = 'redcore-build.git' + +gentooRepoDir = '/usr/ports/gentoo' +redcoreRepoDir = '/usr/ports/redcore' +portageConfigDir = '/opt/redcore-build' +portageCacheDir = '/var/cache/packages' +portageMetadataDir = '/var/cache/edb' + +remotePackagesCsv = '/var/lib/sisyphus/csv/remotePackagesPre.csv' +remoteDescriptionsCsv = '/var/lib/sisyphus/csv/remoteDescriptionsPre.csv' +localPackagesCsv = '/var/lib/sisyphus/csv/localPackagesPre.csv' + +localDatabase = '/var/lib/sisyphus/db/sisyphus.db' + +if platform.uname()[4] == 'x86_64': + mirrorCfg = '/etc/sisyphus/sisyphus-mirrors-amd64.conf' + +if platform.uname()[4] == 'aarch64': + mirrorCfg = '/etc/sisyphus/sisyphus-mirrors-arm64.conf' |