Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
Re: [opensuse-buildservice] Automatically package a new upstream version
  • From: Rodrigo Moya <rodrigo@xxxxxxxxxx>
  • Date: Mon, 17 Mar 2008 17:52:57 +0100
  • Message-id: <1205772777.14504.27.camel@xxxxxxxxxxxxxx>
On Mon, 2008-03-17 at 11:57 +0100, Anicka Bernathova wrote:

It would certainly not work in many cases because of some patches, or
changes in the dependencies or for a tons of other reasons. But it would
still work in a lot of cases, wouldn't it?

Unfortunately, although your idea seems great, the problem seems to be very
difficult. I have an experience with much simpler task: update automagically
just a small and quite uniform part of our distribution, perl modules. And
while most of my work is actually done by my update scripts, I still have to
manually and pretty carefully check every single package.

First problem: We have a lots of patches in our packages. Ideally, every
patch should be checked during an update because although it might apply
correctly, it could make no sense anymore or even do some harm. (Upstream can
address the same issue in a very different way than us.)

that's why we need to be more active in upstreaming patches. We have
packages with an insane amount of patches, most of them fixing just
small problems which will be, even if after some modification, accepted
upstream. That's what we are trying to do on the GNOME part
(, but it would
be great if the whole distro did the same. Then, Vincent's idea would be
much easier to implement correctly

Of course, we'll always have to review the resulting package, but in
lots of cases (packages with no patches or with very simple patches) it
would just work.

Second problem: Testing. While perl modules have usually great testcases and
when they build, you can be quite sure they are working, most of other
cannot be tested that easily. My experience says that cases when the package
compiles but does not test are very frequent. As we do not want broken
packages, we would have to write a testsuite, that is able to run
automatically, for every single package.

And third: Although it sounds funny, it is very difficult to produce a RPM
changelog from an upstream changelog automatically. Changelogs have various
formats and even if authors stick to their choice strictly and you know them
all, you probably cannot even distinguish them automatically.

we could use the NEWS files, although again, not all upstream projects
use it :-(
Rodrigo Moya <rodrigo@xxxxxxxxxx>

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups