Skip to content

install: Deprecate skip-fetch-check, replace with run-fetch-check #1256

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

ckyrouac
Copy link
Collaborator

@ckyrouac ckyrouac commented Apr 8, 2025

This deprecates skip-fetch-check in favor of the inverse, run-fetch-check. Updates docs and tests to reflect the change.


Spawned from #1255 (comment). Opening this for discussion. Also, I'm not sure how to properly deprecate an argument so I just took a stab at it.

@ckyrouac ckyrouac requested a review from Copilot April 8, 2025 15:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • hack/lldb/deploy.sh: Language not supported
Comments suppressed due to low confidence (2)

lib/src/install.rs:1297

  • The deprecation warning references '--skip-check-fetch' instead of the correct '--skip-fetch-check'. Please update the message for consistency.
tracing::warn!("--skip-check-fetch is deprecated and will be removed in a future version");

docs/src/man/bootc-install-to-filesystem.md:105

  • [nitpick] There is trailing whitespace in the '--run-fetch-check' flag documentation; consider removing it for clarity.
**\--run-fetch-check **

@github-actions github-actions bot added documentation Improvements or additions to documentation area/install Issues related to `bootc install` labels Apr 8, 2025
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Thanks for this!

This deprecates skip-fetch-check in favor of the inverse,
run-fetch-check. Updates docs and tests to reflect the change.

Signed-off-by: ckyrouac <ckyrouac@redhat.com>
@ckyrouac ckyrouac changed the title WIP: install: Deprecate skip-fetch-check, replace with run-fetch-check install: Deprecate skip-fetch-check, replace with run-fetch-check Apr 9, 2025
@cgwalters cgwalters merged commit 7505150 into bootc-dev:main Apr 11, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install` documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants