git_dependency_prs 0.2.1+1 copy "git_dependency_prs: ^0.2.1+1" to clipboard
git_dependency_prs: ^0.2.1+1 copied to clipboard

Link PRs to git dependencies. Generate update timelines and enforce compliance.

Link PRs to git dependencies. Generate update timelines and enforce compliance.

About #

A lot of packages have necessary PRs that are not merged. This tool helps keep track of open PRs and display a timeline to help see if the changes may have been released so you can update your pubspec.

Installation #

$ dart pub global activate git_dependency_prs

Usage #

Pubspec #

dependency_overrides:
  package:
    git:
      prs:
        - https://github.com/owner/name/pulls/14
      url: https://github.com/owner/name
$ git_dependency_prs check
package (dependency_overrides)
- 11 months ago: https://github.com/owner/name/pull/503 was merged
- 11 months ago: https://github.com/owner/name/pull/504 was merged
- 10 months ago: https://github.com/owner/name/pull/511 was closed
- 10 months ago: https://github.com/owner/name/pull/521 was created
- 10 months ago: https://github.com/owner/name/pull/522 was created
- 7 months ago: Version 2.2.0 released
- 3 months ago: https://github.com/owner/name/pull/610 was created
package (dependency_overrides)
- 27 days ago: Version 5.2.4 released
- 7 hours ago: https://github.com/owner/name/pull/10317 was created

Lint #

$ git_dependency_prs lint
package (dependencies)
- Not in dependency_overrides (gdp_placement)
- No PRs specified (gdp_specify_prs)

This will exit with status code 1 for use in CI

Ignoring lint issues #

dependencies:
  # ignore: gdp_placement, gdp_no_prs
  package:
    git: ...

Troubleshooting #

API rate limit exceeded #

If you see this, you need to pass a GitHub token:

$ git_dependency_prs check -t <token>

Generate a token here: https://github.com/settings/personal-access-tokens/new

2
likes
0
pub points
0%
popularity

Publisher

verified publisheriodesignteam.com

Link PRs to git dependencies. Generate update timelines and enforce compliance.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ansicolor, args, github, intl, pub_api_client, pub_update_checker, timeago, yaml

More

Packages that depend on git_dependency_prs