[opensuse-buildservice] building rpm/deb together
IIUC, Debian package building requires addition of <package>_<version>.dsc and <package>_<version>.orig.tar.gz. Is that correct? Two related questions: - Is there a way to save us from always uploading *both* <package>_<version>.tar.bz2 (for RPM) and <package>_<version>.orig.tar.gz (for DEB) even though they're identical? - Will the build service be smart enough to only trigger a rebuild of Debian packages if the .dsc/.orig.tar.gz files change and only trigger a rebuild of RPM package generation if the .spec/.tar.bz2 files change? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Monday 04 September 2006 10:38 schrieb Thomas Anders:
IIUC, Debian package building requires addition of <package>_<version>.dsc and <package>_<version>.orig.tar.gz. Is that correct? Two related questions:
- Is there a way to save us from always uploading *both* <package>_<version>.tar.bz2 (for RPM) and <package>_<version>.orig.tar.gz (for DEB) even though they're identical?
the only solution, which do I find so far is to use the .orig tar ball also inside of the spec files. Yes, not nice, but rpm is more flexible than deb is. I would be happy about any better proposal ...
- Will the build service be smart enough to only trigger a rebuild of Debian packages if the .dsc/.orig.tar.gz files change and only trigger a rebuild of RPM package generation if the .spec/.tar.bz2 files change?
It is. -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Sep 04, 2006 at 10:41:54AM +0200, Adrian Schröter wrote:
- Will the build service be smart enough to only trigger a rebuild of Debian packages if the .dsc/.orig.tar.gz files change and only trigger a rebuild of RPM package generation if the .spec/.tar.bz2 files change?
It is.
It's not. It just looks at any source change. Sorry, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Monday 04 September 2006 11:43 schrieb Michael Schroeder:
On Mon, Sep 04, 2006 at 10:41:54AM +0200, Adrian Schröter wrote:
- Will the build service be smart enough to only trigger a rebuild of Debian packages if the .dsc/.orig.tar.gz files change and only trigger a rebuild of RPM package generation if the .spec/.tar.bz2 files change?
It is.
It's not. It just looks at any source change.
indeed, sorry, I misunderstood the question :/ -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michael Schroeder wrote:
On Mon, Sep 04, 2006 at 10:41:54AM +0200, Adrian Schröter wrote:
- Will the build service be smart enough to only trigger a rebuild of Debian packages if the .dsc/.orig.tar.gz files change and only trigger a rebuild of RPM package generation if the .spec/.tar.bz2 files change? It is.
It's not. It just looks at any source change.
Are there any plans to improve this? It'd certainly prevent wasting valuable build server resources too much. Another way to avoid unnecessary rebuilds may be to allow users to toggle the "automatic rebuild on any source change" feature. It'd allow me to work on improving behaviour on specific platform(s) while manually triggering rebuilds on particular platform(s) (using the approach discussed here recently). When I'm done, I'd probably enable the convenient "automatic rebuild on any source change" feature again. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Sep 04, 2006 at 12:06:53PM +0200, Thomas Anders wrote:
Another way to avoid unnecessary rebuilds may be to allow users to toggle the "automatic rebuild on any source change" feature. It'd allow me to work on improving behaviour on specific platform(s) while manually triggering rebuilds on particular platform(s) (using the approach discussed here recently). When I'm done, I'd probably enable the convenient "automatic rebuild on any source change" feature again.
Yes, we want to provide three settings for automatic rebuilds: - no automatic rebuilds, - automatic rebuilds just when the source is changed, - full automatic rebuilds, i.e. when the source or a package that this package depends on is changed. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Michael Schroeder
-
Thomas Anders