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

User pages shows separate but identical copies of a bundle #518

Closed
ghost opened this issue Feb 1, 2018 · 3 comments
Closed

User pages shows separate but identical copies of a bundle #518

ghost opened this issue Feb 1, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 1, 2018

The user page, https://jujucharms.com/u/elasticsearch-charmers/, shows 2 separate copies of an ELK stack bundle, however they both point at https://jujucharms.com/u/elasticsearch-charmers/elk-stack/

@mitechie
Copy link
Contributor

mitechie commented Feb 1, 2018

Thanks for the report. For some reason the two different revisions of the bundle are listed apart. This is true for both the logged in and out versions of jujucharms.com.

% charm show cs:~elasticsearch-charms/elk-stack
Name			elk-stack
Owner			elasticsearch-charmers
Revision		2
Promulgated		false
Home page		https://launchpad.net/elasticsearch-charm
Bugs url		https://bugs.launchpad.net/elasticsearch-charm
Read			elasticsearch-charmers, everyone
Write			elasticsearch-charmers

CHANNEL			CURRENT
stable			true

% charm show cs:~elasticsearch-charmers/elk-stack-1
Name			elk-stack
Owner			elasticsearch-charmers
Revision		1
Promulgated		false
Home page		https://launchpad.net/elasticsearch-charm
Bugs url		https://bugs.launchpad.net/elasticsearch-charm
Read			elasticsearch-charmers, everyone
Write			elasticsearch-charmers

CHANNEL			CURRENT
stable			false
candidate		true
beta			true
edge			true

% charm show cs:~elasticsearch-charmers/elk-stack-2
Name			elk-stack
Owner			elasticsearch-charmers
Revision		2
Promulgated		false
Home page		https://launchpad.net/elasticsearch-charm
Bugs url		https://bugs.launchpad.net/elasticsearch-charm
Read			elasticsearch-charmers, everyone
Write			elasticsearch-charmers

CHANNEL			CURRENT
stable			true

@mitechie
Copy link
Contributor

mitechie commented Feb 1, 2018

Interestingly the API doesn't return the double result.

https://api.jujucharms.com/charmstore/v5/search?owner=elasticsearch-charmers

{
    SearchTime: 3000000,
    Total: 4,
    Results: [
        {
            Id: "cs:elasticsearch-24"
        },
        {
            Id: "cs:kibana-19"
        },
        {
            Id: "cs:logstash-3"
        },
        {
            Id: "cs:~elasticsearch-charmers/bundle/elk-stack-2"
        }
    ]
}

@mitechie
Copy link
Contributor

mitechie commented Feb 1, 2018

This appears to be juju/charmstore#775 so closing this one and tracking the work there. Thanks for the push on the issue.

@mitechie mitechie closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant