Coder Social home page Coder Social logo

jcarranzan / quarkus-backports Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quarkusio/quarkus-backports

0.0 0.0 0.0 584 KB

Backporting Application for the Quarkus Project

License: Apache License 2.0

Shell 1.63% Java 74.51% CSS 2.43% HTML 21.43%

quarkus-backports's Introduction

Quarkus Backporting Application

The Quarkus project moves fast and when we prepare bugfix releases, we usually have several dozens of pull requests to backport.

Using the GitHub UI to do that is feasible but cumbersome.

This small Quarkus application is dedicated to facilitate backporting.

Usage

The index page allows to choose a milestone to backport to:

Index Page

Then the backports page lists all the pull requests marked with the backport label:

Backports Page

You can paste the git cherry-pick command and execute it in a terminal.

Finally, you mark the backport of this pull request as done:

  • It removes the backport label from the pull request.
  • It affects the milestone to backport to to the pull request.

Setup

In your application directory, create a .env file containing your OAuth token:

BACKPORTS_TOKEN=<TOKEN>

Obviously, this token needs write permissions for the repository.

For testing, you obviously don't want to use the Quarkus repository. You can easily target another repository with:

export BACKPORTS_REPOSITORY=my/repository

By default, the label we use to mark the pull requests to backport is triage/backport?. You can easily customize it in the application.properties or use:

export BACKPORTS_LABEL=my-label

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./mvnw quarkus:dev

Packaging and running the application

The application can be packaged using ./mvnw package. It produces the quarkus-backports-1.0-SNAPSHOT-runner.jar file in the /target directory.

The application is now runnable using java -jar target/quarkus-backports-1.0-SNAPSHOT-runner.jar.

Testing the GraphQL

If for any reason you need to change the GraphQL used to query the GitHub API, use https://developer.github.com/v4/explorer/ to test it. Don't forget to update the changed output in the documentation/graphql directory

quarkus-backports's People

Contributors

gsmet avatar dependabot[bot] avatar gastaldi avatar famod avatar rsvoboda avatar

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.