[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gambas-package-config] Automatic generation of OBS configuration
[Thread Prev] | [Thread Next]
- Subject: Re: [gambas-package-config] Automatic generation of OBS configuration
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Tue, 3 Dec 2024 11:52:52 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 03/12/2024 à 04:02, gbWilly a écrit :
On Tuesday, December 3rd, 2024 at 02:03, Benoît Minisini benoit.minisini@xxxxxxxxxxxxxxxx <mailto:benoit.minisini@gambas- basic.org> wrote:Le 03/12/2024 à 00:02, gbWilly a écrit : I have been working at that, but in new master I do not know where to put my changes. The template files for Debian are located in the 'template/debian' directory. Those are the files that must be updated. I get it but your debian12 recipe folder has 20 files, mine has 133!! You control file has code in there to insert stuff. Impossible to compare.
> ... You don't really get it then... :-)All files in '.obs' directory are generated by 'gambas-package-config', so it's useless to modify them. It's the templates inside 'gambas-package-config' that must be modified.
Then comparison between your recipe files and the ones generated by 'gambas-package-config' is not done by hand! Have you never heared of 'diff' or 'meld'?
You must unpack the 'debian-xxx.tar.gz' file in a directory (let's name it 'obs-debian'), and compare it with your the directory of your own recipes (let's name it 'my-debian') by running the following command:
$ meld obs-debian my-debianYou will get a automatic and graphic comparison of all files in the two directories line by line.
I can do that too, but if you see the differences graphically, you will immediately see what is wrong, far faster than me.
Next about the .dsc file:The .dsc file is based on another recipe and pointing to debian as upstream instead of gambas gitlab as upstream.The .dsc should be generated from source + your recipe and next modified slightly (native to quilt, version needs -1 added, checksums can go and specific osb references to debian.tar.gz etc needs to be added)
OK, I will fix that.
To see what needs to be different it is again easier that I make a complete new .dsc file based on my current most recent recipe, place that in .osb and do a merge request. But, is it okay merging into .osb folder as it looks like a final result folder?
As I said before, no. It's the template file and its associated commands that must be fixed.
Again online on gitlab you can then very clearly see the all differences between your version .dsc and the merge request .dsc even before accepting and thus know where to adapt your code for making all work. Those difference files in merge requests tell you more that I can even explain. And those comment fields in merges can give detailed added info and questions can be asked and answered, to clarify the subject.
You are actually diverting 'gitlab' to make your diff. But as I said, you get the same result by using 'meld' locally.
Regards, -- Benoît Minisini.
Re: [gambas-package-config] Automatic generation of OBS configuration | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | munix9 <munix9@xxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: [gambas-package-config] Automatic generation of OBS configuration | gbWilly <gbWilly@xxxxxxxxxxxxxx> |