Re: Proposed new charm store API

2014-07-09 Thread Richard Harding
Thanks Aaron, can you add the information and arguments you'd like to make
to the doc. Perhaps add a Missing to the doc and provide the information
you'd like to see returned and such there. Does this need both charms and
bundles? As two calls, in one call, etc.

Rick

On Tue, 08 Jul 2014, Aaron Bentley wrote:

 I haven't gotten a response on this.  juju-reports needs to generate
 statistics across all charms, like the published charm revisions
 shown here: http://reports.vapour.ws/scorecard

 How will it get data on all revisions of all charms?
 stats/counter/archive-upload:*?list=1by=week ?

 Aaron

 On 14-07-07 11:04 AM, Aaron Bentley wrote:
  Thanks.  One thing juju-reports needs is a list of all the charms.
  I think the API spec doesn't include that.
 
  Aaron
 
  On 14-07-07 05:14 AM, roger peppe wrote:
  Francesco Banconi and I have produced a possible specification
  for the new charm store API, combining features from the existing
  charm store API and the charmworld API.
 
  Please take a look and see if it correlates reasonably with your
  own needs.
 
  https://docs.google.com/a/canonical.com/document/d/1ILHRpOe-qDlmjxHBbLUea7InDpehx5_roJ1ynZmcZDc
 
 
 

 --
 Juju-dev mailing list
 Juju-dev@lists.ubuntu.com
 Modify settings or unsubscribe at: 
 https://lists.ubuntu.com/mailman/listinfo/juju-dev

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Proposed new charm store API

2014-07-09 Thread Richard Harding
The idea is that the charm store is growing a lot since the original api
was done. It's gaining a first class entity in bundles, it'll be growing
identity support, search functionality, and other metadata. The api space
is growing and needs to be able to be consistent with other tools as they're
pulled together to provide a single JAAS api.

Now is a good time to revisit how the api would look today if we knew then
what we all know now and see coming. The work here is meant to bring
together the apis of the store, charmworld, and future tasks.

We appreciate feedback in making it the best and most clear api we can put
together that can stand up to the next years of work.

Rick

On Wed, 09 Jul 2014, Gustavo Niemeyer wrote:

 Is there a reason to reinvent the API from the ground up, instead of
 extending what exists today?

 On Mon, Jul 7, 2014 at 6:14 AM, roger peppe rogpe...@gmail.com wrote:
  Francesco Banconi and I have produced a possible specification for the
  new charm store API, combining features from the existing charm store
  API and the charmworld API.
 
  Please take a look and see if it correlates reasonably with your own needs.
 
  https://docs.google.com/a/canonical.com/document/d/1ILHRpOe-qDlmjxHBbLUea7InDpehx5_roJ1ynZmcZDc
 

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Proposed new charm store API

2014-07-09 Thread roger peppe
On 9 July 2014 15:20, Gustavo Niemeyer gust...@niemeyer.net wrote:
 Is there a reason to reinvent the API from the ground up, instead of
 extending what exists today?

We actually started out by thinking that we'd make something
backwardly compatible with the old charm store API, but
we're actually talking about inheriting from two APIs here,
charm-store and charm-world, and after some consideration
we decided to try to make a single API that takes ideas
from both but makes coherent sense in itself.

If we need to provide backward compatibility, we could
do that in a separate name space without changing the
proposed API.

  cheers,
rog.

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Proposed new charm store API

2014-07-08 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I haven't gotten a response on this.  juju-reports needs to generate
statistics across all charms, like the published charm revisions
shown here: http://reports.vapour.ws/scorecard

How will it get data on all revisions of all charms?
stats/counter/archive-upload:*?list=1by=week ?

Aaron

On 14-07-07 11:04 AM, Aaron Bentley wrote:
 Thanks.  One thing juju-reports needs is a list of all the charms.
 I think the API spec doesn't include that.
 
 Aaron
 
 On 14-07-07 05:14 AM, roger peppe wrote:
 Francesco Banconi and I have produced a possible specification
 for the new charm store API, combining features from the existing
 charm store API and the charmworld API.
 
 Please take a look and see if it correlates reasonably with your 
 own needs.
 
 https://docs.google.com/a/canonical.com/document/d/1ILHRpOe-qDlmjxHBbLUea7InDpehx5_roJ1ynZmcZDc

 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTvG1uAAoJEK84cMOcf+9ho9IH/jj80t/tMzRvcnsBiFhaFIFH
doOiaZ5EKmNRl/quDRVetKctgwarElsaoCbRB5jMIoeAIEMT4+IQH0PcnThYYqlc
jOCSooph5AKR15sx3cl0Q6NgOGtu+D03/fjPH3PgHBnMNq+aaRJEkRXn4oo2QWWR
lVoJvmw3DYfcP3N42jkzD7dzmdxPrNl+Nmwu9kd8wAcRB1gvl0VQ+unfUQd1xV2N
sfSgqyBS0lm6Wzya9dQM9QtMEtDkPFY+gBXHfs9sz4DcJ5PfHcwEkoDEqbpGhKzY
BEtRQst+8LZkMAqUW2HiUaVFJ33JEPJ7yuyW/GMt5D6GHAmlXBXD/d+zM+KZzP0=
=0Ds7
-END PGP SIGNATURE-

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Proposed new charm store API

2014-07-07 Thread Aaron Bentley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks.  One thing juju-reports needs is a list of all the charms.  I
think the API spec doesn't include that.

Aaron

On 14-07-07 05:14 AM, roger peppe wrote:
 Francesco Banconi and I have produced a possible specification for
 the new charm store API, combining features from the existing charm
 store API and the charmworld API.
 
 Please take a look and see if it correlates reasonably with your
 own needs.
 
 https://docs.google.com/a/canonical.com/document/d/1ILHRpOe-qDlmjxHBbLUea7InDpehx5_roJ1ynZmcZDc

-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTurcZAAoJEK84cMOcf+9hJSgIAMn7PRLNHrAkDn8iR7bMxDIL
4Vme0NWcDx3WuBJE02WjMhhCI+i1yXdx+C+IpgEkJygOKMdDXMlfZbPGsbci1Plx
qQArdXlk5pA2Qs4b/ctHUyN8Fzl/ZHj4/KhSdhukosVn0JVi9MWgJpsxIJR18mtq
Ve5vtFTw5eDTiUqoZLVP8T/LoG+cKWehNmgxai9OINAiztuEPU3QgGbHO7b5nMVY
I8aI0DoVdA1eqyIPFrm/D4Re37LIdGNLDFavUWXmaQuhaqaSwFrFb8zTsb6OBljc
oLUCd8Uy2U++4864bdzqF/jx/yAdbXqTMhMlNOEHIbdNMjaPkaUBYL1lPcedfMs=
=XnK9
-END PGP SIGNATURE-

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev