Git Product home page Git Product logo

gitstream's Introduction

gitstream

Sync two repositories by cherry-picking upstream commits into downstream

Go Reference codecov Go Report Card

gitstream's People

Contributors

dependabot[bot] avatar qbarrand avatar ybettan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gitstream's Issues

Make all PRs drafts except the oldest one

When we are backporting multiple commits that depend on one another, those changes should be committed downstream in the same order to increase the chances of success. To maintain that order, the tool should make all PRs drafts except the most ancient one.

Try to access the OWNERS file locally instead of remotely.

The code is running in the m/s repo context and adding a remote to the u/s repo. Then it is fetching the remote content into a local branch.

This branch may be used in order to read the OWNERS file locally instead of triggering a github API call to read the content.

Getting the commit author returns an error.

ybettan gitstream (main) $ echo $Q
hash:4343445d777ac4259491bf98962c43e34a47641f repo:kubernetes-sigs/kernel-module-management

ybettan gitstream (main) $ curl -L   -H "Accept: application/vnd.github+json"   https://api.github.com/search/commits?q=${Q}
{
  "total_count": 1,
  "incomplete_results": false,
  "items": [
    {
      "url": "https://api.github.com/repos/kubernetes-sigs/kernel-module-management/commits/4343445d777ac4259491bf98962c43e34a47641f",
      "sha": "4343445d777ac4259491bf98962c43e34a47641f",
...
    }
  ]
}
curl: (3) URL using bad/illegal format or missing URL

Make `OWNERS` optional

Currently, the presence of an OWNERS file in the downstream repository is mandatory to use the auto-assign feature. We should make the assignee validation with the OWNERS file optional with a CLI flag.

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.