← Back to team overview

ubuntu-phone team mailing list archive

Re: [Ports] Making system image ports available?

 

Hi,

I asked stgraber for some information and he writes:

###
There's no need for a new tag in the json files, all "path" fields in
the spec have always been defined as "Relative path or URL".
###

Perhaps the clients have not yet implemented the URL case, but that is
where the logic should be. Additionally, there is an upcoming client
change to support http-only servers.

That should be enough to manually build the needed files and host on github.

Alternatively, simply use the system-image server code directly and
just publish the resulting www tree on github or anywhere else just as
some other community porters have succesfully done now (for the Nexus
5).

hth.

On Sun, Mar 2, 2014 at 2:19 PM, f69m <launchpad@xxxxxxx> wrote:
> Hi,
>
> Just wondered, if there is any work in progress to allow making ports using
> the new system image available, similar to
> https://wiki.ubuntu.com/Touch/MakingPortsAvailable?
>
> Looking at ubuntu-device-flash, I noticed the -server= argument. Setting up
> the JSON files for example on GitHub Pages is not a big deal and could serve
> as a temporary replacement, however the script expects that /pool is
> available on that same server.
>
> Would it be possibly to add an optional "server" tag to the files entry? For
> example:
>
>   {
>       "checksum":
> "01af64f0546d031753e5bd7bcea822a3e1dc8c7b397322ad674f10f99c904065",
>       "order": 0,
>       "path":
> "/pool/ubuntu-ba1d394634d274c62ba61249b2e53ddfae2a5e3f2156c6b5bcc43ca572a5bd0d.tar.xz",
>       "server": "https://system-image.ubuntu.com";,
>       "signature":
> "/pool/ubuntu-ba1d394634d274c62ba61249b2e53ddfae2a5e3f2156c6b5bcc43ca572a5bd0d.tar.xz.asc",
>       "size": 338043360
>   }
>
> That would be very helpful to reuse the existing tools for new ports.
>
> Is there anything I can help with? Probably my time would be better spend
> helping to create a general solution for all porters than to hack my own
> deployment/update scripts.
>
> Thanks for any info or pointers!
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp


References