Mailinglist Archive: opensuse-buildservice (339 mails)

< Previous Next >
Re: [opensuse-buildservice] Automatically package a new upstream version
  • From: Vincent Untz <vuntz@xxxxxxxxxx>
  • Date: Mon, 17 Mar 2008 12:24:46 +0100
  • Message-id: <20080317112446.GY25973@xxxxxxxxx>
Le lundi 17 mars 2008, à 11:57 +0100, Anicka Bernathova a écrit :

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.)

Yep, that's one case where it wouldn't 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.

Ah, totally forgot this, yes. The script I quickly wrote to update
packages still forces me to do this manually, indeed.

Oh well, not a big problem. Sounded neat, but I understand it might not
be possible...


Les gens heureux ne sont pas pressés.
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups