Giter VIP home page Giter VIP logo

pr-checker's Introduction

๐Ÿš€ PR-Checker

Detect and update your Pull Requests in batches, it contains a browser extension with cli

English | ไธญๆ–‡

Features

  • โšก๏ธCheck whether the PR submitted by you needs to be updated according to the warehouse
  • โ˜˜ Choose to update your submitted PR by command according to the repository
  • ๐Ÿ”ฅ๏ธ Check whether all PR under your account need to be updated with one click of the command
  • ๐ŸŒท Choose to update all PR under your account by command

How to use BROWSER EXTENSIONS

It's very easy to use, you just need to install
https://chrome.google.com/webstore/detail/pr-checker/gjalikalkhmfboaleppagmeflcfbjiej

BROWSER EXTENSIONS Screenshot

Detect and update your Pull Requests in batches

Detect and update your Pull Requests in batches

How to use CLI?

1.Install

pnpm install pr-checker --global

or

npm install pr-checker --global

or

yarn install pr-checker --global

2.Run command to use pr-checker

  • Set up your GitHub token

Please set GitHub Token for the first use

pr-checker -t #<GH_TOKEN> // set github token
  • Please set your GitHub username for the first use.

For v1.1.1 and lower versions, you need to set the GitHub username for the first use Versions above v1.1.1 will automatically set the username according to the GitHub Token

pr-checker -u #<GH_USERNAME> // set github username
  • Run the run command to check your pr
pr-checker run

3. Select type

? Detect all Repo's PR? ยป - Use arrow-keys. Return to submit.
>   All Repo
    Detect the PR of a certain Repo

4. Select Repo (if you choose Detect the PR of a certain Repo)

? Please select a Repo ยป - Use arrow-keys. Return to submit.
>   baiwusanyu-c/pr-checker
    vuejs/core
    mistjs/vite-plugin-copy-files

After that, the PR will be checked to see if it can be updated

โœ” Please select a Repo โ€บ vuejs/core
[pr-checker]:Checking PR by vuejs/core......
[pr-checker]:โœ” Check PR #7525 completed
[pr-checker]:โœ” Check PR #7502 completed
[pr-checker]:โœ” Check PR #7557 completed
[pr-checker]:โœ” Check PR #7004 completed
[pr-checker]:โœ” Check PR #7457 completed

5. Select PR to update

? Please select the PR that needs to be updated โ€บ 
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7942] -> feat(custom-element): Custom element...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7901] -> fix(runtime-dom): TransitionGroup do...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7891] -> refactor(server-renderer): slotScope...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7837] -> fix(runtime-core): `to` changes duri...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7803] -> feat(compiler-sfc): support props na...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7776] -> fix(hydration): Use decodeHtml when ...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7730] -> fix(compiler-core): using v-once ins...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7716] -> fix(runtime-core): fix error when v-...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7557] -> fix(compiler-ssr): TransitionGroup o...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7541] -> fix(runtime-dom): `transitionGroup` ...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7525] -> feat(runtime-dom): custom element su...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7502] -> fix(server-renderer): getSSRProps ca...
โ—ฏ   <can`t merge:no update>: [vuejs/core]-[#7475] -> fix(runtime-dom): undefined cssvars ...

After the last update is completed, those that do not meet the update conditions (such as code conflicts) will be deemed unable to be automatically updated.

โˆš Update PR by vuejs/core......
โœ” All PR updates completed
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     
โ”‚ number โ”‚ can merge โ”‚ success โ”‚ repo         โ”‚ title                                                                                          โ”‚     
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค     
โ”‚ #7662  โ”‚ false     โ”‚ false   โ”‚ <vuejs/core> โ”‚ feat(customElement): Additional event arguments of CustomEvent                                 โ”‚     
โ”‚ #7557  โ”‚ false     โ”‚ false   โ”‚ <vuejs/core> โ”‚ fix(compiler-ssr): TransitionGroup owns style-scoped properties on SSR                         โ”‚     
โ”‚ #7541  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-dom): `transitionGroup` can render `:slotted` styles                               โ”‚     
โ”‚ #7525  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ feat(runtime-dom): custom element support v-model                                              โ”‚     
โ”‚ #7502  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(server-renderer): getSSRProps can get exposed property                                     โ”‚     
โ”‚ #7475  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-dom): undefined cssvars should not be bound to the element                         โ”‚     
โ”‚ #7457  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-core): boolean type and string type problem during props normalization process     โ”‚     
โ”‚ #7434  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-core): Select elements can preserve data types when stringified                    โ”‚     
โ”‚ #7344  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime): CSSVars can work with Teleport                                                   โ”‚     
โ”‚ #7341  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-core): Fix cssvars reporting error when teleport is disabled                       โ”‚     
โ”‚ #7266  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-core): Correct update renders both old and new dynamic child node arrays are empty โ”‚     
โ”‚ #7151  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(suspense): In nested slots suspense should return to pending state                         โ”‚     
โ”‚ #7108  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(compiler-core): custom directive to empty string syntax error in ssr(#6283 )               โ”‚     
โ”‚ #7004  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-dom): `v-model` can update correctly when the element is an input of type number   โ”‚     
โ”‚ #6783  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ fix(runtime-core):transition missing root node warning used in prod #6752                      โ”‚     
โ”‚ #6224  โ”‚ true      โ”‚ true    โ”‚ <vuejs/core> โ”‚ feat(runtime-core): Update rendering error caused by shallow copy #6221                        โ”‚     
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  

Other

-v ๏ฝœ --version

Display version message

pr-checker -v

-h ๏ฝœ --help

Display help message

-m ๏ฝœ --mode

Use rebase mode or merge mode, the default value is rebase mode

In rebase mode, you can choose a repository or directly rebase all your submitted pr It will call /repos/${repoName}/pulls/${prNumber}/update-branch.

In merge mode, it's an experimental feature . You can merge on repositories you own (except fork repositories) It will call /repos/${repoName}/pulls/${prNumber}/merge. A typical usage scenario is batch processing pr of dependabot (the function of adding to merge queue has not yet been completed). In addition, since the github api does not support importing pr to the merge queue, I used the queue for round-robin requests, so it is not guaranteed that all pr can be successfully merged

pr-checker run -m merge ๏ฝœ rebase

CLI Screenshot

Detect and update your Pull Requests in batches

Detect and update your Pull Requests in batches

Detect and update your Pull Requests in batches

Thanks

pr-checker's People

Contributors

baiwusanyu-c avatar dependabot[bot] avatar innei avatar sxzz avatar wangxiaoshow avatar zhangmo8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pr-checker's Issues

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.