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

zap: chmod -R needed to remove Go modules #34506

Closed

Conversation

b-l-a-i-n-e
Copy link
Contributor

Testing the changes

  • I tested the changes in this PR: YES

@ericonr
Copy link
Member

ericonr commented Dec 13, 2021

Please word the commit a bit more clearly.

And a solution like d7bf8e0 would be welcome because it speeds things up considerably.

In any case, we should be able to pass the necessary flags to Go to make this unnecessary. -rwmodcache in GOFLAGS, according to maldridge.

We need to `chmod -R` to clean up after Go packages if they get moved
into the masterdir. But since the removal of go packages is unnecessary
in most cases, we only run if the first `rm -rf` fails.
@b-l-a-i-n-e
Copy link
Contributor Author

Thanks for taking a look @ericonr, I rebased and pushed up the changes you recommended

@b-l-a-i-n-e b-l-a-i-n-e changed the title ./xbps-src zap deletes all files in masterdir zap: chmod -R needed to remove Go modules Dec 13, 2021
@b-l-a-i-n-e b-l-a-i-n-e closed this Feb 1, 2022
@b-l-a-i-n-e b-l-a-i-n-e deleted the xbps-src-zap-34505 branch February 1, 2022 16:57
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

2 participants