← Back to issue list

`--enable-manifest` and `--manifest-image-information` deprecation warnings display when options haven't been used

View original Github issue

Metadata

Project
snapcraft
Number
#4916
Type
issue
State
open
Author
jhenstridge
Labels
Created
2024-07-15 09:05:49+00:00
Updated
2025-03-13 18:37:13+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description When updating the CI for the `snapcore/action-build` Github action, I noticed that it generated warnings like: ``` /usr/bin/sudo -u runner -E snapcraft '--enable-manifest' is deprecated, and will be removed in core24. '--manifest-image-information' is deprecated, and will be removed in core24. ``` I had not passed either of these command line options, instead setting the `SNAPCRAFT_BUILD_INFO` and `SNAPCRAFT_IMAGE_INFO` environment variables (which is [documented as the supported replacement](https://snapcraft.io/docs/build-options#heading--deprecated)). ### To Reproduce In a core22 project, run `SNAPCRAFT_BUILD_INFO=1 SNAPCRAFT_IMAGE_INFO={} snapcraft`. ### Environment Snapcraft 8.3.1 running on Ubuntu 24.04. ### snapcraft.yaml ```shell base: core22 ``` ### Relevant log output ```shell 2024-07-15 17:02:36.558 '--enable-manifest' is deprecated, and will be removed in core24. 2024-07-15 17:02:36.558 '--manifest-image-information' is deprecated, and will be removed in core24. ``` ### Additional context _No response_

Evaluation history

No evaluation history available.