On 07/10/10 11:50 AM, [email protected] wrote:
Thought of one more.....

I would like to see the primary_source modified somewhat to resemble destination. i.e. add the ability to have a dir there.

So it could be either primary_source(publisher|dir)

The reason being that for cpio it just isn't really correct to have publisher and origin and
force the src path in there. It's really a dir like destination is.

Well, actually what I'd really like is this:

source (publisher|dir)

where publisher can be type = primary or secondary or post-primary or post-secondary
and then like you have it with origin and mirror etc.

and dir is a path
This seems reasonable. Let me look at this and make sure it fits with the intent of reusable software_spec schema. I think it will, just want to take a look.

thanks,
sarah
****

Jean

On 07/ 9/10 01:55 PM, [email protected] wrote:
More comments about software_spec....

Currently transfer supports the ability to modify the default cpio args from -pdum to whatever. Most of the time it's -pdum but there are some exceptions (liveCD has one of those) where you want something else. Should a non-default cpio argument be shown in the manifest? Or are we relying upon the application to know and write that into the DOC?

Is the name for software_spec really optional? If it doesn't have a name, I really don't have a way of figuring out the checkpoint/DOC relationship.

Now on to software spec and how it relates to the ips functionality.

Like Alok, I'm concerned about the primary and secondary source definitions. You only allow 0-1 primary source and 0-1 secondary source. I would say 0+ for secondary.

For me it would be nice to have the primary/secondary sources you specify in the dc area to be in the software_spec area. If I can't get them from parsing the manifest, then Alok will need to put them into the DOC for me which just adds more work for him and more risk.

How about getting rid of the concept of primary and secondary and doing something like this?

/<source type="primary"> # other types could be secondary, post_primary, post_secondary/

/ <publisher name="opensolaris.org"> /

/ <origin name="http://ipkg.sfbay/dev";></origin> /

/ </publisher> /

/ <source> /


Alok had also asked about where the IPS arguments get specified. Is this something we want in the manifest? Or is it something the application will supply on it's own? There are several other attributes that IPS transfer has that fall into this same category (is_zone flag, image_type, and a purge history boolean) that have a default value that will usually be used but in the non-default case where does this info come from, manifest or app?



_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to