Giter Club home page Giter Club logo

danger's Issues

Add checks for Jsonnet

Add Danger checks to check if YAMLs were updated in case any jsonnet template was updated (and vice-versa)

Improve Check for `focus` in Specs

This check accounts for the the newer syntax:

it 'does stuff', :focus do
  ...
end

but not the older format of:

it 'does stuff', focus: true do
  ...
end

# or

it 'does stuff', 'focus' => true do
  ...
end

Add checks for `debug: true`

With the addition of SQLite visualization feature, we need to add a check for debug: true present in configuration examples.

[all] Require link to Issue

PR's should always (I think) include a link to a sized and prioritized Issue.

Exceptions:

  • Version bumps
  • Dependabot PR

Allow for `release/` as branch prefix

There is a convention (perhaps undocumented) for prefixing release branches with release/ instead of feature/. I believe this applies to all Dangerfiles in this project.

Create separate Dangerfiles for gems, services, and config repos

There is currently a Dangerfile at the root of this repo that is used for gems. We should move that into a gems directory and import it into gem repos. Once gems have been updated to use this version, we need to move the incent-api Dangerfile into a services directory here, and update incent-api (as well as any service app repos) to use this new version. Once that is done, we can update Dangerfile at the root of this repo to actually check this repo. We should have four Dangerfiles when this is finished:

  • ./Dangerfile
  • ./gems/Dangerfile
  • ./incent-config/Dangerfile
  • ./services/Dangerfile

`#rendered_programs_changed?` broken

Further discussion of troubleshooting for issue #24, it was discovered that we are running an "instance of Docker within a remote container of Docker". This is not quite desired as it makes troubleshooting and running locally, painful. Open to further discussion here.

(potentially a separate issue)
It's been proposed that we have the logic that determines the program-set in one central location so it can be used within this repository and others as to not duplicate this process.

Address ruby error in incent-config/Dangerfile

If the PR title does not contain the program-set, an unhandled error is raised. We need to check for the program-set in the branch name, and also handle the possibility that neither the PR nor the branch contains a valid program-set.

Check Branch Prefixes

Currently the Dangerfile for incent-config will check for a branch prefix of feature/ or release/. This is a great check that should be applied to gems and services.

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.