← Back to issue list

Add groups dependency support

View original Github issue

Metadata

Project
craft-parts
Number
#241
Type
pull request
State
open
Author
sergio-costas
Labels
Created
Updated
Closed

Current evaluation

Adds 'groups' to parts for dependency management via 'after'. Author moved it from snapcraft to craft-parts in July 2022, asked maintainer for naming feedback, then went silent. No reviewer engagement in 23 months. Codebase has since undergone major changes (pydantic 2, overlays, partitions).

Suggested action: close stale

Reason: The PR is 4+ years old with last activity 23 months ago. The author asked @sergiusens for naming feedback ('groups' vs 'set', 'cluster', 'unit') in July 2022 and never received a response. The codebase has since undergone a pydantic 2 migration, added overlays and partitions, and significantly restructured parts.py, making this small +44/-1 diff incompatible without a full rework. The feature (part groups) is still unimplemented, but this specific implementation is no longer applicable.

Impact: 40 Quick Win: 30.0 Staleness: 92 Complexity: 25 Confidence: 78

Issue body

This patch allows to add a 'groups' statement to each part, define one or more groups for each one, and use the groups for dependency management. This way, it is possible to add all the binaries and libraries parts to a "binaries" group, and make another part deppend on that group (just using the 'after' statement like with a part name). This is mainly useful in big snapcraft.yaml files with a lot of parts, like the gnome-XX-sdk ones. This MR replaces https://github.com/snapcore/snapcraft/pull/3823 - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 30.0
Staleness: 92
Complexity: 25
Confidence: 78
close stale Adds 'groups' to parts for dependency management via 'after'. Author moved it from snapcraft to craft-parts in July 2022, asked maintainer for naming feedback, then went silent. No reviewer engagement in 23 months. Codebase has since undergone major changes (pydantic 2, overlays, partitions).
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 65
Confidence: 90
close stale Adds 'groups' statement to snapcraft.yaml parts for dependency management. PR is inactive since July 2022, lacks CI and reviewer feedback, and discusses parameter naming. Superseded by project evolution.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 65
Confidence: 90
close stale Introduces a groups statement for part dependency management in snapcraft. Currently inactive for over a year, with maintainers discussing architectural changes to craft-parts and parameter renaming.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 90
close stale Adds part grouping for dependency management in large snapcraft files. The feature was moved to craft-parts and is currently stalled, awaiting a decision on the parameter name with options like set, cluster, or unit under discussion.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#3823 (confidence 85%)

    PR body explicitly states 'This MR replaces https://github.com/snapcore/snapcraft/pull/3823' — the original snapcraft PR that was moved into craft-parts.

Related issues

Issue Project State Summary Similarity
#3823 Add 'groups' statement to parts snapcraft closed Closed and superseded by a new craft-parts pull request. Maintainers recommended the groups dependency feature belong in craft-parts rather than snapcraft, so the contributor migrated the implementation there.
79%