← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Formal definition of App ID

 

On Mon, 2013-08-12 at 10:42 -0300, Matias Bordese wrote:
> On Mon, Aug 12, 2013 at 10:26 AM, Martin Albisetti
> <martin.albisetti@xxxxxxxxxxxxx> wrote:
> 
>         On Sun, Aug 11, 2013 at 11:12 PM, Ted Gould <ted@xxxxxxxxxx>
>         wrote:
>         >
>         > I know that basically the App ID format is this:
>         >
>         >   $(pkg)_$(app)_$(version)
>         >
>         > But what I haven't seen is a formal definition of things
>         like which
>         > characters are allowed in each section.  Does such a thing
>         exist?  I'm
>         > guessing everyone has coded different implementation of that
>         check, we
>         > should probably make sure that they align.
>         
>         
>         
>         Matias, could you tell us what the current rules are for the
>         server side?
>         
> 
> 
> Right now, the package namespace and package name are allowed to be
> composed of letters, numbers, dots and hyphens; version is required to
> be formed by numbers and dots (and greater on each update).
> It should be easy to update the restrictions as needed.

When you say letters do you mean [a-zA-Z] or do you allow Unicode
letters as well?  Also, it was a little bit interesting to me that the
version only allows numbers as the versions of our core apps are not
doing that currently.  I'm fine with that restriction, but it's very
"non-Debian" way of doing versions.  Does anyone see an issue with
loosing things like "+devbranch14" ?

Ted

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References