Re: [opensuse-buildservice] Missing important debian functionality
On Wed, May 28, 2008 at 06:13:06PM +0200, Amilcar do Carmo Lucas wrote:
So you want some more functionality for the "debtransform" program.
Currently you could just add your control file to the "debian tar" file you already have, e.g. debian-xUbuntu_6.06.tar.gz. Yeap I know, but that means lots of code duplication.
Why's that? You already have those debian-<flavor>.tar.gz files, can't you just add another file to them? Or do you want to get rid of them?
If that's not flexible enough, we would need a way to tell debtransform which files to use and what name the files should get, i.e.
debian-xUbuntu_8.04.control -> debian/control
Yeap that would be great, the debian.tar.gz file would provide the base files for all distros, after that the other files would come from the debtransform.
I don't think it is a good idea to imitate the way the source server selects the dsc file in debtransform, one such selection should be enough. So I'd prefer some way of putting this information in the corresponding dsc file. I do not get your idea here.
Well, you already use "Debtransform-*" in your dsc file. Here are two ideas: 1) allow multiple tar files in "Debtransform-Files-Tar". You could use debian.tar.gz for your base files and debian-<flavor>.tar.gz would just contain some files that need to be different. 2) add some new "Debtransform-Files" tag where you can specify in some syntax which files to take and where to put them. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg 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
On Wednesday 28 May 2008 18:22:32 Michael Schroeder wrote:
Why's that? You already have those debian-<flavor>.tar.gz files, can't you just add another file to them? Or do you want to get rid of them? I want to avoid code duplication, I do not want to have four .tar.gz files with 12 common files inside and one file that is different. It creates a maintenance nightmare, and it's hard for an outsider to understand what is going on.
Well, you already use "Debtransform-*" in your dsc file. Here are two ideas:
1) allow multiple tar files in "Debtransform-Files-Tar". You could use debian.tar.gz for your base files and debian-<flavor>.tar.gz would just contain some files that need to be different. This sound really good, thanks for the tip I will try that tomorrow.
2) add some new "Debtransform-Files" tag where you can specify in some syntax which files to take and where to put them. This seams too complicated, both for me, and for you guys.
If 1) works I will document it on the wiki, just like I did with all the trick you guys have told me in the past. Thanks, -- Amilcar Lucas KDevelop.org webmaster --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, May 28, 2008 at 07:56:08PM +0200, Amilcar do Carmo Lucas wrote:
This seams too complicated, both for me, and for you guys.
If 1) works I will document it on the wiki, just like I did with all the trick you guys have told me in the past.
It doesn't work right now, but it'll work later today ;-) M. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday 29 May 2008 13:24:25 Michael Schroeder wrote:
It doesn't work right now, but it'll work later today ;-) Where can I get documentation/help about debtransform syntax ? I searched the wiki but "debtransform" gave no results. Is there some "doxygen like" documentation somewhere ? Where can I browse the source code on-line ?
Regards, -- Amilcar Lucas KDevelop.org webmaster --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, May 29, 2008 at 02:18:59PM +0200, Amilcar do Carmo Lucas wrote:
On Thursday 29 May 2008 13:24:25 Michael Schroeder wrote:
It doesn't work right now, but it'll work later today ;-) Where can I get documentation/help about debtransform syntax ?
What syntax?
I searched the wiki but "debtransform" gave no results.
Hmm, I was pretty sure that it's in the wiki, but I can't find the exat info. But see my mail from 2007 and the discussion: http://lists.opensuse.org/opensuse-buildservice/2007-03/msg00067.html
Is there some "doxygen like" documentation somewhere ? Where can I browse the source code on-line ?
As it's in public svn, use: https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/build/debtr... Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg 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 (2)
-
Amilcar do Carmo Lucas
-
Michael Schroeder