Bug 631165 - Drop application-specific naming in the info file format.
Drop application-specific naming in the info file format.
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-10-02 11:27 UTC by Steve Frécinaux
Modified: 2010-10-02 23:18 UTC (History)
0 users

See Also:
GNOME target: ---
GNOME version: ---


Attachments
Drop application-specific naming in the info file format. (19.15 KB, patch)
2010-10-02 11:27 UTC, Steve Frécinaux
committed Details | Diff | Review

Description Steve Frécinaux 2010-10-02 11:27:28 UTC
There were previously two places where the application name were used
in the plugin info format:
 - the file extension was .appname-plugin
 - the INI section was [AppName Plugin]

This patch drop those and uses a more generic naming:
 - the file extension is now .plugin
 - the INI section is now [Plugin]

This makes one less (rather useless) value to provide to the engine,
and besides it is consistent with what others do in the same field
(Mozilla, for instance, uses a single .xpi extension for all the
applications using XPInstall).

Last but not least, it will also make it easier for us to use the
_get_default() scheme...
Comment 1 Steve Frécinaux 2010-10-02 11:27:31 UTC
Created attachment 171563 [details] [review]
Drop application-specific naming in the info file format.

There were previously two places where the application name were used
in the plugin info format:
 - the file extension was .appname-plugin
 - the INI section was [AppName Plugin]

This patch drop those and uses a more generic naming:
 - the file extension is now .plugin
 - the INI section is now [Plugin]

This makes one less (rather useless) value to provide to the engine,
and besides it is consistent with what others do in the same field
(Mozilla, for instance, uses a single .xpi extension for all the
applications using XPInstall).
Comment 2 Steve Frécinaux 2010-10-02 23:18:27 UTC
Pushed after receiving agreement from nacho, jessevdk and pwithnall on IRC.

Attachment 171563 [details] pushed as 8c6be99 - Drop application-specific naming in the info file format.

Note You need to log in before you can comment on or make changes to this bug.