-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix combined queues and remove broken retry log link for multi repo queues #165
base: master
Are you sure you want to change the base?
Conversation
bors.rust-lang.org mentions > Homu provides a few simple ways to customize the queue's contents to fit your needs: > > * queue/rust+cargo will combine the queues of the rust and cargo repos (for example). but it appears 963762a broke this by early aborting to a 404 without checking this case
…s, as retry log currently can't handle that fixes rust-lang#157
23730e6
to
0564d5b
Compare
I would prefer to drop support for showing a queue across multiple repositories, rather than trying to fix it. I don't think we need that feature, and dropping support seems likely to be safer/simpler/more maintainable in the long run. |
Removing combined queues appears reasonable given how long this breakage went unnoticed, but I like to view the "all" queue as I find it gives a nice overview. |
828ea89
to
93058ef
Compare
if repo_label == 'all': | ||
labels = g.repos.keys() | ||
else: | ||
labels = repo_label.split('+') | ||
if any(label not in g.cfg['repo'] for label in labels): | ||
abort(404) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This suggestion could be applied to remove the support for combining queues with +
but keep the all
queue
if repo_label == 'all': | |
labels = g.repos.keys() | |
else: | |
labels = repo_label.split('+') | |
if any(label not in g.cfg['repo'] for label in labels): | |
abort(404) | |
if repo_label == 'all': | |
labels = g.repos.keys() | |
elif repo_label in g.cfg['repo']: | |
labels = [repo_label] | |
else: | |
abort(404) |
No description provided.