On Fri, 30 Apr 2010 17:31:44 -0400, Sebastien Roy
<[email protected]> wrote:
> On 04/30/10 04:04 PM, Albert Lee wrote:
>> On Fri, 30 Apr 2010 15:34:19 -0400, Sebastien Roy
>> <[email protected]>  wrote:
>>> On 04/30/10 03:29 PM, Sebastien Roy wrote:
>>>> A couple of minor questions:
>>>>
>>>> The spec file syntax is also conceptually an exported interface, and
it
>>>> needs a stability level. It would be nice if the spec file syntax
were
>>>> part of the materials (I'm guessing it's documented somewhere
anyway).
>>>>
>>
>> The basic syntax is the same as rpmbuild spec files, and pkgbuild
>> includes
>> a set of predefined macros and supports some additional tags
>> (attributes/keywords): http://pkgbuild.sourceforge.net/man.php
> 
> The initial request in my original comment was for the stability level 
> of the spec file syntax.  I would guess that it's relatively stable 
> since you mention below that it has no concept of versioning, and 
> presumably the format has been used for rpm's for Linux for a very long 
> time.  Is it Committed, Uncommitted, ...?
> 

I have to defer to laca on this one since it's his case. Uncommitted is
probably not unreasonable since packages are already forced to stay in
lock-step with external changes anyway.

>>>> How will the tools handle a hypothetical syntactic change in the spec
>>>> file format? Is there versioning built-in to the format?
>>>>
>>
>> I don't believe a versioning mechanism exists, but one could be
>> constructed based on tags or macros.
> 
> So the absence of such a hypothetical future tag or macro would indicate

> an older version.
> 

That was what I had in mind.

>>>> What kinds of source URLs are supported (e.g., http://, https://,
>>>> file://, ftp://, all of the above?)? Does this deal with HTTP
proxies?
>>>> How?
>>
>> pkgtool invokes external wget for missing sources, so this is probably
>> specified by wget.
> 
> That answers the question, yes.
> 

It occurs to me that the command line for pkgsend and wget (and possibly
pkgadd) should be in the list of imported interfaces. pkg wget was left
Volatile by PSARC/2007/681
(http://arc.opensolaris.org/caselog/PSARC/2007/681/mail has the
discussion). PSARC/2008/190 didn't seem to specify a commitment for
pkgsend?

-Albert

_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to