Skip to content

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

Merged
cgwalters merged 1 commit into
bootc-dev:mainfrom
ckyrouac:run-fetch-check
Apr 11, 2025
Merged

cgwalters merged 1 commit into
bootc-dev:mainfrom
ckyrouac:run-fetch-check

Conversation

@ckyrouac

@ckyrouac ckyrouac commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

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

Copilot AI left a comment

Copy link
Copy Markdown

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 area/install Issues related to `bootc install` labels Apr 8, 2025

@cgwalters cgwalters left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this!

Comment thread lib/src/install.rs Resolved
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 <[email protected]>
@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
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`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants