adopt-info not finding desktop files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
Version: 2.43.1+18.04
the adopt-info based on appstream isn't working as intended.
the method `_desktop_
I've added
```
```
which results in
```
usr/share/
/home/me/
```
this is of course wrong as the working directory should be inside the part's directory `/home/
This results in `extract` actually not coming back with any desktop files being detected and rendering the automatic desktop file detection from the build state entirely broken.
ADDITIONALLY
The very same problem appears in the `_adopt_keys` method at snapping time, where the working directory is also the actual working directory of snapcraft while the desktop_file_path (which as I understand is basically what `_desktop_
Changed in snapcraft: | |
milestone: | none → 3.1 |
assignee: | nobody → Sergio Schvezov (sergiusens) |
importance: | Undecided → High |
status: | New → Triaged |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
sergiusens: git clone --branch Neon/unstable https:/ /anongit. neon.kde. org/kde/ kblocks. git PARTS_URI=https:/ /metadata. neon.kde. org/snap/ parts.yaml` for the remaining remote part
12:21 sergiusens: depending on what you want to do kbruch.git might be better though as it has no additional deps besides the build-snap. in either case you'll need `export SNAPCRAFT_