expose MOJO_REPO_DIR to templates

Bug #1791565 reported by Paul Collins on 2018-09-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mojo
Low
Paul Collins

Bug Description

Currently for bundles we have to specify local charms like this:

    charm: {{ build_dir }}/../charms/{{ series }}/haproxy

which is pretty clunky. If we were to expose MOJO_REPO_DIR, this could be e.g.:

    charm: {{ repo_dir }}/{{ series }}/haproxy

or even, if we included the series in a new variable, something like

    charm: {{ charm_dir }}/haproxy

Related branches

Paul Collins (pjdc) on 2018-09-12
Changed in mojo:
assignee: nobody → Paul Collins (pjdc)
status: New → Triaged
importance: Undecided → Low
Paul Collins (pjdc) on 2018-09-12
Changed in mojo:
status: Triaged → In Progress
Paul Collins (pjdc) on 2018-09-13
Changed in mojo:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers