snapcraft builds remove snapcraft.yaml, altering 'git describe' output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
In Progress
|
Medium
|
Kyle Fazzari |
Bug Description
https:/
When working with source obtained from a DVCS, Snapcraft should probably not be altering source artifacts placed by the DVCS, because the build may be expecting them to be as delivered by the DVCS.
Bug report requested by elopio@github.
tags: | added: 18.10-build-caching |
Hello John,
We will discuss if removing the snapraft.yaml is needed at all. A workaround for some projects is to set source-type: git, that will copy it to the part source that's used during the build.
In the case of mosh that's not enough because make is called from the build dir, and even with the source-type the yaml is filtered out. We'll figure it out.
thanks a lot for the report!