Dear Maintainers,

please find attached a simple Python script to parse an override .gz file [1]
and create a text file containing only lines with 'extra' priority replaced by
'optional' one.
Example of usage:

  python3 overrides.py --filein override.sid.main.gz --fileout override.sid.main
 
If I understand correctly the code [2], this file needs to be passed to
'|dak control-overrides -C file'| for changing the priority for specified 
packages.
I'm not entirely sure about this procedure (I'm not sure at all, sincerely),
if I'm wrong, my apologizes for the noise. I've tried :(

Kind Regards

[1] http://ftp.debian.org/debian/indices/
[2] https://salsa.debian.org/ftp-team/dak/-/blob/master/dak/control_overrides.py

Attachment: overrides.py.xz
Description: application/xz

Reply via email to