← Back to issue list

cli: add experimental --offline option (CRAFT-480)

View original Github issue

Metadata

Project
snapcraft
Number
#3577
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged #3577 via cf22d6a1a, adding an experimental --offline CLI flag that initially only emitted a warning.

Resolution: closed resolved

Reason: PR #3577 was merged as cf22d6a1a, with implementation commit 61ee58a2a, adding the flag and experimental warning. Follow-up PR #3593 later implemented offline network-skipping behavior.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Enabling this option does not affect anything yet, but Snapcraft will warn that it is an experimental flag. We can remove this notice once we believe the offline behaviors are stable. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #3577 via cf22d6a1a, adding an experimental --offline CLI flag that initially only emitted a warning.
stealth/space-bunny-alpha — closed resolved Merged #3577 via cf22d6a1a, adding an experimental --offline flag that only warns for now. #3593 later implemented its network-skipping behavior.
qwen/qwen3.6-35b-a3b — — Merged into master, adding an experimental --offline CLI flag to Snapcraft. The flag currently triggers a warning and performs no actions until offline behavior stabilizes. Approved by two reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged PR #3577 into master, adding an experimental --offline CLI flag. It currently shows a warning without changing functionality. The notice will be removed when offline behavior stabilizes. Coverage increased by 0.03%.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#3593 (confidence 99%)

    Merged follow-up that made lifecycle and provider operations honor offline mode.

Related issues

No related issues found above the similarity threshold.