parazyd
ea2b4dd295
refactor sign_release to use gnupg directly via subprocess
removes the need for python-gnupg which tends to have a relatively
unstable API and doesn't work properly on some machines.
6 years ago
parazyd
57ac2b2a17
styling fixes
6 years ago
parazyd
7cf5d7bcfc
comment cleanup
6 years ago
parazyd
e57b27612f
fix multiprocessing issue with download()
the process should not forcefully exit with die() since it causes
a deadlock for multiprocessing.Pool
this commit also reimplements handling of
requests.exceptions.ReadTimeout
6 years ago
parazyd
f82aba2978
revert handling of requests.exceptions.ReadTimeout
needs investigation because the thread gets stuck upon handling
6 years ago
parazyd
9bd473b147
handle ReadTimeout exception in download()
6 years ago
parazyd
45ee23d47b
stop hashing weak checksums
6 years ago
parazyd
8cd123722f
hash uncompressed files in memory when writing Release files
6 years ago
parazyd
1ff8545a81
save space by only writing gzipped files
6 years ago
parazyd
e9f74ed432
implement proper rewriting of Release headers
this fixes a bug where we don't have to care about upstream due to
developer laziness and improper handling of Release files from Devuan's
origin/repository generator
6 years ago
parazyd
6acb2ac57a
comment unused imports
6 years ago
parazyd
7ec1129579
revert to deb.debian.org
6 years ago
parazyd
0b476ccaa5
log packages depending on libsystemd0
6 years ago
parazyd
dc84c9b0f2
log found banned packages
6 years ago
parazyd
a65bc1a127
implement a module to hold global states
6 years ago
parazyd
ae99aa1f36
fix dependency list creation in package_banned()
6 years ago
parazyd
0b16e6b79f
temporary hardcode a rewrite for proper Release headers
6 years ago
parazyd
a56823ff64
be able to opt out of signing Release files
6 years ago
parazyd
b59fd6adac
don't replace Release headers
6 years ago
parazyd
d679e78a2b
try to avoid download interrupts by raising the timeout
6 years ago
parazyd
12f35378ba
conform to debian Release headers
6 years ago
parazyd
f46479d83e
support old versions of python-gnupg (revert when obsolete !!!)
6 years ago
parazyd
f03f8f3c55
support portable gnupg directories
6 years ago
parazyd
90c91e5ee6
rewrite Suites to according stable/testing, implements new dict
6 years ago
parazyd
0b83b1bd2a
implement orchestration of incremental updates with a shell script
6 years ago
parazyd
3e8dae8494
fixup! try to handle connection interrupts in net.download
6 years ago
parazyd
fbaade5e33
rename DEBIAN-SEC to DEBIAN-SECURITY
6 years ago
parazyd
d5f5598c1d
skip writing Valid-Until in Release files
6 years ago
parazyd
011d4f0c21
explicit imports in lib.package
6 years ago
parazyd
5c55549a68
try to handle connection interrupts in net.download
6 years ago
parazyd
ae0f2f3219
begin logging refactoring
6 years ago
parazyd
1e25c3e648
log old packages to a file
6 years ago
parazyd
fd7239cebe
implement checking if a package with a lower priority is newer
6 years ago
parazyd
6dd25d4218
don't use regular expressions in parse_packages()
6 years ago
parazyd
1d85a8d1cd
cleanup; remove old cruft
6 years ago
parazyd
f94e64b215
move config.py to config.def.py to allow updates without spam commits
6 years ago
parazyd
e07a9378a4
implement proper updating logic
6 years ago
parazyd
740333927d
optional gpg signing of release file (defaults to True)
6 years ago
parazyd
28a1381c59
use only needed imports in amprolla_init
6 years ago
parazyd
f37b80ecce
multiprocess initial download
6 years ago
parazyd
6be10ca7af
pep8/pylint fixes, safety checks in write_packages() and write_release()
6 years ago
parazyd
0454dba27c
gpg signing of Release files (using python-gnupg)
6 years ago
parazyd
94adcf6b6e
implement generation of Release files
6 years ago
parazyd
fcae27d990
merge sources files as well
6 years ago
parazyd
4eb2e225dc
import hashlib functions
6 years ago
parazyd
3320b78e4f
copy also the internal Release files for arches
6 years ago
parazyd
61990d531c
skip nonexistent when loading Packages files
6 years ago
parazyd
a0f2b7d8f0
write also the lzma-compressed, and the uncompressed files
6 years ago
parazyd
f9d091ad6f
pylint/pep8 fixes, remove some cruft from lib
6 years ago
parazyd
152f4c434c
fix gzip writing
6 years ago