Skip to main content

gg_merge 3.10.0 copy "gg_merge: ^3.10.0" to clipboard
gg_merge: ^3.10.0 copied to clipboard

Various tools and checks for publishing dart packages, e.g. versioning, checks etc.

gg_merge #

Various tools and checks for merging dart packages

Pull requests #

MergeGit creates the pull request on GitHub (gh) or Azure DevOps (az) and sets auto-merge. It starts at most 80 new pull requests a minute and 500 an hour, counted for the whole process (RequestLimit.pullRequests; pullRequestLimit: takes another limit), and repeats a request the provider turns away with a rate limit after a wait. WaitForMerge polls after 2 s, 4 s and 8 s, then every 15 s.

WaitForMerge waits without a time limit for a pull request that only waits — for running checks or a review. It fails with an error naming the pull request as soon as it cannot merge without help:

  • a merge conflict (GitHub mergeable: CONFLICTING, Azure mergeStatus: conflicts)
  • a failed required check (GitHub: gh pr checks --required; Azure: a rejected or broken blocking build or status policy)
  • a branch the branch protection wants up to date (GitHub BEHIND)
  • a merge the provider refused (Azure mergeStatus: failure or rejectedByPolicy)

The reason has to show in three polls in a row, so a state left over from the commit before a push does not end the wait.

1
likes
160
points
1.1k
downloads

Documentation

API reference

Publisher

verified publisherinlavigo.com

Weekly Downloads

Various tools and checks for publishing dart packages, e.g. versioning, checks etc.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, gg_args, gg_console_colors, gg_git, gg_is_flutter, gg_lang, gg_log, gg_process, gg_status_printer, http, matcher, mocktail, path, pub_semver, yaml

More

Packages that depend on gg_merge