config.def.py (7855B)
1 # See LICENSE file for copyright and license details. 2 3 """ 4 amprolla configuration file 5 """ 6 7 # from hashlib import md5, sha1, sha256 8 from hashlib import sha256 9 10 cpunm = 2 # number of cpus you want to use for multiprocessing 11 logdir = '/home/amprolla/amprolla/log' 12 spooldir = '/home/amprolla/amprolla/spool' 13 gpgdir = '/home/amprolla/amprolla/gnupg' 14 signingkey = 'E032601B7CA10BC3EA53FA81BB23C00C61FC752C' 15 signrelease = True 16 mergedir = '/home/amprolla/amprolla/merged-volatile' 17 mergesubdir = 'dists' 18 lockpath = '/run/lock/amprolla.lock' 19 banpkgs = {'systemd', 'systemd-sysv', 'file-rc'} 20 checksums = [ 21 # {'name': 'MD5Sum', 'f': md5}, 22 # {'name': 'SHA1', 'f': sha1}, 23 {'name': 'SHA256', 'f': sha256}, 24 ] 25 26 distrolabel = 'Devuan' 27 repo_order = ['devuan', 'debian-security', 'debian'] 28 29 # used for a hacky way to skip certain suites when crawling Debian 30 skips = ['jessie-security', 'ascii-security', 'beowulf-security'] 31 32 repos = { 33 'devuan': { 34 'name': 'DEVUAN', 35 'host': 'http://pkgmaster.devuan.org', 36 'dists': 'devuan/dists', 37 'pool': 'devuan/pool', 38 'aliases': False, 39 'skipmissing': False, 40 }, 41 'debian-security': { 42 'name': 'DEBIAN-SECURITY', 43 'host': 'http://security.debian.org', 44 'dists': 'dists', 45 'pool': 'pool', 46 'aliases': True, 47 'skipmissing': True, 48 }, 49 'debian': { 50 'name': 'DEBIAN', 51 'host': 'http://deb.debian.org', 52 'dists': 'debian/dists', 53 'pool': 'debian/pool', 54 'aliases': True, 55 'skipmissing': False, 56 }, 57 } 58 59 suites = { 60 'jessie': [ 61 'jessie', 62 'jessie-backports', 63 'jessie-proposed-updates', 64 'jessie-security', 65 'jessie-updates', 66 ], 67 'ascii': [ 68 'ascii', 69 'ascii-backports', 70 'ascii-proposed-updates', 71 'ascii-security', 72 'ascii-updates', 73 ], 74 'beowulf': [ 75 'beowulf', 76 # 'beowulf-backports', 77 'beowulf-proposed-updates', 78 'beowulf-security', 79 'beowulf-updates', 80 ], 81 'unstable': [ 82 'unstable', 83 ], 84 } 85 86 aliases = { 87 'DEBIAN-SECURITY': { 88 'beowulf-security': 'buster/updates', 89 'ascii-security': 'stretch/updates', 90 'jessie-security': 'jessie/updates', 91 }, 92 'DEBIAN': { 93 'beowulf': 'buster', 94 'beowulf-backports': 'buster-backports', 95 'beowulf-proposed-updates': 'buster-proposed-updates', 96 'beowulf-updates': 'buster-updates', 97 98 'ascii': 'stretch', 99 'ascii-backports': 'stretch-backports', 100 'ascii-proposed-updates': 'stretch-proposed-updates', 101 'ascii-updates': 'stretch-updates', 102 }, 103 } 104 105 release_aliases = { 106 'beowulf': { 107 'Suite': 'testing', 108 'Codename': 'beowulf', 109 'Version': '3.0', 110 'Origin': 'Devuan', 111 }, 112 'beowulf-backports': { 113 'Suite': 'testing-backports', 114 'Codename': 'beowulf-backports', 115 'Origin': 'Devuan Backports', 116 'Label': 'Devuan Backports', 117 }, 118 'beowulf-proposed-updates': { 119 'Suite': 'testing-proposed-updates', 120 'Codename': 'beowulf-proposed-updates', 121 }, 122 'beowulf-security': { 123 'Suite': 'testing-security', 124 'Codename': 'beowulf-security', 125 'Label': 'Devuan-Security', 126 'Origin': 'Devuan', 127 }, 128 'beowulf-updates': { 129 'Suite': 'testing-updates', 130 'Codename': 'beowulf-updates', 131 'Origin': 'Devuan', 132 }, 133 134 'ascii': { 135 'Suite': 'stable', 136 'Codename': 'ascii', 137 'Version': '2.0', 138 'Origin': 'Devuan', 139 }, 140 'ascii-backports': { 141 'Suite': 'stable-backports', 142 'Codename': 'ascii-backports', 143 'Origin': 'Devuan Backports', 144 'Label': 'Devuan Backports', 145 }, 146 'ascii-proposed-updates': { 147 'Suite': 'stable-proposed-updates', 148 'Codename': 'ascii-proposed-updates', 149 }, 150 'ascii-security': { 151 'Suite': 'stable-security', 152 'Codename': 'ascii-security', 153 'Label': 'Devuan-Security', 154 'Origin': 'Devuan', 155 }, 156 'ascii-updates': { 157 'Suite': 'stable-updates', 158 'Codename': 'ascii-updates', 159 'Origin': 'Devuan', 160 }, 161 162 'jessie': { 163 'Suite': 'oldstable', 164 'Codename': 'jessie', 165 'Version': '1.0', 166 'Origin': 'Devuan', 167 }, 168 'jessie-backports': { 169 'Suite': 'oldstable-backports', 170 'Codename': 'jessie-backports', 171 'Origin': 'Devuan Backports', 172 }, 173 'jessie-proposed-updates': { 174 'Suite': 'oldstable-proposed-updates', 175 'Codename': 'jessie-proposed-updates', 176 }, 177 'jessie-security': { 178 'Suite': 'oldstable-security', 179 'Codename': 'jessie-security', 180 'Label': 'Devuan-Security', 181 'Origin': 'Devuan', 182 }, 183 'jessie-updates': { 184 'Suite': 'oldstable-updates', 185 'Codename': 'jessie-updates', 186 'Origin': 'Devuan', 187 }, 188 } 189 190 categories = ['main', 'contrib', 'non-free'] 191 192 arches = [ 193 'source', 194 'binary-all', 195 # 'binary-alpha', 196 'binary-amd64', 197 'binary-arm64', 198 'binary-armel', 199 'binary-armhf', 200 # 'binary-hppa', 201 # 'binary-hurd-i386', 202 'binary-i386', 203 # 'binary-ia64', 204 # 'binary-kfreebsd-amd64', 205 # 'binary-kfreebsd-i386', 206 # 'binary-mips', 207 # 'binary-mips64el', 208 # 'binary-mipsel', 209 # 'binary-powerpc', 210 'binary-ppc64el', 211 # 'binary-s390x', 212 # 'binary-sparc', 213 ] 214 215 mainrepofiles = [ 216 'InRelease', 217 'Release', 218 'Release.gpg', 219 ] 220 221 pkgfiles = [ 222 'Packages', 223 'Packages.gz', 224 'Packages.xz', 225 'Release', 226 ] 227 228 srcfiles = [ 229 'Sources', 230 'Sources.gz', 231 'Sources.xz', 232 'Release', 233 ] 234 235 release_keys = [ 236 'Origin', 237 'Label', 238 'Suite', 239 'Version', 240 'Codename', 241 'Date', 242 'Valid-Until', 243 'Architectures', 244 'Components', 245 'Description', 246 'NotAutomatic', 247 'ButAutomaticUpgrades', 248 ] 249 250 packages_keys = [ 251 'Package', 252 'Version', 253 'Kernel-Version', 254 'Installer-Menu-Item', 255 'Essential', 256 'Installed-Size', 257 'Maintainer', 258 'Architecture', 259 'Replaces', 260 'Provides', 261 'Depends', 262 'Conflicts', 263 'Pre-Depends', 264 'Breaks', 265 'Homepage', 266 'Apport', 267 'Auto-Built-Package', 268 'Build-Ids', 269 'Origin', 270 'Bugs', 271 'Built-Using', 272 'Enhances', 273 'Recommends', 274 'Description', 275 'Description-md5', 276 'Ghc-Package', 277 'Gstreamer-Decoders', 278 'Gstreamer-Elements', 279 'Gstreamer-Encoders', 280 'Gstreamer-Uri-Sinks', 281 'Gstreamer-Uri-Sources', 282 'Gstreamer-Version', 283 'Lua-Versions', 284 'Modaliases', 285 'Npp-Applications', 286 'Npp-Description', 287 'Npp-File', 288 'Npp-Mimetype', 289 'Npp-Name', 290 'Original-Maintainer', 291 'Original-Source-Maintainer', 292 'Package-Type', 293 'Postgresql-Version', 294 'Python-Version', 295 'Python-Versions', 296 'Ruby-Versions', 297 'Source', 298 'Suggests', 299 'Xul-Appid', 300 'Multi-Arch', 301 'Build-Essential', 302 'Tag', 303 'Section', 304 'Priority', 305 'Filename', 306 'Size', 307 'MD5sum', 308 'SHA1', 309 'SHA256', 310 ] 311 312 sources_keys = [ 313 'Package', 314 'Binary', 315 'Version', 316 'Maintainer', 317 'Uploaders', 318 'Build-Depends', 319 'Architecture', 320 'Standards-Version', 321 'Format', 322 'Files', 323 'Vcs-Browser', 324 'Vcs-Svn', 325 'Checksums-Sha1', 326 'Checksums-Sha256', 327 'Homepage', 328 'Package-List', 329 'Directory', 330 'Priority', 331 'Section', 332 'Vcs-Git', 333 'Dm-Upload-Allowed', 334 'Build-Conflicts', 335 'Testsuite', 336 'Build-Depends-Indep', 337 'Vcs-Bzr', 338 'Vcs-Mtn', 339 'Vcs-Hg', 340 'Ruby-Versions', 341 'Dgit', 342 'Vcs-Darcs', 343 'Extra-Source-Only', 344 'Python-Version', 345 'Testsuite-Triggers', 346 'Autobuild', 347 'Build-Conflicts-Indep', 348 'Vcs-Cvs', 349 'Comment', 350 'Origin', 351 'Vcs-Arch', 352 'Original-Maintainer', 353 'Python3-Version', 354 ]