source-type breaks remote-build

Bug #1860526 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Medium
Unassigned

Bug Description

If I have a snapcraft.yaml with

juju:
    source: .
    source-type: git

then snapcraft remote-build fails because the source code directory is not the same as the working directory and running go dep from the working directory fails since the source is missing.

Revision history for this message
Chris Patterson (cjp256) wrote :

I think you want "local" for your source-type. `source-type: git` is intended if the `source` points to a git URL (that can be cloned with `git clone $source`.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

I asked Ian to log this bug, it is a valid use case developers have, but more importantly, an existing one.

Changed in snapcraft:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.