Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Dependabot version updates for Actions #89

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

EliahKagan
Copy link
Contributor

This enables Dependabot version updates for GitHub Actions only (not Python dependencies), using the exact same configuration as in GitPython.

Since this repository is less active than the GitPython repository, I considered changing the dependabot.yml file to check for updates monthly rather than weekly. But I did not do so, because the GitHub Actions used in this repository's workflow are requested using major versions, and automatically use the latest minor (and, where applicable, patch) version in that major version automatically. As a result, Dependabot only needs to offer updates when a new major version comes out, which is a fairly infrequent event. So it is unlikely that this would ever generate an excessive number of automated pull requests.

Because actions versions were recently updated as part of #88 (in 32d12aa), if this pull request is merged then it should not be expected to cause Dependabot to generate any pull requests in the immediate future.

This enables Dependabot version updates for GitHub Actions only
(not Python dependencies), using the exact same configuration as in
GitPython.
@Byron
Copy link
Member

Byron commented Sep 11, 2023

Thank you, Depandabot sounds like it could be helpful.

I may mention that gitdb and smmap are only useful for the pure-python ODB backend and I'd hope nobody is using it. Yet we have to maintain these packages.

So if there would be a breaking change I'd love to do then it's to remove gitdb as dependency from GitPython. Doing so would mean faster installations and reduced complexity, a big win.

@Byron Byron merged commit 3612999 into gitpython-developers:master Sep 11, 2023
5 checks passed
@EliahKagan EliahKagan deleted the deps branch September 11, 2023 07:30
EliahKagan added a commit to EliahKagan/smmap that referenced this pull request Sep 17, 2023
This updates smmap's CI configuration in ways that are in line with
recent updates to gitdb's. In most cases there is no difference in
the changes, and the reason for the updates is more to avoid
confusing differences than from the value of the changes
themselves. In one case, there is a major difference (fetch-depth).

- gitpython-developers/gitdb#89 (same)

- gitpython-developers/gitdb#90 (same)
  It's just the project, not dependencies, but otherwise the same.

- gitpython-developers/gitdb#92 (opposite)
  This is the major difference. We don't need more than the tip of
  the branch in these tests. Keeping the default fetch-depth of 1
  by not setting it explicitly avoids giving the impression that
  the tests here are doing something they are not (and also serves
  as a speed optimization).

- gitpython-developers/gitdb#93 (same)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants