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

fix: Debian packages with tar.gz data file #99

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

jjmaestro
Copy link
Contributor

When a Debian package has a data file that's already compressed with gzip and named data.tar.gz it fails with:

Error in genrule: rule 'data' has file 'data.tar.gz' as both an input and an output.

See issue #98

When a Debian package has a data file that's already compressed with gz
and named data.tar.gz it fails with Error in genrule: rule 'data' has
file 'data.tar.gz' as both an input and an output.

See issue GoogleContainerTools#98
@jjmaestro
Copy link
Contributor Author

It passes all the current tests and I've manually tested it in a development branch with one of the problematic CUDA packages. This fix seems to work and the CUDA packages don't fail like they did before. However, I can't get that test to pass as it fails on yet-another issue that I'm trying to debug.

Still, I think the diff is easy to follow and I think it's good to go.

jjmaestro added a commit to jjmaestro/rules_distroless that referenced this pull request Sep 20, 2024
@jjmaestro
Copy link
Contributor Author

@thesayyn I think this fix should go first and then I'll rebase the refactor and other branches. What do you think?

@thesayyn
Copy link
Collaborator

Bear with me as i work through these PRs :) FYI It may take days/weeks.

@thesayyn thesayyn merged commit 35a7d5a into GoogleContainerTools:main Sep 21, 2024
10 checks passed
@jjmaestro
Copy link
Contributor Author

jjmaestro commented Sep 22, 2024

@thesayyn of course!! no worries :) I'll keep the PRs rebased and up-to-date!

@jjmaestro jjmaestro deleted the fix-issue-98 branch September 22, 2024 17:12
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