Stores user configuration outside of $XDG_CONFIG_HOME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Low
|
Unassigned | ||
juju-core (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Juju stores user configuration in ~/.juju. Ideally this would be stored alongside the rest of the user-local configuration, in $XDG_CONFIG_
(this will almost always be $HOME/.
I've not yet checked whether juju stores any cache data in ~/.juju; if it does, that would ideally be in $XDG_CACHE_HOME.
Using the XDG basedir spec directories makes it easier to determine what files are precious and what may be discarded,
and so is useful for backup programs or users poking around trying to do manual backups or the like.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: juju-core 1.10.0.
Uname: Linux 3.7.10-linode49 i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Mon May 27 01:11:37 2013
Dependencies:
MarkForUpload: True
SourcePackage: juju-core
UpgradeStatus: Upgraded to raring on 2013-02-28 (87 days ago)
Changed in juju-core (Ubuntu): | |
status: | New → Triaged |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in juju-core: | |
milestone: | none → 2.0-beta4 |
milestone: | 2.0-beta4 → none |
status: | Triaged → Fix Released |
Changed in juju-core (Ubuntu): | |
status: | Triaged → Fix Released |
I am tempted to mark this bug as Wont Fix. The .juju dir contains both configuration, cache, and .local responsibilities. It is also intended to be portable and shareable. Groups share their juju dirs, and a member might have many dirs that represent a collection of environments. The case for spliting the juju dir single-user into XDG location to support a single user is further undermined by the need to support Windows and OS X.