After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
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:
 
 
Reported: 2010-10-02 11:27 UTC by Steve Frécinaux
Modified: 2010-10-02 23:18 UTC
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 | 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.