← Back to issue list

Create envvars for namespaced partitions

View original Github issue

Metadata

Project
craft-parts
Number
#597
Type
issue
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Closed without implementation. The request to create environment variables for namespaced partitions was abandoned or superseded, with no pull requests or code changes submitted.

Suggested action:

No scores available.

Issue body

### What needs to get done Environment variables will contain the namespace and partition name, formatted as $CRAFT_<namespace>_<partition>_{STAGE|PRIME}. For example, ```python lcm = craft_parts.LifecycleManager( partitions = ["default", "component/foo", "component/bar-baz"], ... ) ``` would result in the following environment variables: ``` $CRAFT_STAGE $CRAFT_DEFAULT_STAGE $CRAFT_COMPONENT_FOO_STAGE $CRAFT_COMPONENT_BAR_BAZ_STAGE $CRAFT_PRIME $CRAFT_DEFAULT_PRIME $CRAFT_COMPONENT_FOO_PRIME $CRAFT_COMPONENT_BAR_BAZ_PRIME ``` ### Why it needs to get done To support components in snapcraft

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without implementation. The request to create environment variables for namespaced partitions was abandoned or superseded, with no pull requests or code changes submitted.
qwen/qwen3.6-35b-a3b Closed without implementation or linked pull request. The feature to generate environment variables for namespaced partitions remains unimplemented and appears abandoned.
qwen/qwen3.6-35b-a3b Abandoned. The request to create environment variables for namespaced partitions was closed without implementation or discussion, likely superseded by later snapcraft component support work.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The feature request to create environment variables for namespaced partitions, such as CRAFT_namespace_partition_STAGE, was abandoned. No pull requests or resolutions were submitted.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#596 Handle namespaced partitions in utility functions craft-parts closed Closed without implementation. The task to update path utility functions for namespaced partitions was abandoned, with no linked pull requests or code changes recorded.
71%
#602 feat(partitions): create envvars for namespaced partitions craft-parts merged Merged implementation of environment variables for namespaced partitions, generating CRAFT_DEFAULT_STAGE and CRAFT_COMPONENT_FOO_STAGE. Resolves #597, removes xfail decorators from #600, and passed CI review.
71%