On Wed, 4 May 2011, Stephan Kulow wrote:
On 05/04/2011 09:31 AM, Stephan Kulow wrote:
Am Dienstag, 3. Mai 2011 schrieb Jiri Slaby:
I don't have a problem with that. But only if there is a way to convert from _service to non-_service at the Factory gate. Or is it what will be done when "ban" is forced?
The packages are much easier to update when _service file is used.
Why is it easier? Perhaps I'm seeing the use case differently.
Because one needs to change a single line to update a package from one version to another. Maybe BS can handle URLs from SOURCE line (I'm not sure about this) which would offer the same functionality. However it for example doesn't recompress the tar from big gz's to much smaller bz2's. And there are still people with low bandwidth like me where "osc co" size matters (e.g. llvm is packaged only by gzip -- llvm-gcc .gz ~ 52M, .bz2 ~ 39M). With _service files you download the original tar ball too. Very often even more often than once.
tar_scm is another time-saver. There are perpetual-beta projects with no releases at all (psi+ comes on my mind). The development occurs in a repository and one doesn't need to do snapshots manually or find time stamps of the last prepared snapshot. One "osc service remoterun" does that all. So what you're saying is that you want to update huge sources in the OBS without having them locally. All I want is basically that those sources are
Am Mittwoch, 4. Mai 2011 schrieb Jiri Slaby: then commited as fixed revision into the sourcetree without the service running at every source change, but only if you use e.g. remoterun.
Perhaps we should not forbid _service files in general, but stop regenerating.
I'm not sure what the actual problem is but the time the service is processed bothered me as well. In some discussion with Adrian I suggested that it has to occur exactly once, atomically with the osc commit (so that when it fails the commit fails). I'm not sure where we are currently re-generating stuff. Richard. -- Richard Guenther <rguenther@suse.de> Novell / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer