Git Product home page Git Product logo

Comments (6)

MylesBorins avatar MylesBorins commented on July 16, 2024 2

@joyeecheung yup. We could definitely do that to flag the commits. We would need a bot that could poll for labels, land the commits, and push upstream.

TBQH at that point the landing of the commit isn't the biggest deal... it is more about the review of what should / shouldn't land. Although in thinking about it, if the process of landing the commit was abstracted from the review process it would likely be easier to onboard more reviewers, and potentially inspire folks to review their own PRs.

We would likely still need to audit the backlog of un labelled issues... but perhaps it would be easier to inspire people to label if it were an automated process...

from automation.

evanlucas avatar evanlucas commented on July 16, 2024 1

So, I've used https://github.com/evanlucas/node-backport for the past few releases I've done, and it sure makes things easier. Warning: It's pretty raw at this point though.

from automation.

joyeecheung avatar joyeecheung commented on July 16, 2024

IIUC correctly, right now we just backport every PR that has suitable semver labels? Or do lts-watch-x labels do the job?

from automation.

MylesBorins avatar MylesBorins commented on July 16, 2024

@joyeecheung currently I use branch diff to generate a list of commits with a command line

branch-diff v6.x-staging upstream/v8.x --exclude-label semver-major,semver-minor,dont-land-on-v6.x,backport-requested-v6.x,backported-to-v6.x,baking-for-lts --filter-release

and then manually review every commit. The labels are all manual too 😅

from automation.

joyeecheung avatar joyeecheung commented on July 16, 2024

@MylesBorins OK I think I get what you meant now, including certain labels instead of excluding? Yes right now that looks like too much manual pings.

from automation.

phillipj avatar phillipj commented on July 16, 2024

We've already done lots of related work in the github bot, trying to backport PRs and add different labels: nodejs/github-bot/scripts/attempt-backport.js.

Initially it also added dont-land-on-* labels which got disabled after lots of discussions (nodejs/github-bot/acd5bc).

I assume it something similar you're suggesting @MylesBorins with the addition of actually pushing changes to git branches?

from automation.

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.