summaryrefslogtreecommitdiff
path: root/src/backend/getFilesystem.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-17 19:12:53 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-17 19:12:53 +0100
commite1562a71d6483021d332bccbfc5a3086688bc58c (patch)
tree6be3d468e0aadd6c4de6c4dbd7a58ebe9fd59cbb /src/backend/getFilesystem.py
parent0cf2c9f8ec52b1ae276c1573210d252ab0c4577b (diff)
rearrange the backend
Diffstat (limited to 'src/backend/getFilesystem.py')
-rw-r--r--src/backend/getFilesystem.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/backend/getFilesystem.py b/src/backend/getFilesystem.py
new file mode 100644
index 0000000..4934108
--- /dev/null
+++ b/src/backend/getFilesystem.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python3
+
+import platform
+
+remoteGitlab = 'https://gitlab.com/redcore'
+remotePagure = 'https://pagure.io/redcore'
+
+portageRepo = 'portage.git'
+redcoreRepo = 'redcore-desktop.git'
+portageConfigRepo = 'redcore-build.git'
+
+portageRepoDir = '/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'