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

Remove the dependency on Zenhub #41

Open
daira opened this issue Oct 30, 2023 · 1 comment
Open

Remove the dependency on Zenhub #41

daira opened this issue Oct 30, 2023 · 1 comment
Labels
D-decentralization Decentralization enhancement New feature or request

Comments

@daira
Copy link
Contributor

daira commented Oct 30, 2023

Proposal: allow dependencies to be expressed in the initial comment of a ticket, using the following syntax (case-insensitive).

Blocked-by: <list of [[org/]repo]#number>
Blocks: <list of [[org/]repo]#number>

Note that unlike Zenhub, this doesn't prevent creating cycles in the graph. What I suggest is to render a general directed graph rather than a DAG, but colour the arrows that are part of a cycle in red. This makes it clear that cycles are an error and makes them easy to spot in order to fix them manually.

To detect cycles in a directed graph, use any linear-time algorithm for finding strongly connected components, e.g. Tarjan's algorithm, Kosaraju's algorithm, or the Path-based strong components algorithm.

@daira daira added the enhancement New feature or request label Oct 30, 2023
@daira daira added the D-decentralization Decentralization label Jan 29, 2024
@daira
Copy link
Contributor Author

daira commented Jan 29, 2024

This is essential to fully expose the DAG publically and remove one of ECC's information asymmetries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-decentralization Decentralization enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant