[tools] mrepo and repository metadata

Edward Rudd eddie at omegaware.com
Mon Dec 10 01:45:10 CET 2007


On Dec 7, 2007, at 1:06 PM, Dag Wieers wrote:

> Hi all,
>
> I am announcing a change I would like to do that will impact how mrepo
> works, but before doing it I would like feedback from users.
>
> Currently mrepo creates repositories named RPMS.repo and puts all RPMs
> inside this directory. That works well for apt, yum and old-yum  
> metadata.
> The problem is that for SLES (and specifically NLD9) it needs a  
> different
> directory structure.
>
> For that reason I was looking to change the directory structure  
> that mrepo
> creates. What do people think if we change in an upcoming version the
> directory structure from:
>
> 	dist-arch/
> 		RPMS.repo1/
> 		RPMS.repo2/
> 		disc1/
> 		disc2/
> to:
> 	dist-arch/
> 		apt/
> 			RPMS.repo1/
> 			RPMS.repo2/
> 		iso/
> 			disc1/
> 			disc2/
> 			disc1.iso
> 			disc2.iso
> 		repomd/
> 			repo1/
> 			repo2/
> 		you/
> 			repo1/
> 				i586/
> 				noarch/
> 				src/
> 			repo2/
> 				i586/
> 				noarch/
> 				src/
> 		yum/
> 			repo1/
> 			repo2/
>
> And depending on what metadata you enable, it will create that  
> specific
> directory for you.

Hmm..  How about an option to maintain the *old* directory structure  
except for YOU?
example:
	dist-arch/
		RPMS.repo1/
		RPMS.repo2/
		iso/  (This is ok, kinda separates the ISOs out a little)
			disc1/
			disc2/
			disc1.iso
			disc2.iso
		you/
			repo1
				i586/
				noarch/
				src/

As Personally I really like the short URLs for pointing my systems to  
for updates. (yeah I could do manual sym-links or mod_rewrite rules...)
Are there any plans on supporting SRPMS repos for repomd? As I would  
REALLY like that.


More information about the tools mailing list