[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[ITM] Britney2: Auto-hinter perf, pkg-id refactoring and block-all new-source hint



Hi,

I would like to merge the following 3 branches into Britney2 master
(total of 9 commits):

 * [block-all-new-source]
   - Add a new hint that blocks all source migrations where the source
     is *not* currently in testing.  As a side-effect, removed packages
     will not re-enter testing without an unblock hint.
   - I envision that we would use this during the soft-freeze.
   - Tests: Please review the new test case in the
     "block-all-new-source" branch in the test repository.

 * [faster-auto-hinter]
   - Optimise the auto-hinter (incl. fixing a performance regression
     the appeared after September).
   - On the kali dataset, the auto-hinter will finish within a minute
     instead of 11 minutes (September) or 45 minutes (current master)

 * [pkg-id-as-named-tuples]
   - Refactor the current "pkg-ids" into named tuples to avoid "magic"
     numbers in the code (e.g. "pkg_id[2] == arch" becomes
     "pkg_id.architecture == arch")
   - As a side-effect, it reduces memory requirements on the live-data
     test suite by a few percent (~2-3%) by interning the pkg_id
     objects.


There are no known regressions at this time and no changes to outputs in
the test suites.

Thanks,
~Niels

[block-all-new-source]:
https://anonscm.debian.org/cgit/users/nthykier/britney.git/log/?h=block-all-new-source

[faster-auto-hinter]:
https://anonscm.debian.org/cgit/users/nthykier/britney.git/log/?h=faster-auto-hinter

[pkg-id-as-named-tuples]:
https://anonscm.debian.org/cgit/users/nthykier/britney.git/log/?h=pkg-id-as-named-tuples


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: