Giter Club home page Giter Club logo

dep's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dep's Issues

Make DEP a yellow waiting dot instead of a red cross.

The red cross tells people something failed, but actually it's just waiting. Make this more like WIP, which is a yellow waiting dot for WIP PRs. The effect is the same: can't be submitted, but the message is better.

Bot occasionally stops working

We're running the bot across our org (not self hosted) and recently it's stopped working and we're not sure why. We've got fairly lengthy PR descriptions but adding "depends on #xx" at the start or end doesn't make a difference, nor does capitalisation or the other key words. We've tried a couple of reinstalls, the first time this seemed to fix things, the second time it hasn't. Please let me know how we can get more information to debug this if required!

We have thought about self-hosting it, but wanted to report here first to see if it was a bug, in which case a self hosted instance might not make a difference.

feature request: extend functionality to work with issues

I encounter it way more often that issue depend and/or block each other instead of pull requests. Moreover, several projects I'm involved in have started to manually maintain such "depend", "blocked" issue labels, so I would totally love it if the functionality of this bot is getting extended to support issues as well.

Waiting for status to be reported

Every now and then the Dep app has the following status:

Expected — Waiting for status to be reported

Is there a reason for this or is this a bug? This is still the case after a couple of hours and thus blocking PRs.

Configurable regexes

It would be nice if the regexes could be configured per-repo.
(So that the tool can adapt to the workflow and not the other way around ;))

Examples of commonly used variants in our repo:

Blocked by: #xxx
Merge after: #yyy
Depends on: #zzz

Prevent dependency of a PR on itself

Currently it is possible to create a PR and mark it to have a dependency on itself.

For example when I create the PR #5 and then add a comment to this PR /depends on #5 then dep-bot changes the commit status with the message "Blocked by #5".

Status not changing to pending

Hi, #234 is a open issue but still the PR status is coming as Success instead of Pending. (when dependency is not resolved). Could you please check If something is missing ?. I tried with both open pull request and issues. In Both the cases. the Pr status is not coming as Pending.
Screen Shot 2019-08-04 at 04 27 19

Multiple commands in the same PR are not recognized

Lets say I have the PR #123 and I add two comments to this PR

  • first comment /depends on #121
  • second comment /depends on #122

then the commit status only includes the dependency of the latest comment, i.e. "Blocked by #122".
I would expect to have the status "Blocked by #121 and #122".

Support for explicitly marking it as ok to merge

This app checks PRs & issues that are referenced and decides based on the status.
However, in certain cases it is ok to merge it in and would be great to be able to flag it as ok.

Example - Issue is linked but not closed yet because it needs this PR:
image

DEP is blocking this as it detects this as depending on it given it's still open.

Update base when dependency is merged

If a pull request has a base that is the branch of a dependency pull request, then watch for that dependency to be merged, and update the dependent's base branch to be the branch that the dependency pull request was merged into.

This would effectively allow for pull request chaining, mentioned at isaacs/github#867. Because the dependent pull request would be made as if it were to the dependency, the diff will be clean.

Because pull requests can only have a base on the same repository / fork as the pull request is on, this inherently requires that pull request chains be all on the same repository (except for the leaf, though that's small consolation).

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml
  • The engines config in 1 of your package.json files was updated to the new Node.js version

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Not working

Just installed this bot but I'm afraid it's not working. Not sure how to proceed. Might this have to do with deployment?

Status is not updated when command is edited or removed

The dependency status of a PR is not updated when the comment with the original command is edited or deleted.

For example, when I write the command /depends on #123 then the status is updated to "blocked by #123". When I realize that I’ve made a typo and I edit the comment so it says /depends on #124 then the status is not updated to "blocked by #124".

The same is true for deleting the comment with the command. I would expect the dependency to be removed.

Don't require a / in the beginning

It would be nice if we could simply write the following anywhere in a comment: Depends on #something, #something, and #something and it would work. Writing a slash command in a comment feels weird.

DEP status lost on new commit

I've discovered that DEP currently doesn't act on PRs receiving new commits, which leads to the status being not reported on the most current commit (the one used by github to compute the overall status). That's unfortunate as it prevents me from adding it to the list of required status.

It would be awesome to add DEP to the list of required PR status so that no one can accidentally merge a PR that is awaiting dependencies (eg. because it's based on an other PRs Branch).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.