← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Click Package Version and Other SCA Fields

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/06/13 17:51, Matias Bordese wrote:
> 
> On Mon, Jun 3, 2013 at 1:25 PM, James Tait
> <james.tait@xxxxxxxxxxxxx <mailto:james.tait@xxxxxxxxxxxxx>>
> wrote:
>>>> Screenshot and icons: are these URLs, or binary data
>>>> (probably base64-encoded)?
>>> 
>>> These are Django FileFields, so files are uploaded to the
>>> media directory (and served from there later). Given an app, we
>>> could provide the URLs.
> 
> Right now, since the update_click_index method is using the
> application generated json serialized info, you should be getting
> 'icon_url' (64x64 icon url), 'icon_urls' (all icons urls list),
> 'screenshot_url' (first screenshot url) and 'screenshot_urls' (all
> screenshot urls list) fields with URLs info.

More questions about these:

  1) What format are these? I assume png?
  2) icon_urls - do the list elements have size metadata?
  3) and 4) Same for screenshots. :)

Also, I note that we have a unique ID field, as well as a unique Click
Package field (I recall reading that this would be in reverse-FQDN
format).  I just want to check the both of these are required - I
guess Click Index is only going to see a subset of what's in Software
Centre, and the ID is required by the existing service infrastructure?

Cheers,

JT
- -- 
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services, Web and Ops Team
Ubuntu - Linux for human beings | www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlG1sRwACgkQyDo4xMNTLiZ54QCfbs7AfXhU1KpojR5ZMfXrk5xj
TxoAoIsYQK2j0jN7i/2Osysobm1suVAG
=P/rJ
-----END PGP SIGNATURE-----


Follow ups