Change collect source will cause collect phase to fail
Bug #1646426 reported by
Robin Winslow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The "collect" file can pull resources from a few different types of sources. For example, from a Launchpad branch (lp:something) or the charm store (cs:something).
If a charm source changes from one to the other, codetree will no longer know what to do with the old directory in the workspace, and you get an error like this one:
bzr: ERROR: Not a branch: "/srv/mnt/
2016-12-01 08:35:09 [ERROR] Codetree: haproxy is not a bzr branch
Mojo should catch this codetree error and clear out erroneous build directories.
Changed in mojo: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
I think mojo is doing what its supposed to. Codetree call failed so spec run was interrupted.
If you need to move repo you can use "overwrite=True" in the codetree config to allow for that to happen.