On Sat, Sep 17, 2011 at 11:44 AM, Raymond Wooninck <tittiatcoke@gmail.com> wrote:
On Saturday 17 September 2011 11:30:03 Ismail Doenmez wrote:
Hi;
Am Sat 17 Sep 2011 11:11:51 AM CEST schrieb todd rme <toddrme2178@gmail.com>:
I notice in several cases there are several OBS packages with the same source files but with multiple spec files. Examples include kdegames4/kdegames4-carddecks and kdebase4-workspace/python-kdebase4.
From the look of of both it seems to be the case that they can be merged indeed. Any expert opinions?
Regards. Hi Todd and Ismail,
I wish that things would be that simple. If you check the spec-file of python- kdebase4, then you know it has a BuildRequires for python-kde4. Checking the spec-file for python-kde4, you can find a BuildRequires for kdebase4- workspace-devel.
As Todd indicated in the past we splitted out packages in separate spec-files based on limitations of the spec-file itself. However there were also some other reasons. One of them I mentioned above as that we never would be able to build things due to dependencies on eachother. Building directly from source on your local workstation is different as that there you normally have an installed KDE environment, but this is not the case with OBS.
Another one is to save BuildPower. Most of the noarch packages are build only for the i586 part and NOT on the x86_64 part. Also it could happen that with splitting out you could build a certain part earlier due to less dependencies than the main package. This would allow that more packages are build at the same moment and this has a positive effect on the total buildtime required for the full project. I know that Lubos spend quite some time in finding out the right split for this.
The maintenaince is not that big as that most of those packages contain a shell script (pre-checkin.sh) that allows us to change only the spec-file for the main package and then this script would transfer the changes to the other spec-files.
My opinion would be to leave them as they are now. But in the end it would be Will to decide how to continue. Maybe an agenda topic for out biweekly team meeting ?
Regards
Raymond
I thought it might be something like that, which is why I asked. On a slightly off-topic note: how do you trigger those shell scripts? I am trying to fix some of the translation summaries and descriptions and the shell scripts don't seem to be triggered automatically in my OBS repos. I've also been manually copying and pasting stuff between the packages. -Todd -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org