You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Allow the creation of dependencies between issues, e.g. issue 3 requires the completion of issue 1 before work on it can begin, etc. I often find myself hesitant to submit any issues that can't be fulfilled for a long time because I don't have a direct way of tracking dependencies. I think that this feature would make it easier to manage projects here.
Currently dependencies like this can be done by making a separate milestone for each issue with dependencies and adding the relevant issues to that, but that is clumsy.
Basic functionality would just be the display of dependencies or reverse dependencies on an issue page, but the ability to make a graph of some kind would be quite nice.
Reacted by TPS, Ville Korhonen, Ayman Nadeem, Uzair Farooq, Juan Benet, Piotr Gawron, Adam Spiers, Mirza Akbar Shah, David Gingrich, Alex Ewerlöf and 208 more
Reacted by Pankaj, Devid, Radoslav Mirchev, Eric Elliott, Maitreya Dwaipayan, Mirko Raner, Vadorequest, DST Owl, Jo Rhett, Pavel Lautsevich and 9 more
I think this would create an unnecessary complication, and make the interface much more complex. Zach once gave an example of a Redmine issue creation page vs GitHub's in one of his talks:
Reacted by Oleg Iarygin, Nikita Yaschenko, Mithgol, Istvan David, Pambda, Powersource, José Cage , Abraham Schilling, Tom Thorogood, Azar and 6 more
Reacted by Adam Spiers, TPS, Anne Eagle, Fotis Tsamis, John Haugeland, Israel G. Lugo, George, Alec Benzer, Marco Molteni, Christopher Allen and 55 more
Reacted by Mitchel Humpherys, Uzair Farooq, Nikita Yaschenko, Arnaud Benhamdine, Pambda, Nathan Glenn, Emilie Page-Perron, Raduan Silva dos Santos, Beni Cherniavsky-Paskin, Ruslan Baratov and 6 more
Hmm, yes I think they were going for minimalistic and it is very easy to look at compared with the alternative. Perhaps this would be better done by another tool through the GitHub API.
Then again, if it were simply parsed out of the description then it would not complicate the UI.
"depends on: ..."
Reacted by pqnet, Azar, Robert M. Vunabandi and Cássio
Reacted by TPS, Powersource, José Cage , Pankaj and Dessalines
I guess you could do it with the current GitHub already. Just write “depends on: …” and then visit all the dependencies and mention your new issue. The mentions are then become displayed on that new issue's page, including the status (open, closed, proposed, merged) of each. I know this trick isn't automated, but for a couple of dependencies even doing it manually won't hurt too much.
Reacted by London Lowmanstone
Reacted by Bruce Becker, Michael Langan, Radon8472, Kurt Keyser, Jo Rhett, Robert M. Vunabandi, James E. A., Ankur Gupta, moe, srlowe and 1 more
Reacted by TPS, José Cage , Daira-Emma Hopwood, relnasser, Jacob Pratt, Michael Langan, Dessalines, Jan-Philipp Kappmeier, Robert M. Vunabandi, James E. A. and 3 more
Just like Trac, it would be nice if a project could decide if it wanted to augment basic GitHub Issues to support more features like dependency tracking. That way, you can have your cake and eat it too (or take as much cake as you want and eat as much as you want).
For interactions with open-source users, the simplicity of GitHub Issues is great. But for serious project tracking, GitHub Issues are majorly lacking.
Reacted by TPS, Alex Scherer, Mitja P, Anderson Tavares, Juan Benet, Marcin Rataj, Alexandru Sfirlogea, Adam Spiers, Arnaud Benhamdine, Matthias A Lee and 18 more
I think this would create an unnecessary complication, and make the interface much more complex.
Sorry, but this "dumb everything down" attitude really annoys me, because it makes the patronising assumption that I'm not capable of dealing with the increased complexity (which, let's face it, would be very small in this case) and as a result I'm left with a crippled tool which doesn't properly support my development workflows. If you really believe that minimalism and simplicity should trump functionality then I suggest you go and buy a MacBook Wheel.
Reacted by TPS, Ville Korhonen, 霧雨魔理沙, Anne Eagle, Ted Mielczarek, Roscoe A. Bartlett, Alex Ewerlöf, luknw, Arnaud Benhamdine, Daniele Venzano and 55 more
Reacted by Aaron Ng and Chris Trombley
Reacted by TPS, Arnaud Benhamdine, Josh Humber, Nicolas de C, Dorian Thiessen, Timo Kreuzer, Luis, Jan-Philipp Kappmeier, Carlos Paradis and Robert M. Vunabandi
A lot of smart people say: "Everything should be made as simple as possible".
The geniuses say: “Everything should be made as simple as possible, but no simpler.”
Lacking basic important functionality is not simple - it is simpler.
Reacted by Roscoe A. Bartlett, Ville Korhonen, Alex Ewerlöf, Arnaud Benhamdine, Gideon Sireling, Patrik Stutz, andreh12, Stéphane Lavergne, Adam Spiers, Israel G. Lugo and 37 more
My main use for dependencies is to get a clear TODO: I want a way to see issues which don't depend on any other open one, so I can easily focus on leaves and work my way up the tree. Having everything at the same level doesn't scale very well.
Reacted by Marcin Rataj, George, Israel G. Lugo, Nathan Glenn, Bruce Becker, David Braun, Dorian Thiessen, Jesse Thompson, Chris White, James Kibirige and 11 more
Our project (>150 contributors) is quite spread over the world, and all but the simplest PRs/issues have some dependencies. Currently we're using "Depends in X" or "Needed by Y" in the comments or description, but that is usually out of date and doesn't scale.
There's a bunch of external tools (codetree, zenhub) which offer this feature, and IMO it is the main selling point of those. Unfortunately, apart from requesting full access to all your public and private repositories, they're another site, another interface, ... and not free.
Having this integrated into github would be awesome.
Reacted by Norbert Melzer, Alec Benzer, vldtecno, antonsamper, Stéphane Lavergne, Maaartinus, Timo Kreuzer, globalcitizen, Jan-Philipp Kappmeier, London Lowmanstone and 2 more
I do not understand why this change can not be made. If too complex the interface - you can make the functionality optional. Just as you can disable "Issues", "Wiki", "Projects" at both organization level and individual repositories. The same can be done with "Dependency tracking".
Reacted by Stéphane Lavergne, Adam Spiers, Daira-Emma Hopwood, Jesse Thompson, Willem Mulder, Ruslan Baratov, Mirko Raner, Jan-Philipp Kappmeier, London Lowmanstone, Robert M. Vunabandi and 1 more
I do not understand the impatience around this request. It seems that this request is essentially asking Github to be a project management tool like JIRA. Dependency management of issues is not as easy as everyone makes it seem in this thread.
Adding dependency chains to any system requires more than just adding a "link a dependency" button to Github issues and a few new checkboxes to the settings page. It needs to support nested dependency trees, changing and rearranging of dependencies, handling possible circular dependencies, resolving broken dependency chains, etc
Doing a feature like this is less about "complicating the UI" and more about making sure that it is full-fledged enough to actually be useful. But at that point, aren't we just turning Github into JIRA?
Reacted by Michael Peran Truscott, Jon McGuire, Pankaj, Jacob Pratt, Mirko Raner, Jan-Philipp Kappmeier, Maya Puls, lunabunn and Tomas Fülöpp
Reacted by TPS, Maaartinus, Daira-Emma Hopwood, Nguyễn Văn Cao Nguyên, Mirko Raner, London Lowmanstone, Robert M. Vunabandi, lunabunn and modpr
I do not understand the impatience around this request.
Maybe you don't need dependency management as much as other people. That's totally fine. It doesn't make their need any lesser, however :-)
It seems that this request is essentially asking Github to be a project management tool like JIRA.
No, I think you really misunderstood this request - it's nothing like that. Let's recall the original request:
Basic functionality would just be the display of dependencies or reverse dependencies on an issue page, but the ability to make a graph of some kind would be quite nice.
That is light years away from a description of JIRA.
Dependency management of issues is not as easy as everyone makes it seem in this thread.
Sorry, but I disagree.
Adding dependency chains to any system requires more than just adding a "link a dependency" button to Github issues and a few new checkboxes to the settings page. It needs to support nested dependency trees, changing and rearranging of dependencies, handling possible circular dependencies, resolving broken dependency chains, etc
No it doesn't. Sure, those things would be nice, but they can come later (if ever) - there's no reason why this couldn't be developed incrementally, one sensibly small step at a time. That's how all decent software is built.
Doing a feature like this is less about "complicating the UI" and more about making sure that it is full-fledged enough to actually be useful.
I disagree. It would be useful even if all it did was model bi-directional links between issues. Any subsequent sophistication added would incrementally increase the usefulness.
But at that point, aren't we just turning Github into JIRA?
No. JIRA is a completely different beast. (And even if it developed more features similar to JIRA, that wouldn't necessarily be a bad thing.)
Reacted by Adam Dobrawy, Maaartinus, Sander Maijers, Jacob Mandelson, Daira-Emma Hopwood, Jesse Thompson, Michael Peran Truscott, Jon McGuire, James Kibirige, Timo Kreuzer and 14 more
Please do not put words in my mouth. I am not saying the feature isn't needed and shouldn't be implemented, so I am not throwing any baby out of water. What I am saying though is that this type of feature takes a while to get started on so it's good to be patient.
Obviously, you and I disagree on quite a bit, because I totally disagree with most of what you said. You are right in the sense that every piece of software needs to start somewhere, but planning for scalability must come first. Refusing to do this is exactly how bad software starts. You cannot just write code and push things into production without a good foundational plan and prioritization for that code.
Reacted by Pankaj, Emanuele Ianni, Victor Dozal, Pasukaru, Robert M. Vunabandi, Maya Puls, lunabunn and modpr
So... I cannot have any sort of dependency between issues? I currently have an issue, where I'd like to state, that it's being blocked by another issue, which isn't resolved yet.
Of course I could just write a comment - which is in fact, what I'll be doing so. But seeing as GitHub is pretty big, I'd have thought this simple feature, which nearly every other similar product has (at least GitLab and JIRA), is already implemented - except apparently it's not.
No big deal really, because I wouldn't use GitHub for planning and issue tracking in the first place, but it is not my decision, so I am trying to have to workaround less - which brings me back to the question (since stuff has been committed): is there such a feature and I am just too stupid to find it - or is GitHub being simpler than simple?
It's real value comes when you use it to mark PRs as dependent on issues, but it can be used for issue -> issue as well. (In my project, I just get started on a PR anyway and mark it as blocked by the original issue.) Just add opened, edited to the issues trigger in the blocking-issues.yml in the link above.
Here's what it looks like:
If anyone feels a feature is missing, let me know by opening an issue on the repo. I made it for my own personal project so it might not have everything you're looking for, but I'm happy to add it.
If anyone feels a feature is missing, let me know by opening an issue on the repo. I made it for my own personal project so it might not have everything you're looking for, but I'm happy to add it.
Thank you, wow 😮 ! Aren't these actions for the Workflows one creates? I'd love to have a way of marking one issue from the issue tracker as "blocked by" or "blocking" another issue from the tracker. Would this action help me there? And - I beg your pardon already - if it does: how do I make it available in the (private) repository?
Aren't these actions for the Workflows one creates?
Yep, GitHub actions can also be written in JavaScript for more advanced functionality, which is what I did here.
I'd love to have a way of marking one issue from the issue tracker as "blocked by" or "blocking" another issue from the tracker. Would this action help me there?
For issues that are blocked, it creates a comment showing all the issues that are blocking it as well as which ones are closed/still opened. It also applies a label called blocked to the issue/PR. If it's a PR, the action will fail, which means GitHub will show a big X next to the merge button and can be configured to not allow merging until all the blocking issues are closed.
Currently, there is no behavior for issues that are blocking other issues. Leave an issue on the repo if you use this action and you'd like to have it and I'll put it in there (along with any other suggestions you may have).
how do I make it available in the (private) repository?
I haven't tested it in private repositories, but I don't foresee any obvious issues. I'll test it though EDIT: Can confirm, it works on private repositories as well.
Also, I would encourage everyone on this repository to try to build their own actions. GitHub actions are like IDE plugins -- the IDE can't possibly have everything, so people make the things they want and share it with others, who get to choose which plugins are best for them. Odds are GitHub is not going to adopt most of the features on this repository, simply because of the costs, implementation difficulty, or if it's not suitable for the majority of their users.
But that doesn't mean you should stop wanting them! Build them yourself, or even better, search the GitHub Marketplace for an app or an action that does what you want. In most cases, if there isn't one already there that fits your needs, you can build an action by combining other actions together. For example, Labeler and PR Linter can be combined to verify PR titles and leave a label like invalid title if it's not in your chosen format. You are the open source community -- get creative!
@Levi-Lesches Looks great! I actually also want this feature and kinda manually use it by curating "Blocking" and "Blocked by" bullet lists and adding/removing "blocked" and "blocking" labels. An automatic (or semi-automatic) solution would be better. I'll have a look at your action.
What I was asking myself: Does it also work between repositories? So can an issue block an issue from another repo?
Does it also work between repositories? So can an issue block an issue from another repo?
Hm, didn't think about that while implementing. The way it works is it looks for Blocked by #X, #Y, #Z and looks up those issue/PR numbers in the current repo, so no, it wouldn't work between repos. Also, more fundamentally, the bot updates when issues are closed, so it would have no way of being triggered if they're on another repo. Theoretically, I could add in cross-repo support, but then the action would have to update on a schedule instead of on an event.
Leave an issue on the bot's repo if you need this and I can take a crack at it.
I did some quick research and thought I might update you on other options:
dependent-issues action looks pretty nice, it's a different approach than @Levi-Lesches by looking into comments for certain keywords. Also supports dependencies between repos. I guess pick the one that suites your use case most.
Activity
captn3m0 commentedon Jun 13, 2014
I think this would create an unnecessary complication, and make the interface much more complex. Zach once gave an example of a Redmine issue creation page vs GitHub's in one of his talks:
vs
garfieldnate commentedon Jun 13, 2014
Hmm, yes I think they were going for minimalistic and it is very easy to look at compared with the alternative. Perhaps this would be better done by another tool through the GitHub API.
Then again, if it were simply parsed out of the description then it would not complicate the UI.
"depends on: ..."
Mithgol commentedon Jul 1, 2014
I guess you could do it with the current GitHub already. Just write “depends on: …” and then visit all the dependencies and mention your new issue. The mentions are then become displayed on that new issue's page, including the status (open, closed, proposed, merged) of each. I know this trick isn't automated, but for a couple of dependencies even doing it manually won't hurt too much.
mhulse commentedon Jul 1, 2014
Sometimes I'll create a "master" checklist issue that points to all the dependent issues. Example:
The above, in combination with milestones, works pretty good.
Having just tested, as I haven't tried this before, milestones work with checklists too:
bartlettroscoe commentedon May 4, 2016
Just like Trac, it would be nice if a project could decide if it wanted to augment basic GitHub Issues to support more features like dependency tracking. That way, you can have your cake and eat it too (or take as much cake as you want and eat as much as you want).
For interactions with open-source users, the simplicity of GitHub Issues is great. But for serious project tracking, GitHub Issues are majorly lacking.
aspiers commentedon Sep 22, 2016
Sorry, but this "dumb everything down" attitude really annoys me, because it makes the patronising assumption that I'm not capable of dealing with the increased complexity (which, let's face it, would be very small in this case) and as a result I'm left with a crippled tool which doesn't properly support my development workflows. If you really believe that minimalism and simplicity should trump functionality then I suggest you go and buy a MacBook Wheel.
ggeorgiev commentedon Dec 7, 2016
A lot of smart people say: "Everything should be made as simple as possible".
The geniuses say: “Everything should be made as simple as possible, but no simpler.”
Lacking basic important functionality is not simple - it is simpler.
vphantom commentedon Jul 19, 2017
My main use for dependencies is to get a clear TODO: I want a way to see issues which don't depend on any other open one, so I can easily focus on leaves and work my way up the tree. Having everything at the same level doesn't scale very well.
kaspar030 commentedon Oct 6, 2017
Our project (>150 contributors) is quite spread over the world, and all but the simplest PRs/issues have some dependencies. Currently we're using "Depends in X" or "Needed by Y" in the comments or description, but that is usually out of date and doesn't scale.
There's a bunch of external tools (codetree, zenhub) which offer this feature, and IMO it is the main selling point of those. Unfortunately, apart from requesting full access to all your public and private repositories, they're another site, another interface, ... and not free.
Having this integrated into github would be awesome.
ad-m commentedon Oct 21, 2017
I do not understand why this change can not be made. If too complex the interface - you can make the functionality optional. Just as you can disable "Issues", "Wiki", "Projects" at both organization level and individual repositories. The same can be done with "Dependency tracking".
ad-m commentedon Oct 21, 2017
Is there any bot to emulate that by comment commands?
markcellus commentedon Oct 23, 2017
I do not understand the impatience around this request. It seems that this request is essentially asking Github to be a project management tool like JIRA. Dependency management of issues is not as easy as everyone makes it seem in this thread.
Adding dependency chains to any system requires more than just adding a "link a dependency" button to Github issues and a few new checkboxes to the settings page. It needs to support nested dependency trees, changing and rearranging of dependencies, handling possible circular dependencies, resolving broken dependency chains, etc
Doing a feature like this is less about "complicating the UI" and more about making sure that it is full-fledged enough to actually be useful. But at that point, aren't we just turning Github into JIRA?
aspiers commentedon Oct 23, 2017
Maybe you don't need dependency management as much as other people. That's totally fine. It doesn't make their need any lesser, however :-)
No, I think you really misunderstood this request - it's nothing like that. Let's recall the original request:
That is light years away from a description of JIRA.
Sorry, but I disagree.
No it doesn't. Sure, those things would be nice, but they can come later (if ever) - there's no reason why this couldn't be developed incrementally, one sensibly small step at a time. That's how all decent software is built.
I disagree. It would be useful even if all it did was model bi-directional links between issues. Any subsequent sophistication added would incrementally increase the usefulness.
No. JIRA is a completely different beast. (And even if it developed more features similar to JIRA, that wouldn't necessarily be a bad thing.)
In summary: please don't throw the baby out with the bathwater.
markcellus commentedon Oct 23, 2017
Please do not put words in my mouth. I am not saying the feature isn't needed and shouldn't be implemented, so I am not throwing any baby out of water. What I am saying though is that this type of feature takes a while to get started on so it's good to be patient.
Obviously, you and I disagree on quite a bit, because I totally disagree with most of what you said. You are right in the sense that every piece of software needs to start somewhere, but planning for scalability must come first. Refusing to do this is exactly how bad software starts. You cannot just write code and push things into production without a good foundational plan and prioritization for that code.
35 remaining items
Automatically cross off linked issues
Automatically cross off linked issues
voronin-de commentedon May 14, 2021
So... I cannot have any sort of dependency between issues? I currently have an issue, where I'd like to state, that it's being blocked by another issue, which isn't resolved yet.
Of course I could just write a comment - which is in fact, what I'll be doing so. But seeing as GitHub is pretty big, I'd have thought this simple feature, which nearly every other similar product has (at least GitLab and JIRA), is already implemented - except apparently it's not.
No big deal really, because I wouldn't use GitHub for planning and issue tracking in the first place, but it is not my decision, so I am trying to have to workaround less - which brings me back to the question (since stuff has been committed): is there such a feature and I am just too stupid to find it - or is GitHub being simpler than simple?
jerrygreen commentedon May 14, 2021
@voronin-de of course it's a simple feature, pretty much as simple as any of these features:
Levi-Lesches commentedon May 14, 2021
I created a solution for this, if anyone is looking for one:
https://github.com/marketplace/actions/blocking-issues
It's real value comes when you use it to mark PRs as dependent on issues, but it can be used for issue -> issue as well. (In my project, I just get started on a PR anyway and mark it as blocked by the original issue.) Just add
opened, editedto the issues trigger in theblocking-issues.ymlin the link above.Here's what it looks like:
If anyone feels a feature is missing, let me know by opening an issue on the repo. I made it for my own personal project so it might not have everything you're looking for, but I'm happy to add it.
voronin-de commentedon May 14, 2021
Thank you, wow 😮 ! Aren't these actions for the Workflows one creates? I'd love to have a way of marking one issue from the issue tracker as "blocked by" or "blocking" another issue from the tracker. Would this action help me there? And - I beg your pardon already - if it does: how do I make it available in the (private) repository?
Levi-Lesches commentedon May 14, 2021
Yep, GitHub actions can also be written in JavaScript for more advanced functionality, which is what I did here.
For issues that are blocked, it creates a comment showing all the issues that are blocking it as well as which ones are closed/still opened. It also applies a label called
blockedto the issue/PR. If it's a PR, the action will fail, which means GitHub will show a big X next to the merge button and can be configured to not allow merging until all the blocking issues are closed.Currently, there is no behavior for issues that are blocking other issues. Leave an issue on the repo if you use this action and you'd like to have it and I'll put it in there (along with any other suggestions you may have).
I haven't tested it in private repositories, but I don't foresee any obvious issues. I'll test it though EDIT: Can confirm, it works on private repositories as well.
Levi-Lesches commentedon May 14, 2021
Also, I would encourage everyone on this repository to try to build their own actions. GitHub actions are like IDE plugins -- the IDE can't possibly have everything, so people make the things they want and share it with others, who get to choose which plugins are best for them. Odds are GitHub is not going to adopt most of the features on this repository, simply because of the costs, implementation difficulty, or if it's not suitable for the majority of their users.
But that doesn't mean you should stop wanting them! Build them yourself, or even better, search the GitHub Marketplace for an app or an action that does what you want. In most cases, if there isn't one already there that fits your needs, you can build an action by combining other actions together. For example, Labeler and PR Linter can be combined to verify PR titles and leave a label like
invalid titleif it's not in your chosen format. You are the open source community -- get creative!dword-design commentedon May 15, 2021
@Levi-Lesches Looks great! I actually also want this feature and kinda manually use it by curating "Blocking" and "Blocked by" bullet lists and adding/removing "blocked" and "blocking" labels. An automatic (or semi-automatic) solution would be better. I'll have a look at your action.
What I was asking myself: Does it also work between repositories? So can an issue block an issue from another repo?
Levi-Lesches commentedon May 16, 2021
Hm, didn't think about that while implementing. The way it works is it looks for
Blocked by #X, #Y, #Zand looks up those issue/PR numbers in the current repo, so no, it wouldn't work between repos. Also, more fundamentally, the bot updates when issues are closed, so it would have no way of being triggered if they're on another repo. Theoretically, I could add in cross-repo support, but then the action would have to update on a schedule instead of on an event.Leave an issue on the bot's repo if you need this and I can take a crack at it.
dword-design commentedon May 17, 2021
@Levi-Lesches Alright I'll test it soon and maybe create an issue 👍.
dword-design commentedon May 17, 2021
I did some quick research and thought I might update you on other options: