Mailinglist Archive: zypp-devel (116 mails)

< Previous Next >
Re: [zypp-devel] Extending pattern definition
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 22 Jun 2007 14:30:32 +0200
  • Message-id: <20070622123032.GA25690@xxxxxxx>
On Fri, Jun 22, Jiri Srain wrote:

> Hi!
> 
> In order to allow workflows bound to patterns we need to extend the pattern 
> definition on the media as well as the database and in-memory representation 
> of a pattern. We need following tags:
> 
> "workflow_file" : string // file describing the workflow on the media
> "workflow_file_checksum" : the same as other checksums
> "workflow_order" : string // to allow ordering, string for better 
> extendibility
> 
> (the names can be adapted to fit attribute naming schema)
> 
> The suggestions for the SuSEtags metadata format are
> 
> =Wkf
> =WkfCSum (if not specified in content file)
> =WkfOrd
> 
> ZYPP is not required to process this data anyhow (maybe except the checksum?), 
> all that's needed is to deliver the data to YaST. The update of package 
> bindings will be trivial.

- But why putting this into the pattern definition? 
  Why not one (separate) file that maps pattern<->workflow, but spreading 
  it across several locations? 


- workflow_file and workflow_file_checksum must appear in the content 
  file anyway. 

  Otherwise we had to parse all the patterns to see whether a workflow 
  file changed and we must refresh. And changing the workflow would 
  require reloading the pattern (because of the changed checksum)


-- 

cu,
    Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862  27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres             YaST Development            ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF:  Markus Rex,  HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References