← Back to issue list

include SNAPCRAFT_STAGE in XDG_DATA_DIRS, needed to find Gir files built by other parts

View original Github issue

Metadata

Project
snapcraft
Number
#3340
Type
pull request
State
merged
Author
kenvandine
Labels
Created
Updated
Closed

Current evaluation

Merged a two-line change adding SNAPCRAFT_STAGE to XDG_DATA_DIRS, enabling cross-part discovery of built Gir files. Approved by one reviewer and passed all CI checks.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a two-line change adding SNAPCRAFT_STAGE to XDG_DATA_DIRS, enabling cross-part discovery of built Gir files. Approved by one reviewer and passed all CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged kenvandine's change adding SNAPCRAFT_STAGE to XDG_DATA_DIRS, enabling Snapcraft to locate GObject Introspection files built by other parts.
qwen3.6-35b-a3b-mtp-q6 Adds SNAPCRAFT_STAGE to XDG_DATA_DIRS to locate Gir files built by other parts. Successfully merged and integrated into the main branch by external contributor kenvandine.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3414 project loader: export SNAPCRAFT_TARGET_ARCH in build environment snapcraft merged Exported SNAPCRAFT_TARGET_ARCH in the build environment. Merged after single reviewer approval, modifying two files with six additions and two deletions.
71%
#841 Replace SNAPCRAFT_PART_INSTALL in the part attributes. snapcraft merged Merged after dual reviewer approval. Replaced SNAPCRAFT_PART_INSTALL references across seven files with a 70-line update. Reviewers suggested adding cmake integration tests, but the change was merged without them.
70%