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

allow to override default boxes cache location #75

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

fcrozat
Copy link
Contributor

@fcrozat fcrozat commented Dec 31, 2024

If KIWI_BOXED_CACHE_DIR environment variable is set, it will be used to store kiwi boxes used for build.

@schaefi schaefi self-requested a review January 7, 2025 09:38
@schaefi
Copy link
Contributor

schaefi commented Jan 7, 2025

@fcrozat Thanks for the PR, this looks good to me and is a nice extension to the plugin. There are two issues not directly related to the implementation.

  1. shellcheck became more picky and complains about SC2317 which can be ignored for the special images.sh. I added a PR to fix this in Fix shellcheck for SC2317 #76
  2. your code should be covered by a test. Please let me know when you want me to jump in for writing the test case

Thanks much

@fcrozat
Copy link
Contributor Author

fcrozat commented Jan 7, 2025

@schaefi thanks for the review. it would be much better that you write the test, I'm not used to this test framework.

fcrozat and others added 2 commits January 7, 2025 11:13
If KIWI_BOXED_CACHE_DIR environment variable is set,
it will be used to store kiwi boxes used for build.
@schaefi
Copy link
Contributor

schaefi commented Jan 7, 2025

@schaefi thanks for the review. it would be much better that you write the test, I'm not used to this test framework.

ok, no problem :) I pushed a commit to your fork and hope this is ok

@schaefi
Copy link
Contributor

schaefi commented Jan 7, 2025

@fcrozat It would be nice if you can add some words to the man page about the new variable

  • kiwi-boxed-plugin/doc/source/commands/system_boxbuild.rst

Thanks much

@schaefi
Copy link
Contributor

schaefi commented Jan 7, 2025

@fcrozat If you find the time it would be great to add a description of the new env var in the man page. After that feel free to rebase your fork into one commit and we can merge (or I will squash commits on merge). As you prefer. Thanks

Copy link
Contributor

@schaefi schaefi left a comment

Choose a reason for hiding this comment

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

looks good, thanks for your work 👍

Once the man page gets some info on the new env var we are ready to merge. Approving in advance of this change. Thanks

@fcrozat
Copy link
Contributor Author

fcrozat commented Jan 7, 2025

@schaefi documentation done

@schaefi schaefi merged commit 99a4b1b into OSInside:main Jan 7, 2025
4 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.

2 participants