bzr pull from $MOJO_SPEC_DIR fails

Bug #1434596 reported by David Ames
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Confirmed
Low
Unassigned

Bug Description

Due to being "inside" the lxc bzr pull from $MOJO_SPEC_DIR fails

$MOJO_SPEC_DIR$ bzr pull
Using saved parent location: /var/lib/lxc/trusty.trusty/rootfs/home/thedac/specs/canonical-mojo-specs/
bzr: ERROR: Not a branch: "/var/lib/lxc/trusty.trusty/rootfs/home/thedac/specs/canonical-mojo-specs/".

Branch shows parent with LXC path rather than host path:
$MOJO_SPEC_DIR$ bzr info
Standalone tree (format: 2a)
Location:
  branch root: .

Related branches:
  parent branch: /var/lib/lxc/trusty.trusty/rootfs/home/thedac/specs/canonical-mojo-specs

If the branch is switched to the host path
$MOJO_SPEC_DIR$ bzr pull --remeber /home/thedac/specs/canonical-mojo-specs

It then fails in more interesting ways
$MOJO_SPEC_DIR$ bzr pull
bzrlib.errors.InaccessibleParent: Parent not accessible given base "file:///srv/mojo/trusty/trusty/ubuntuonair/spec/" and relative path "../../../../../../../../../../../home/thedac/specs/canonical-mojo-specs/"

Related branches

Revision history for this message
David Ames (thedac) wrote :

The original intent of this bug is to be able to do the following:

cd $MOJO_SPEC_DIR
bzr pull

If the project is in a container this fails as described.

Changed in mojo:
importance: Undecided → Low
Revision history for this message
David Ames (thedac) wrote :

More info.

This is low priority. However, I do find when iterating individual mojo phases I need to update the spec after making a change. It would be nice to be able to do a bzr pull. There are other was of handling this, mojo run and mojo workspace-new.

Revision history for this message
Tom Haddon (mthaddon) wrote :

Ah okay. So I believe this will be addressed by the linked branch, which will allow for updating the spec as part of individual phase runs.

Changed in mojo:
status: New → Confirmed
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.