This problem will affect anyone who switches back and forth between
pre-0.9.14 and post-0.9.14 versions of lazr.restfulclient while
maintaining a consistent home directory. I couldn't think of anyone who
would do this other than Launchpad developers, but obviously you know of
other such people. (Ubuntu developers?) I'm not sure what makes the
heterogenous environment you mention heterogenous, but I assume it's the
Ubuntu release.

So... pre-0.9.14 versions are what they are. I can't change their
behavior (that would make them post-0.9.14 versions). To solve this
problem we will have to change the most recent version of
lazr.restfulclient to keep its cache somewhere other than in
.launchpadlib/[host]/cache. That will prevent an old version of
launchpadlib from picking an incomprehensible document out of a shared
cache.

As it happens, there is an open bug (bug 509168) to make launchpadlib
respect the XDG Base Directory Specification. Implementing this would
move the launchpadlib cache to ~/.cache/launchpadlib/[host]. This would
solve this problem as a side effect.

-- 
Handle HTTP 304's correctly
https://bugs.launchpad.net/bugs/581652
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to