[Ubuntu-bugcontrol] [Merge] ~octagalland/ubuntu-qa-tools:uvt_repo_prioritize_local into ubuntu-qa-tools:master

2024-09-11 Thread mp+470446
The proposal to merge ~octagalland/ubuntu-qa-tools:uvt_repo_prioritize_local into ubuntu-qa-tools:master has been updated. Status: Needs review => Merged For more details, see: https://code.launchpad.net/~octagalland/ubuntu-qa-tools/+git/ubuntu-qa-tools/+merge/470446 -- Your team Ubuntu Bug

Re: [Ubuntu-bugcontrol] [Merge] ~octagalland/ubuntu-qa-tools:uvt_repo_prioritize_local into ubuntu-qa-tools:master

2024-09-11 Thread Steve Beattie
Review: Approve Hey Octa, thanks for fixing this. I've merged the branch. [warning, awk nerdery] awk can be used to comput the max priority directly, like so: apt-cache policy | awk 'BEGIN{max=0} /^ [0-9]+ / {if ($1 > max) max = $1} END{print max}' I *think* the quoting would need to look s