Bug 179501

Summary: Source-type ZYPP should have a more obvious name
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User --EoyBps8f <forgotten_--EoyBps8f>
Component: YaST2Assignee: Klaus Kämpf <kkaempf>
Status: RESOLVED FIXED QA Contact: Mauro Parra Miranda <mauro>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke, hmuelle, kkaempf, suse-beta
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User --EoyBps8f 2006-05-28 11:22:51 UTC
If one looks at the wiki and the general discussions, people always talk about adding "yast sources", the supplementary-folder even contains the folder "yast_source". ZYPP does not say anthing to any common user.

Since auto-detecting ZYPP sources is not possible, it should be obvious which service-type to choose for a "yast source", by e.g. adding some description to ZYPP, e.g. (common yast-source) or something like that.
Comment 1 Naresh Wignarajah 2006-05-30 17:22:38 UTC
-> Stano ?
Comment 2 Forgotten User --EoyBps8f 2006-05-30 22:38:35 UTC
This is also true for the new zen-thingy and the "add service" dialogue!
Comment 3 Stanislav Visnovsky 2006-06-02 07:19:02 UTC
Stefan, we need to define the terms.
Comment 4 Stefan Horn 2006-06-29 22:43:24 UTC
Correct. Klaus, please help me with a short description of the different service types and I'll let marketing or PM find more descriptive names.
Comment 5 Klaus Kämpf 2006-07-17 08:56:51 UTC
Code10 currently supports two types of repositories
1. 'yast', line based ascii data used by SUSE since ages.
   Pros: Easy to generate, easy to read, easy to read-on-demand (no need to keep everything in memory), small in size, support for translations
   Cons: Used only by SUSE, spreads data across multiple files, extended over the years mostly on ad-hoc basis, no widespread support.

2. 'repomd' (also named 'yum'), XML based
   Pros: Standardized, Easy to extend, Accepted by community, Broad support by tools and libraries
   Cons: A bit harder to generate and parse, no read-on-demand, somewhat bloated (well, its XML), no translations support


The zypp library currently supports auto-detection of both formats (but we will probably remove this capability since it makes error reporting harder).

The current name zypp vs. yum in rug doesn't really denote the repository type but the 'owner'. Since ZMD and zypp both understand the repomd format, we use 'yum' to give ownership to ZMD (resp. rug, zen-*) and 'zypp' to give ownership to zypp (resp. YaST).

Ideally, the source type names should be 'yast' and 'repomd' in the sense listed above (1. and 2.). But this needs some architectural changes in the way ZMD and YaST interact.
Comment 6 Stefan Horn 2006-07-17 10:12:18 UTC
Klaus, thanks for the clarification.
What about NU and RCE? They are available, too... -> another needinfo for you :-)
Comment 7 Klaus Kämpf 2006-07-17 11:02:27 UTC
NU is 'Novell Update', which serves as kind of meta-repository. The main content isn't the metadata but a file containing URLs of other repositories.
We should try to follow (make ?) a standard here.

RCE is 'red carpet enterprise' (aka ZLM 6), an XML format now obsolete.
Comment 8 Stefan Horn 2006-08-31 17:37:43 UTC
Probably we should just write them out in the selection boxes.

We definitively should eliminate the distinction YUM/ZYPP which makes no sense at all. Both are YUM types. So we have:

- YUM
- Novell Update
- Red Carpet Enterprise

Captured everything?
Comment 9 Klaus Kämpf 2006-09-01 10:10:07 UTC
cthiel pointed out that there is no "YUM" repository type. 
The correct name is "repomd", "yum" is a tool to access such a repo.
Comment 10 Christoph Thiel 2006-09-01 10:20:10 UTC
Exactly. Smart calls the repomd "rpm-md", which is another "valid name" ;)

So, if we have the chance to choose a new name instead of YUM --> let go for RepoMD.
Comment 12 Klaus Kämpf 2007-01-10 15:35:50 UTC
Please watch opensuse-factory. Rebecca Walter will take care for name unification.
Comment 15 Klaus Kämpf 2007-01-10 16:56:52 UTC
Forget comment #12. Rebecca will try to unify 'source', 'repository', 'channel', etc. together with the opensuse community.

Naming of repository _types_ (yast, yum, repomd, ...) will be worked on later.
Comment 16 Klaus Kämpf 2007-01-10 16:59:28 UTC
.
Comment 17 Klaus Kämpf 2007-10-05 09:10:27 UTC
Revisit in preparation of Code11
Comment 18 Klaus Kämpf 2007-10-09 08:39:36 UTC
Fixed in 10.3