Re: Script to filter debdiff output
Florent Rougon <f.rougon@free.fr> wrote:
> Hi,
>
> Frank Küster <frank@debian.org> wrote:
>
>> I dare ask one more thing:
>>
>> Could you add a feature for moved conffiles?
>
> Done in the attached script. I'll document it later, sorry.
[...]
>
> Smoke tests run fine, proper documentation and maybe small refactoring will
> come later. :)
Thanks. My smoke test gives some error, although it still seems to
work:
Traceback (most recent call last):
File "./tex-filter-debdiff.py", line 497, in ?
if __name__ == "__main__": main()
File "./tex-filter-debdiff.py", line 448, in main
raise ProgramError('The first processed filtered section should '
__main__.ProgramError: The first processed filtered section should have "grabbed" all moved config files
This is with texlive-base-bin, the others are silent except
texlive-music which gives
Traceback (most recent call last):
File "./tex-filter-debdiff.py", line 497, in ?
if __name__ == "__main__": main()
File "./tex-filter-debdiff.py", line 446, in main
if moved_cfg_files_first or moved_cfg_files_second:
UnboundLocalError: local variable 'moved_cfg_files_first' referenced before assignment
Anyway, even in the cases with error messages the output is very
helpful. The unfiltered debdiffs are at
http://people.debian.org/~frank/texlive-base-bin.debdiff.unfiltered
http://people.debian.org/~frank/texlive-music.debdiff.unfiltered
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: