[Gambas-user] I am getting really irritated.

Benoît Minisini gambas at ...1...
Thu Aug 20 03:14:00 CEST 2015


Le 18/08/2015 23:41, adamnt42 at ...626... a écrit :
> On Tue, 18 Aug 2015 16:56:48 +0300
> Jussi Lahtinen <jussi.lahtinen at ...626...> wrote:
>
>> I tested packaging with revision 7222. In vendor name "-" is translated as
>> "_". I have some vague image in my head that this was done to comply with
>> some linux standard.
>> But I don't see *anything *get prefixed with "gambas"??
>>
> a) there is no such standard.
> b) it only happens with component projects - see attached pic
>>
>> I dont need all my project directories named "paddys-hill.something" I know
>>> who we are.
>>>
>>
>> I don't understand this. You are free to use any unix name for your
>> directories..?
>>
> Again see the attached.

Sorry for being too restrictive in the project directory name.

It's because the project directory name is directly used in the name of 
specific component directories.

This is actually a limitation in the packager that makes no difference 
between:

- The project directory name.
- A unique name that identifies the component.

I will try to workaround that restriction by making the packager deal 
with that difference.

Anyway, the following restrictions will still apply:

- The package name of a component must be 
"gambas3-<vendor>-<component>-<version>".

- You can't put hyphens where you want in a package name. I don't 
remember if it's because of Debian packager, RedHat packager or both. So 
they will be replaced by underscores.

I think I will do the following: instead of displaying an error message, 
I will check the project name: if it does not start with the vendor 
name, I will add it internally to forge the unique component name.

Regards,

-- 
Benoît Minisini




More information about the User mailing list