=== ant_ is now known as Guest28866 === urulama__ is now known as urulama === perrito667 is now known as perrito666 === kwmonroe_ is now known as kwmonroe === urulama is now known as urulama__ [20:51] Hey, question about charm2 upload and bundles for the uiteam. I've been told that `charm2 upload` should just work with bundles, but I get a message about about it being unable to open metadata.yaml, which obviously the bundle doesn't have [20:51] Is this the correct command form? charm2 upload ~bigdata-dev/bundles/apache-core-batch-processing [20:51] cory_fu: shouldn't need the /bundles part of the url [20:51] cory_fu: you need to give it a path [20:51] ? [20:52] cory_fu: so if you're in the bundle, use a . after the upload command [20:52] cory_fu: but i've never used upload with a bundle, just charms [20:52] bac: How does it know where to upload it into the store? [20:52] Also, `charm2 upload --help` says to use `charm upload ~bob/bundle/django` [20:53] cory_fu: the help says that the directory of where the bundle lives is optional and the final argument is the charmstore namespace [20:53] Hrm. Using that form (bundle, singular) says it can't find my local path. I think I need to use "bundle" locally as well [20:53] Ah, I see [20:53] cory_fu: so if you don't give a local path it assumes it is in your JUJU_REPOSITORY directory [20:54] Perfect. That worked. Thanks! [20:54] cory_fu: so try charm2 upload . cs:~bigdata-dev/apache-core-batch-processing [20:54] cory_fu: that is why when uploading charms i always have my cwd to be the directory and use . [20:54] cory_fu: ok coolio [20:55] cory_fu: did you need the /bundle in the url or did you drop that? [20:55] cory_fu: yeah, could you paste the command that worked? [20:55] I will also update my local path convention to use "bundle" instead of "bundles" so that it matches the command's expectations [20:55] Yes, I did [20:55] charm2 upload . ~bigdata-dev/bundle/apache-core-batch-processing [20:55] hmm, :( that the bundle was there [20:56] Leaving it out complains about metadata.yaml, so it must be assuming it's a charm [20:56] gotcha, yea that's :( [20:56] we'll have to work on that [20:56] cory_fu: i also like to use the 'cs:' prefix so it is obvious. also it prevents ~ expansion if your local username is the same. [20:56] but clearly not a problem with your example [20:57] bac: Good advice. Seems like it'd be good to update the --help examples to use cs: [20:57] cory_fu: i thought i had. [20:57] cory_fu: it is, but in trunk and not in the release [20:57] ah [20:57] bac: you did, but we've not released a new charm2 lately [20:57] we should do that. :) [20:58] +1, hoping that we get that worked out and updated. the /bundle should be skipable as well. [20:58] * rick_h_ files a bug [21:12] Are we going to get a new release of the GUI soon with the title updates to jujusvg? [21:19] cory_fu: soon, the title updates are in bjt needs a charmstore release [21:20] Also, the X and Y values for placement... Are those for the top-left corner? I notice that the circles for subordinates are smaller than normal services, so it makes calculating the placement a bit harder. [21:23] cory_fu: don't calculate the placement, do it in the GUI then export the bundle [21:23] much easier [21:23] and less error prone for typos :) [21:27] hatch: Any support for grid-snapping in the GUI? [21:28] nope [21:28] Would be nice to have. :) [21:28] yeah it's been on the roadmap for 3 years [21:29] but to much else to do :) [21:29] but honestly building bundles in the gui and then exporting it saves so much time than trying to write it by hand [21:29] even if to just get it close