Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

App v2 #11

Merged
merged 23 commits into from
Feb 15, 2018
Merged

App v2 #11

merged 23 commits into from
Feb 15, 2018

Conversation

z0al
Copy link
Owner

@z0al z0al commented Feb 6, 2018

This PR deprecates the /depends and /ensure commands in favor of the new single inline command: depend (no slash). The new command works similar to how you may close issues using keywords on GitHub but only in pull request description.

The following keywords followed by an issue number will mark that issue as a dependency:

  • depend on
  • depends on
  • depended on

Why new syntax?

Why not support both? because I think things will get messy really soon, and the source would be harder to maintain!

Examples

You may write the end of PR description:

Depends on #​1

or it can be anywhere:

This pull request depends on #​1 which does bla bla bla. Oh, and it depends on #​2 too.

All dependencies added using the old commands should be converted automatically (hopefully) to the new syntax. The old commands will just write a deprecation notice.

/CC for review and comments @nesl247, @ryanhiebert @lo1tuma, and @JasonEtco ;)

Resolves #3 and resolves #8

Copy link
Contributor

@ryanhiebert ryanhiebert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good. I didn't run it or anything, but I see a lot that I like here!


[ref]: https://git.io/vNxHZ
[repo]: https://github.com/ahmed-taj/dep
[issues]: https://github.com/ahmed-taj/dep/issues
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cool!

@z0al
Copy link
Owner Author

z0al commented Feb 7, 2018

This PR will be merged into the master branch (=> immediate deploy) on 15 Feb if no issues found. Thanks!

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

Successfully merging this pull request may close these issues.

Allow commands also within PR description Don't require a / in the beginning
2 participants