[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdebconf, frontends and namespaces



Colin Watson <cjwatson@debian.org> writes:

> I don't particularly like "fe_" as a prefix (not even for frontends,
> actually - it's acronym disease and not obvious when you first come to
> look at it). How about "cdebconf_<frontend>_handler_<type>"?

I like the cdebconf_... namespace.

> Also, there needs to be a transitional period when old plugins still
> work. Plugins are deployed in production!

This is really need? If we change it on cdebconf and do the need
changes on entropy and others they all can be uploaded together
avoiding the need of compatibility code.

>> This last option gets my preference.  Although, for consistency, I would
>> probably like to rename any exported frontend symbols to "fe_<frontend>"
>> while doing that change.
>
> As above, "cdebconf_" seems like the proper prefix for exported symbols
> in cdebconf when there's a namespace concern; otherwise you're in real
> trouble should there ever be a libfe ...

Ack.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



Reply to: