← Back to issue list

hooks: enable command-chain

View original Github issue

Metadata

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

Current evaluation

Merged changes enabling command-chain support in hooks regardless of base. The update passes through user-defined command-chain configurations from snapcraft.yaml without actively enabling it. Approved by one reviewer and passed CI checks.

Suggested action:

No scores available.

Issue body

Enables command-chain regardless of base, but does not actively enable or otherwise use it. It just passes it through if the user configures it in their snapcraft yaml.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged changes enabling command-chain support in hooks regardless of base. The update passes through user-defined command-chain configurations from snapcraft.yaml without actively enabling it. Approved by one reviewer and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged. Enables command-chain support for hooks regardless of base, passing through user-configured snapcraft yaml settings without actively enabling or modifying the feature.
qwen3.6-35b-a3b-mtp-q6 Merged. Enables command-chain support in hooks regardless of base, passing the configuration through from snapcraft.yaml without actively enabling or using it.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1797468 Add support for hook command-chains snapcraft (launchpad) closed Closed without implementation. The feature request for hook command-chain support and hook adapters was abandoned or superseded by newer snapcraft capabilities. No code changes or merges occurred.
75%
#3774 setup assets: ensure hooks when command-chain is present snapcraft merged Merged into main. Fixes hook generation when command-chain is present, resolving extension setup issues. Approved by reviewers and passed CI.
75%
#1026 Add support for hooks. snapcraft merged Merged into master to add hook support to snapcraft. Hooks are now supported via convention by placing executables in the snap/hooks directory or installing them from parts. Approved and passed CI checks.
73%
#3659 meta: add support for hooks snapcraft merged Merged into snapcraft/7.0 branch after reviewer approval and passing CI checks. Adds support for hooks in snapcraft.yaml, modifying four files with 116 additions and 24 deletions while maintaining 100% diff coverage.
72%
#3296 meta: write stubs for command-chain using hooks when needed snapcraft merged Merged: implements command-chain stubs using hooks when needed. Approved by one reviewer, modifying three files with 88 additions and 13 deletions to update metadata generation.
72%
#1824255 snapcraft should use command-chain for hooks snapcraft (launchpad) closed Proposal to use command-chain for snap hooks to automatically configure environment variables was closed without implementation or discussion. The feature remains unaddressed.
71%
#2652 meta: transparently support command-chain snapcraft merged Merged. Removes checks blocking command-chain usage, automatically switching to full-mode when present in app entries. Approved by maintainer, passed CI, and updated 6 files.
71%