Re: [CentOS] CentOS source rpm repository setup

2013-05-22 Thread Toralf Lund
On 22/05/13 01:49, Karanbir Singh wrote:
 On 05/21/2013 10:38 PM, Greg Bailey wrote:
 I opened bug #6462 ( http://bugs.centos.org/view.php?id=6462 )

 to request this... I think this would be a useful feature to have
 available by default.
 Thanks, we can perhaps roll that in as is, but with sources being repo
 specific it can get quite noisy. Overall better goal might be to have a
 single source repo that then covers the point release and splits as well.
Yep. I agree.

I was just going to say that a problem with vault is that you have to 
update the repository location every time the minor version number 
changes. We really want repositories like vault.centos.org/6/os/Source 
and vault.centos.org/6/updates/Source. Unless, that is, we can somehow 
get yum to set up a variable containing a full version number like 6.4.

- Toralf



 - KB



This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS source rpm repository setup

2013-05-22 Thread Karanbir Singh
On 05/22/2013 08:40 AM, Toralf Lund wrote:
 I was just going to say that a problem with vault is that you have to 
 update the repository location every time the minor version number 
 changes. We really want repositories like vault.centos.org/6/os/Source 
 and vault.centos.org/6/updates/Source. Unless, that is, we can somehow 
 get yum to set up a variable containing a full version number like 6.4.

Because of what and how the /X/ release symlinks work - that url style
isnt going to work either. It might beed to be a
vault.centos.org/centos/6-sources/ to include the entire distro stuff.
Which in turn might just be a meta repo, with urls pointing to the
'usual and normal' paths.

Let me look at whats involved to make that happen and we can get a
testing repo online; I then need to get something similar up for the
yum-security infra to work against the binary rpms side of things ( but
is a bigger fish to fry )

Regards

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS source rpm repository setup

2013-05-21 Thread Toralf Lund
Hi.

I thought I might set up my CentOS 6 system with a source rpm repository 
config, so that I'll be able to download srpm files via yumdownloader 
--source or similar. I'm thinking that in order to this, I have to add 
something like the following to the yum repos config:

[base-source]
name=CentOS-$releasever - Base (SRPMS)
baseurl=http://mirror.centos.org/centos/$releasever/os/SRPMS
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates-source]
name=CentOS-$releasever - Updates (SRPMS)
baseurl=http://mirror.centos.org/centos/$releasever/updates/SRPMS
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6


The question is, what I specify as baseurl? The above does not 
actually work, as http://mirror.centos.org/ does not have SRPMS 
subdirectories, although I believe it did in the past for earlier 
versions. So, does anyone know of URLs I can use instead?

Thanks,


- Toralf

This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS source rpm repository setup

2013-05-21 Thread Markus Falb

On 21.Mai.2013, at 15:53, Toralf Lund wrote:

 Hi.
 
 I thought I might set up my CentOS 6 system with a source rpm repository 
 config, so that I'll be able to download srpm files via yumdownloader 
 --source or similar.

…

 The question is, what I specify as baseurl? The above does not 
 actually work, as http://mirror.centos.org/ does not have SRPMS 
 subdirectories, although I believe it did in the past for earlier 
 versions. So, does anyone know of URLs I can use instead?

They moved it into the vault some time ago.
http://vault.centos.org

-- 
Markus
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS source rpm repository setup

2013-05-21 Thread Greg Bailey
On 05/21/2013 09:00 AM, Markus Falb wrote:
 On 21.Mai.2013, at 15:53, Toralf Lund wrote:

 Hi.

 I thought I might set up my CentOS 6 system with a source rpm repository
 config, so that I'll be able to download srpm files via yumdownloader
 --source or similar.
 …

 The question is, what I specify as baseurl? The above does not
 actually work, as http://mirror.centos.org/ does not have SRPMS
 subdirectories, although I believe it did in the past for earlier
 versions. So, does anyone know of URLs I can use instead?
 They moved it into the vault some time ago.
 http://vault.centos.org


I opened bug #6462 ( http://bugs.centos.org/view.php?id=6462 )

to request this... I think this would be a useful feature to have 
available by default.

-Greg

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS source rpm repository setup

2013-05-21 Thread Karanbir Singh
On 05/21/2013 10:38 PM, Greg Bailey wrote:
 
 I opened bug #6462 ( http://bugs.centos.org/view.php?id=6462 )
 
 to request this... I think this would be a useful feature to have 
 available by default.

Thanks, we can perhaps roll that in as is, but with sources being repo
specific it can get quite noisy. Overall better goal might be to have a
single source repo that then covers the point release and splits as well.

- KB

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos