Skip to content

Miscellaneous cleanups#235

Merged
bbannier merged 3 commits into
masterfrom
topic/bbannier/cleanups
Jul 17, 2026
Merged

Miscellaneous cleanups#235
bbannier merged 3 commits into
masterfrom
topic/bbannier/cleanups

Conversation

@bbannier

Copy link
Copy Markdown
Member

This PR fixes a number of unrelated minor issues, see the individual commits for more details.

bbannier added 2 commits July 16, 2026 16:08
We previously reused the same variable `status` to store different
values without really sharing them. This made the code harder to follow,
so this patch just gets rid of that sharing.
@bbannier bbannier self-assigned this Jul 17, 2026
@bbannier
bbannier marked this pull request as ready for review July 17, 2026 05:50
@bbannier
bbannier requested a review from awelzel July 17, 2026 05:50

@awelzel awelzel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The last commit needs some rework IMO.

Comment thread zeekpkg/manager.py
Comment thread testing/tests/info-submodules Outdated
Comment thread testing/tests/info-submodules Outdated
@bbannier
bbannier force-pushed the topic/bbannier/cleanups branch from a01b9b0 to 9ba4ca8 Compare July 17, 2026 08:45
This test was hardcoding the URI of a supposedly non-existent repo on
github.com. This not only caused the test to reach out to the internet
just to find nothing, but on some systems it also could have lead to the
test hanging while waiting for a user password prompt to unlock their
keychain.

With this patch we now use an definitely non-existing repo which can be
validated without reaching out to expensive external APIs.

While touching the file we also fix a mispelling of `git commit` as
`gitcommit`; this only failed silently and had no effect on the test
outcome since the changes were committed with another `git commit`
later.
@bbannier
bbannier force-pushed the topic/bbannier/cleanups branch from 9ba4ca8 to c3db68b Compare July 17, 2026 09:14
@bbannier
bbannier merged commit d8f83e3 into master Jul 17, 2026
5 checks passed
@bbannier
bbannier deleted the topic/bbannier/cleanups branch July 17, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants