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

VCS: Don't run submodule commands unless necessary #10590

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

9999years
Copy link
Collaborator

Running git submodule commands is harmless but clutters up the logs, making the tests difficult to debug when run in verbose-mode.

Doesn't seem to impact performance much. I measured a ~1.5% speedup with this code, which is well within error margins.

See: https://github.com/haskell/cabal/pull/7625/files#r709617991

@9999years 9999years marked this pull request as ready for review November 22, 2024 21:08
Copy link
Collaborator

@ulysses4ever ulysses4ever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ulysses4ever
Copy link
Collaborator

No PR template?

I think this is borderline needing a changelog file. Ideally, it wouldn't change anything and won't be noticed, but it is a change in behaviour, strictly speaking. I'd lean on a safe side and add a changelog.

@9999years
Copy link
Collaborator Author

Added a changelog entry! Also added a PR to change the PR template to one I wouldn't delete so much (#10594)

Running `git submodule` commands is harmless but clutters up the logs,
making the tests difficult to debug when run in verbose-mode.

Doesn't seem to impact performance much. I measured a ~1.5% speedup with
this code, which is well within error margins.

See: https://github.com/haskell/cabal/pull/7625/files#r709617991
@9999years 9999years added the merge me Tell Mergify Bot to merge label Dec 5, 2024
@mergify mergify bot added ready and waiting Mergify is waiting out the cooldown period merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days labels Dec 6, 2024
@mergify mergify bot merged commit e6a20a3 into haskell:master Dec 8, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge ready and waiting Mergify is waiting out the cooldown period
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants