On Sat, 5 Dec 2009 11:47:43 +0100
Peter Pöml
Hi,
Am 05.12.2009 um 10:28 schrieb Rob OpenSuSE:
Am including Factory list, perhaps in 11.3 a better way of making source available to end users, which avoids big load on Build Service and Mirrors is possible?
Uhm, these are two separate issues: - installability of source RPMs on released openSUSE (which you ran into)
- the multiplication of sources in the build service (which I mentioned just because Karsten mentioned the size of the home: namespace in the build service; I tried to set into perspective where most of the space goes.)
On project list, a request was made for source by someone unfamiliar with openSUSE suggested an ISO; installing source rpm's with YaST is not working as it did in past for me, because only binary packages are held on most of the download.opensuse.org mirrors.
Since the distribution of downloads to mirrors is transparent, well, just let it work for you. And even if all mirrors would stop mirroring source rpms - that wouldn't change their general availability, because we still offer them, and it wouldn't change the way how YaST installs them.
So problems are :
1) source rpm's are changed and re-published over frequently by Build service
That problem affects only the build service - their infrastructure needs more disks, but that's bout it. It shouldn't bother you at least.
It's not about re-publishing by the way. And not about the fact that they change often. It's about duplication. (To fully understand the implications, and in how far they matter, you'll have to read the complete thread that I referenced.)
To give you an example: each source RPMs contains a tarball (the packed sources from the upstream project), a build description, and possible bits like configuration and stuff. If you build Apache, there is a tarball called httpd-2.2.14.tar.bz2 used in the build, and it is included into the source RPM. Since the tarball is about 5MB in size, the size of the source RPM is largely dictated by that. Now, if you build Apache for openSUSE 11.0, 11.1, 11.2, CentOS5 and Factory, you'll create 5 source RPMs, and each will contain the exact same httpd tarball from upstream. That's 25MB all out of a sudden. And before you even notice it, you may have a whole GB of tarballs just from Apache builds, all containing a tarball that is 5MB in size and can be downloaded from upstream at any time. Well, and the build service file tree is consisting of such duplicated sources to a large extent (I estimated 30%-50%). That doesn't affect users, though - download.opensuse.org offers all that for download, because that's the way things should be - but of course nobody wants the stuff.
Which brings up the question: couldn't the source RPM be assembled on the fly as soon as somebody wants to download it? There is (crappy ;) version control in OBS, and you "only" need to record which revision built the binary RPM. Then if someone wants the source RPM for this revision, you just pack it up and send it to him. Should be an interesting Project to implement ;) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org