Mailinglist Archive: zypp-devel (43 mails)

< Previous Next >
[zypp-devel] Integration of components
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Tue, 24 Apr 2007 16:53:33 +0200
  • Message-id: <200704241653.34325.dmacvicar@xxxxxxx>

I have been thinking how to do what is the most difficult part, und this is 
integrating the pieces together so they make some sense, so then we can have 
something working that makes much easier to fill the mssing parts

The problem is, breaking one piece while we adapt the others.

Proposal, not perfect but I think it is at least doable:

- Reimplement from scratch
-> SourceFactory, SourceManager, Source and SourceImpl
as Repository*

That way there will be 2 ways of managing the sources. This will not break old 
apps. The only caveat (tip by Michael), is to make resolvables have a link to 
_either_ a Source or a new Repository, basically, both, just to make it work 
(old commit will use source, new commit use the repository info, only info as 
sources dont handle media anymore)

Then we can fork zypper and try to make it work with cached sources, but the 
old programs still work, until we port all, and then we remove the old 
classes.

what do you think?

-- 
Duncan Mac-Vicar Prett  
Novell :: SUSE R&D, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >