Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local charm revision metadata is once again saved #5906

Merged
merged 1 commit into from Aug 4, 2016

Conversation

kat-co
Copy link
Contributor

@kat-co kat-co commented Aug 1, 2016

One of the things the fix for lp:1580418 did is remove obsolete charm documents from mongo. This had the side-effect of resetting a local charm's revision number when the charm was completely removed from the environment. There is another bug where the filesystem cache is not cleared out when a charm is removed, and fixing this bug would also fix this bug, but after discussing with William Reade, it was apparent that the more holistic approach was to bring local charms back into the fold with regards to a charm URL representing a specific revision of a charm archive. Breaking this concept can have many unintended consequences.

Fixes: https://bugs.launchpad.net/juju-core/+bug/1605096

(Review request: http://reviews.vapour.ws/r/5344/)

@kat-co
Copy link
Contributor Author

kat-co commented Aug 2, 2016

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Aug 2, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented Aug 2, 2016

Build failed: Does not match ['fixes-1603221']
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8601

@kat-co
Copy link
Contributor Author

kat-co commented Aug 4, 2016

$$JFDI$$

@jujubot
Copy link
Collaborator

jujubot commented Aug 4, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot
Copy link
Collaborator

jujubot commented Aug 4, 2016

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/8616

One of the things the fix for lp:1580418 did is remove obsolete charm documents from mongo. This had the side-effect of resetting a local charm's revision number when the charm was completely removed from the environment. There is another bug where the filesystem cache is not cleared out when a charm is removed, and fixing this bug would also fix this bug, but after discussing with William Reade, it was apparent that the more holistic approach was to bring local charms back into the fold with regards to a charm URL representing a specific revision of a charm archive. Breaking this concept can have many unintended consequences.

Fixes: https://bugs.launchpad.net/juju-core/+bug/1605096
@kat-co
Copy link
Contributor Author

kat-co commented Aug 4, 2016

$$JFDI$$

@jujubot
Copy link
Collaborator

jujubot commented Aug 4, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 813fef9 into juju:master Aug 4, 2016
@kat-co kat-co deleted the fix-1605096 branch October 4, 2016 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants