Charm bundles should work with symlinks
Bug #928348 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Kapil Thangavelu |
Bug Description
Several charms already make use of relative symlinks, charm bundle should support relative symlinks within the charm directory.
Related branches
lp:~hazmat/pyjuju/symlink-guard
- Jim Baker (community): Approve
- Benjamin Saller (community): Approve
-
Diff: 276 lines (+116/-9)8 files modifiedjuju/agents/unit.py (+1/-1)
juju/charm/bundle.py (+8/-1)
juju/charm/directory.py (+37/-3)
juju/charm/errors.py (+13/-0)
juju/charm/tests/test_bundle.py (+21/-0)
juju/charm/tests/test_directory.py (+27/-2)
juju/charm/tests/test_errors.py (+8/-1)
juju/charm/tests/test_repository.py (+1/-1)
Changed in juju: | |
milestone: | none → florence |
importance: | Undecided → Medium |
Changed in juju: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | New → Confirmed |
Changed in juju: | |
status: | Confirmed → In Progress |
Changed in juju: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Excerpts from Kapil Thangavelu's message of Tue Feb 07 16:26:37 UTC 2012:
> Public bug reported:
>
>
> Several charms already make use of relative symlinks, charm bundle should support relative symlinks within the charm directory.
>
> ** Affects: juju
> Importance: Medium
> Status: New
>
> ** Changed in: juju
> Milestone: None => florence
>
> ** Changed in: juju
> Importance: Undecided => Medium
>
After some discussion on irc/juju-dev we decided against absolute symlinks,
only relative symlinks internal to the charm.