Giter Site home page Giter Site logo

CLI Tool? about release-drafter HOT 9 OPEN

release-drafter avatar release-drafter commented on May 23, 2024 7
CLI Tool?

from release-drafter.

Comments (9)

ssbarnea avatar ssbarnea commented on May 23, 2024 2

I am really interested about a CLI solution one that could be very easy to run in two modes: draft where it would only report what it would change and one that applies the changes. Unless someone will address this I plan to re-implement release-drafter in python as a cli tool, keeping the same config file. (Python because my JS skills are very low). Another feature I am considering is to allow it to be usable with other systems, like GitLab, or whatever other projects may use.

from release-drafter.

oleg-nenashev avatar oleg-nenashev commented on May 23, 2024 1

A simple CLI tool would be really great.
I am working on a wider adoption of Release Drafter in the Jenkins organization (dev list), and it would be great to have a way to diagnose patches locally. Also, such CLI tool could be used to setup continuous integration for Release Drafter config files in .github

from release-drafter.

oleg-nenashev avatar oleg-nenashev commented on May 23, 2024 1

@Casz @toolmantim I am experimenting with that this weekend. Will submit a PR if I manage to produce something operational (requires JS study)

from release-drafter.

toolmantim avatar toolmantim commented on May 23, 2024

Great idea! Assuming we could get it working simply enough with Probot/octokit.

from release-drafter.

toolmantim avatar toolmantim commented on May 23, 2024

Would happily accept contributions for adding CLI commands to the NPM package.

from release-drafter.

ssbarnea avatar ssbarnea commented on May 23, 2024

This is very important because this could be used tu run release-drafter from other CI systems. As long you have github credentials setup (hub login) and you know the repository org/name, you should be able to run it.

from release-drafter.

oleg-nenashev avatar oleg-nenashev commented on May 23, 2024

I am still planning to do something in order to support changelog generation for arbitrary releases in GitHub actions. Now it supports inputs and outputs, and hence there is more justification to have a CLI tool (at least a container-based one)

from release-drafter.

jetersen avatar jetersen commented on May 23, 2024

I had a comment in another PR that should also help with providing a CLI:

you than a release-drafter/cli project as well.

I been thinking about converting the project to typescript. Add lerna to manage release-drafter/core, release-drafter/action, release-drafter/probot

Using actions/typescript-action as a base for release-drafter/action
With this we could potentially not deprecate release-drafter/probot?

As to those using release-drafter/probot be it GitHub enterprise or not can continue using it.
I was even thinking about providing a release-drafter/probot-monitor that would use Github OAuth to provide access to logs for the repos they have "write/(maintainer?)" access to.

#358 (comment)

from release-drafter.

ssbarnea avatar ssbarnea commented on May 23, 2024

Any chance to make this a reality because lack of this option prevents running on already made releases, something quite desirable for project that never had it. The suggestion about repushing tags is something that should not have even being considered, mainly due to security concerns. Tags should never be altered, that's it.

from release-drafter.

Related Issues (20)

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.