Skip to content
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

Auto-detect conflicts/overlaps in rebuild TODO lists #205

Open
lfos opened this issue Mar 3, 2019 · 3 comments
Open

Auto-detect conflicts/overlaps in rebuild TODO lists #205

lfos opened this issue Mar 3, 2019 · 3 comments

Comments

@lfos
Copy link
Member

lfos commented Mar 3, 2019

One thing that has bothered me a couple of times is that archweb does not automatically detect potential conflicts/overlaps between different rebuilds even if it could. This sounds like a feature that is easy to implement and quite useful at the same time.

First draft of how it could work:

  • When viewing a TODO list of an incomplete TODO, at the top (below the description?), display a warning that the package list has a non-empty intersection with another incomplete TODO list.
  • Additionally, either provide the list of overlapping packages next to that warning or add a separate column to the package list that indicates overlaps.
  • Maybe also add an option to exclude a TODO list from the overlap detection (to be used for non-conflicting TODOs like the HTTPs sources rebuilds) such that we do not get false positives. Alternatively, add different types of TODO lists for rebuilds, source-only fixes --- not sure whether that is a great idea, though.
@jelly
Copy link
Member

jelly commented Mar 3, 2019

Thanks for creating the issue, this has come up before. But I was thinking about hinting about overlapping packages when creating a todo list which seems to have come up before if I recall correctly.

A different idea about implementing the UX for this feature would be to add either a column to the todolist of a "red" background color if a package exists in another todolist.

I'm not entirely sure about todolist types, we could introduce a checkbox "check overlap todolist?" or create todolist types such as "general gripe" or "rebuilds". Since I guess the issue is really with rebuilds?

@lfos
Copy link
Member Author

lfos commented Mar 3, 2019

A different idea about implementing the UX for this feature would be to add either a column to the todolist of a "red" background color if a package exists in another todolist.

Agreed. But there should be a way to identify the conflicting TODO list easily. A "careful, you need to coordinate this rebuild with something" is certainly much less useful than "careful, you need to coordinate this rebuild with $pkg".

I'm not entirely sure about todolist types, we could introduce a checkbox "check overlap todolist?" or create todolist types such as "general gripe" or "rebuilds". Since I guess the issue is really with rebuilds?

That's actually what I was thinking of when suggesting "TODO list types" :)

@jelly
Copy link
Member

jelly commented Feb 8, 2021

The first step has finally been taken, by adding a todolist type ce24198 to archweb. Next up is adding overlapping packages to the todolist view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants