HACKING.md does not explain how to run snapcraft from a source tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
To hack on snapcraft, the first thing I want to do is reproduce the problem I'm trying to fix while running snapcraft straight from the source tree.
Expected: after following HACKING.md, I can modify any part of snapcraft's source in my checked out VCS tree, immediately run snapcraft, and see the code changes in effect.
Actual: HACKING.md does not appear to explain how to do this. If I run snapcraft, it seems to run out of the virtualenv set up by tools/environme
I tried running:
PYTHONPATH=
This appears to work superficially, but various changes I make to the source tree seem to not have effect, so I think it's incomplete.
This was sorted out in #snapcraft, but HACKING should be updated to suggest `snapcraft --destructive-mode ...` .