[opensuse-buildservice] questions about patterns
Hi all, I am trying to create a pattern following the document in http://en.opensuse.org/Build_Service_Tutorial#Create_Patterns and have a few questions. Do patterns work with yast when the repo url has been added as an installation source? Does deletion of patterns work? (osc meta pattern --delete PRJ PATTERN) Its not working for me. Does category name correspond to the headers under patterns in the yast installer(Desktop,Additional Software, etc)? Will a new category be added to the yast installer if this doesn't match an existing one? Are there any existing examples that I should look at that support patterns(.ymp files)? Thanks. Pat --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday 10 April 2008 02:16:47 wrote Patrick Mullaney:
Hi all,
I am trying to create a pattern following the document in http://en.opensuse.org/Build_Service_Tutorial#Create_Patterns and have a few questions.
Do patterns work with yast when the repo url has been added as an installation source?
yes. (at least until 10.3, in Factory, the pattern handling of YaST is afaik a bit broken atm).
Does deletion of patterns work? (osc meta pattern --delete PRJ PATTERN) Its not working for me.
Indeed, this seems to be broken in current osc. Please open a bugreport, thanks :) As current workaround, you can do it directly with the api, this works: curl -0 -b -X DELETE https://api.opensuse.org/source/<project>/_pattern/<patternfile>
Does category name correspond to the headers under patterns in the yast installer(Desktop,Additional Software, etc)? Will a new category be added to the yast installer if this doesn't match an existing one?
I dunno, maybe you should ask this on the zypp / package managing mailing list.
Are there any existing examples that I should look at that support patterns(.ymp files)?
KDE:Backports contains patterns for digikam and amarok, which I created as initial examples. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, Apr 10, 2008 at 3:38 AM, in message <200804100938.49312.adrian@suse.de>, Adrian Schröter
wrote:
On Thursday 10 April 2008 02:16:47 wrote Patrick Mullaney:
Hi all,
I am trying to create a pattern following the document in http://en.opensuse.org/Build_Service_Tutorial#Create_Patterns and have a few questions.
Do patterns work with yast when the repo url has been added as an installation source?
yes. (at least until 10.3, in Factory, the pattern handling of YaST is afaik a bit broken atm). I can't seem to get it work for 10.3.
Does deletion of patterns work? (osc meta pattern --delete PRJ PATTERN) Its not working for me.
Indeed, this seems to be broken in current osc. Please open a bugreport, thanks :)
As current workaround, you can do it directly with the api, this works:
curl -0 -b -X DELETE https://api.opensuse.org/source/<project>/_pattern/<patternfile>
just for others drop the -b and add user:passwd@api.opensuse.org to url syntax
Does category name correspond to the headers under patterns in the yast installer(Desktop,Additional Software, etc)? Will a new category be added to the yast installer if this doesn't match an existing one?
I dunno, maybe you should ask this on the zypp / package managing mailing list.
Are there any existing examples that I should look at that support patterns(.ymp files)?
KDE:Backports contains patterns for digikam and amarok, which I created as initial examples.
These examples seem to be metapackages and use one click - does this work with Yast? And these don't match the above (url) documentation for patterns. I tried using this syntax without success - any ideas?
bye adrian
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Friday 11 April 2008 03:32:01 wrote Patrick Mullaney: ...
Does deletion of patterns work? (osc meta pattern --delete PRJ
PATTERN)
Its not working for me.
Indeed, this seems to be broken in current osc. Please open a
bugreport,
fixed in svn by Marcus Hüwe meanwhile :) ...
Are there any existing examples that I should look at that support patterns(.ymp files)?
KDE:Backports contains patterns for digikam and amarok, which I
created as
initial examples.
These examples seem to be metapackages and use one click - does this work with Yast? And these don't match the above (url) documentation for patterns. I tried using this syntax without success - any ideas?
The examples, when you get them via the api "osc meta pattern" are single pattern files. They are used to create the ymp files. (ymps are basically patterns + repo URLs). In this way, you have only to maintain one file (the pattern) and get automatically the ymps based on your project setup without any additional work. So what you get via api are patterns and what gets exported via software/download.opensuse.org are ymps (plus the patterns in addition inside of the rpm-md meta data). bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Patrick Mullaney