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

[3006.x] Make directory structure the same on WinRepo #66283

Merged
merged 2 commits into from Apr 4, 2024

Conversation

twangboy
Copy link
Contributor

What does this PR do?

Fixes an issue with the winrepo.update_git_repos runner where the directory structure differs when run on a master using gitfs or run on a minion using gitpython.

What issues does this PR fix or reference?

Fixes:

Previous Behavior

When run using gitfs the file path was (salt-run winrepo.update_git_repos on Linux):
/srv/salt/win/repo_ng/salt-winrepo-ng/_/*
When run using GitPython or PyGit2 (salt-call --local winrepo.update_git_repos on Windows):
/srv/salt/win/repo_ng/salt-winrepo-ng_git/*

New Behavior

The directory structure is the same regardless of what system is being used:
/srv/salt/win/repo_ng/salt-winrepo-ng/*

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

@twangboy twangboy requested a review from a team as a code owner March 27, 2024 18:16
@twangboy twangboy requested review from whytewolf and removed request for a team March 27, 2024 18:16
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Make directory structure the same on WinRepo [3006.x] Make directory structure the same on WinRepo Mar 27, 2024
@twangboy twangboy self-assigned this Mar 27, 2024
@s0undt3ch
Copy link
Member

Test failures look valid

Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
@dwoz dwoz merged commit e7b735c into saltstack:3006.x Apr 4, 2024
181 checks passed
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.

None yet

5 participants