Mailinglist Archive: zypp-devel (43 mails)
| < Previous | Next > |
Re: [zypp-devel] Integration of components
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Wed, 25 Apr 2007 15:54:28 +0200
- Message-id: <20070425135428.GB943@xxxxxxxxxxxxx>
* Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx> [Apr 24. 2007 16:53]:
>
> 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*
We should investigate here and get a better feeling on the effort
involved.
>
> 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?
I think doing gradual changes and keep old programs still working is a very
good approach.
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
>
> 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*
We should investigate here and get a better feeling on the effort
involved.
>
> 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?
I think doing gradual changes and keep old programs still working is a very
good approach.
Klaus
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |