Coder Social home page Coder Social logo

blackjacx / backlog-notifier Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 2.09 MB

Automatically create comments in tickets, including the release version, e.g. at when a PR gets released.

License: MIT License

JavaScript 100.00%
hacktoberfest issues pull-requests release release-automation

backlog-notifier's Introduction

Twitter Follow Donate

Hi there ๐Ÿ‘‹

I'm Stefan and I just discovered this nice trick to show a a full markdown readme on top of my profile page. If you want to have the same checkout this.

This is Me

iOS Developer a.d. 2009 โ€ข iOS / OSX Enthusiast โ€ข WWDC19 โ€ข Passionate Mountainbiker

  • ๐Ÿ”ญ Iโ€™m the first mobile developer of ioki - the best company I've worked for so far. We develop, run and maintain a very powerful Demand-Responsive-Transport system in the name of Deutsche Bahn AG
  • ๐ŸŒฑ Iโ€™m currently learning different things, like SwiftUI, all the niceties of the newest iOS and Xcode, always improve myself in Shell scripting since this was there before the dinosaurs ๐Ÿฆ– and will be there when aliens make friendships with humans ๐Ÿ”ฎ.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on different kinds of open source software
  • ๐Ÿค” Iโ€™m looking for help with my own frameworks
  • ๐Ÿ’ฌ Ask me about just anything on Twitter

Connect with me

Twitter Follow
Mastodon Follow
LinkedIn Follow

Languages and Tools

Swift Xcode Bash Visual Studio Code GraphQL JavaScript Node.js SQL MySQL Git GitHub Terminal

Github Stats

Blackjacx's GitHub Stats
Top Languages

backlog-notifier's People

Contributors

andyl-ioki avatar blackjacx avatar dependabot[bot] avatar stefma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

backlog-notifier's Issues

Support multiple `backlog-ticket-prefix` in one PR

Currently the backlog-notifier supports only one mentioning of the backlog-ticket-prefix in the PR.
But it may happen that a PR fixes multiple backlog tickets.
It would be nice if the tool supports this so one PR will notify multiple backlog issues.

Use associative array for issue references in YML

Convert:

    - uses: blackjacx/[email protected]
      with:
        reference-repo-prefixes: 'BACKLOG, PIT, BUG, FEATURE, UX, QA, BEIWAGEN'
        reference-repo-names: 'backlog, pit-backlog, bugs, feature-requests, ux, qa, beiwagen'

to

    - uses: blackjacx/[email protected]
      with:
        - references:
             - repo-prefix: BACKLOG
                repo-name: backlog
             - repo-name: PIT
                repo-name: pit-backlog
               ....

It will be rendered like this:

{"references"=>[
  {"repo-prefix"=>"BACKLOG", "repo-name"=>backlog}, 
  {"repo-prefix"=>"PIT", "repo-name"=>pit-backlog}

This way ot is easier to preserve the prefix/name relationship. See https://stackoverflow.com/a/17173956/971329 for further infos.

Support an dynamic `CHANGELOG.md` path

Currently the path for the CHANGELOG.md is hardcoded.
So we have to add a file named CHANGELOG.md to the top tevel of the project.
For several reasons, we want to mvoe the location of the file.
it would be great if you could add it as an optional input to the action.

[Hackathon] Extend flexibility by adding `action` input

Extend the action so it can do more things than just post comments on other repo's tickets. Perspectively the GH action should evolve in a new tool called GitHub Issues Manager which is also able to manage GitHub project boards. The main reason behind this is the Backlog Notifier can just post comments at release time. The new parameter should enable the action to also move referenced issues from different repos (bugs, feature-requests, โ€ฆ) to a different lanes (e.g. done) on a specific project board at PR merge time. This shares core functionality from the existing backlog notifier: the identification of referenced issues but will run at a different time: after PR merge.

A second action could be to attach labels to those issues, e.g. QA Ready.

The benefit is that it closes a gap which GitHub cannot do right now and cleans up the developers project boards automatically by moving resolved tickets out of the way so they can focus on the unresolved ones. This also simplifies planning. Right now tickets from other repos on our project board have to be removed manually.

Expected Changes

  • add new optional action parameter which can have the values (notify, move). When an unknown action is specified the action throws an error.
  • add another optional parameter lane which can have an arbitrary string parameter and specifies the lane the issue should be moved to. When no lane is specified the action throws an error.
  • Implement moving of an issue to a new lane
  • Add new test PR to GHTest which we can open/close, like this one: Blackjacx/ghtest#23. (created Blackjacx/ghtest#24)
  • Document the new parameters and refactor the existing documentation to a table which marks required and optional parameters

Write release.sh script

Performing all the steps in the readme by hand is tedious. Instead we can simply create a script that handles that.

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.