Plugins im /alpha-Verzeichnis "enthalten" andere Plugins

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
thh
Regular
Posts: 419
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Plugins im /alpha-Verzeichnis "enthalten" andere Plugins

Post by thh »

Moin!

Im additional_plugins-Repository gibt es ein Verzeichnis /alpha, in dem sich offenbar v.a. nicht mehr gepflegte Plugins befinden.

Teilweise befinden diese sich in "ordentlich" benannten Verzeichnissen der Form serendipity_event_NAME, teilweise nur in Verzeichnissen (stalkerbuster), teilweise liegen aber auch nur die Dateien herum (bspw. serendipity_event_mailcc.php).

Letzteres scheint bei der Generierung der XML-Dateien package_event_LANGUAGE.xml Probleme zu bereiten, weil dann auch alle anderen Plugin-Dateien und zudem Verzeichnisse anderer Plugins dem jeweiligen Plugin zugeschlagen werden - vermutlich, weil bei der Generierung des XML davon ausgegangen wird, dass alles "unter" dem relativen Pfad im Dateibaum zum Plugin gehört.

Für serendipity_event_mailcc.php (und alle anderen Plugins in "Dateiform") sieht das dann (in package_event_en.xml, aber natürlich auch den anderen Sprachen) so aus:

Code: Select all

<package version="1.0">
<name>serendipity_event_mailcc</name>
<license>GPL</license>
<summary>Adds CC to all sent emails</summary>
<groups>BACKEND_FEATURES</groups>
<description>(Notice: Make sure that the all of your authors have the option to receiv comment notification emails activated, or else no mails will be created that can be CCed</description>
<maintainers><maintainer><name>Garvin Hicking</name><role>lead</role></maintainer></maintainers>
<release>
  <version>1.01</version>
  <requirements:s9yVersion>0.8</requirements:s9yVersion>
  <date>2013-08-12</date>
  <filelist>
<dir name="alpha">
<dir name="serendipity_event_phoneblogz">
<file>INSTALL.txt</file>
<file>ChangeLog</file>
<file>lang_cz.inc.php</file>
<dir name="UTF-8">
<file>lang_cz.inc.php</file>
<file>lang_cs.inc.php</file>
</dir>
<file>CHANGELOG.txt</file>
<file>lang_en.inc.php</file>
<file>CREDITS.txt</file>
<file>xmlrpc.inc</file>
<file>lang_cs.inc.php</file>
<file>phoneblogz-api.php</file>
<file>serendipity_event_phoneblogz.php</file>
</dir>
<file>serendipity_event_smfmarkup.php</file>
<file>bogo.php</file>
<file>serendipity_event_mailcc.php</file>
<file>serendipity_event_challengeresponse.php</file>
<file>testing.php</file>
<dir name="serendipity_event_findmore">
<dir name="img">
<file>blogmarks.png</file>
<file>plugin_findmore.js</file>
<file>stumbleupon.gif</file>
<file>delicious.png</file>
<file>bloglines.png</file>
<file>identica.png</file>
<file>fark.png</file>
<file>wong18.gif</file>
<file>facebook_dummy.png</file>
<file>mixx-button4.png</file>
<file>printfriendly.png</file>
<file>googlebookmark.png</file>
<file>technorati.png</file>
<file>simpy.png</file>
<file>twitter.png</file>
<file>gplus_dummy.png</file>
<file>email_link.png</file>
<file>facebook.png</file>
<file>magnolia.png</file>
<file>blinklist.png</file>
<file>furl.png</file>
<file>newsvine.png</file>
<file>friendfeed.png</file>
<file>button0-bm.gif</file>
<file>socialshareprivacy_on_off.png</file>
<file>wists.png</file>
<file>socialshareprivacy_off.png</file>
<file>reddit.png</file>
<file>socialshareprivacy_on.png</file>
<file>diggman.png</file>
<file>spurl.png</file>
<file>yahoomyweb.png</file>
</dir>
<file>lang_pl.inc.php</file>
<file>serendipity_event_findmore.php</file>
<file>ChangeLog</file>
<file>lang_cz.inc.php</file>
<dir name="UTF-8">
<file>lang_pl.inc.php</file>
<file>lang_cz.inc.php</file>
<file>lang_bg.inc.php</file>
<file>lang_cs.inc.php</file>
</dir>
<file>lang_en.inc.php</file>
<file>documentation_cs.html</file>
<file>lang_bg.inc.php</file>
<file>documentation_cz.html</file>
<file>lang_cs.inc.php</file>
<file>plugin_findmore.tpl</file>
</dir>
<dir name="stalkerbuster">
<file>lang_en.inc.php</file>
<file>serendipity_event_stalkerbuster.php</file>
</dir>
<file>serendipity_plugin_sidebarlogo.zip</file>
</dir>

  </filelist>
  <serendipityFilelist>
    <file>alpha/serendipity_event_phoneblogz/INSTALL.txt</file>
    <file>alpha/serendipity_event_phoneblogz/ChangeLog</file>
    <file>alpha/serendipity_event_phoneblogz/lang_cz.inc.php</file>
    <file>alpha/serendipity_event_phoneblogz/UTF-8/lang_cz.inc.php</file>
    <file>alpha/serendipity_event_phoneblogz/UTF-8/lang_cs.inc.php</file>
    <file>alpha/serendipity_event_phoneblogz/CHANGELOG.txt</file>
    <file>alpha/serendipity_event_phoneblogz/lang_en.inc.php</file>
    <file>alpha/serendipity_event_phoneblogz/CREDITS.txt</file>
    <file>alpha/serendipity_event_phoneblogz/xmlrpc.inc</file>
    <file>alpha/serendipity_event_phoneblogz/lang_cs.inc.php</file>
    <file>alpha/serendipity_event_phoneblogz/phoneblogz-api.php</file>
    <file>alpha/serendipity_event_phoneblogz/serendipity_event_phoneblogz.php</file>
    <file>alpha/serendipity_event_smfmarkup.php</file>
    <file>alpha/bogo.php</file>
    <file>alpha/serendipity_event_mailcc.php</file>
    <file>alpha/serendipity_event_challengeresponse.php</file>
    <file>alpha/testing.php</file>
    <file>alpha/serendipity_event_findmore/img/blogmarks.png</file>
    <file>alpha/serendipity_event_findmore/img/plugin_findmore.js</file>
    <file>alpha/serendipity_event_findmore/img/stumbleupon.gif</file>
    <file>alpha/serendipity_event_findmore/img/delicious.png</file>
    <file>alpha/serendipity_event_findmore/img/bloglines.png</file>
    <file>alpha/serendipity_event_findmore/img/identica.png</file>
    <file>alpha/serendipity_event_findmore/img/fark.png</file>
    <file>alpha/serendipity_event_findmore/img/wong18.gif</file>
    <file>alpha/serendipity_event_findmore/img/facebook_dummy.png</file>
    <file>alpha/serendipity_event_findmore/img/mixx-button4.png</file>
    <file>alpha/serendipity_event_findmore/img/printfriendly.png</file>
    <file>alpha/serendipity_event_findmore/img/googlebookmark.png</file>
    <file>alpha/serendipity_event_findmore/img/technorati.png</file>
    <file>alpha/serendipity_event_findmore/img/simpy.png</file>
    <file>alpha/serendipity_event_findmore/img/twitter.png</file>
    <file>alpha/serendipity_event_findmore/img/gplus_dummy.png</file>
    <file>alpha/serendipity_event_findmore/img/email_link.png</file>
    <file>alpha/serendipity_event_findmore/img/facebook.png</file>
    <file>alpha/serendipity_event_findmore/img/magnolia.png</file>
    <file>alpha/serendipity_event_findmore/img/blinklist.png</file>
    <file>alpha/serendipity_event_findmore/img/furl.png</file>
    <file>alpha/serendipity_event_findmore/img/newsvine.png</file>
    <file>alpha/serendipity_event_findmore/img/friendfeed.png</file>
    <file>alpha/serendipity_event_findmore/img/button0-bm.gif</file>
    <file>alpha/serendipity_event_findmore/img/socialshareprivacy_on_off.png</file>
    <file>alpha/serendipity_event_findmore/img/wists.png</file>
    <file>alpha/serendipity_event_findmore/img/socialshareprivacy_off.png</file>
    <file>alpha/serendipity_event_findmore/img/reddit.png</file>
    <file>alpha/serendipity_event_findmore/img/socialshareprivacy_on.png</file>
    <file>alpha/serendipity_event_findmore/img/diggman.png</file>
    <file>alpha/serendipity_event_findmore/img/spurl.png</file>
    <file>alpha/serendipity_event_findmore/img/yahoomyweb.png</file>
    <file>alpha/serendipity_event_findmore/lang_pl.inc.php</file>
    <file>alpha/serendipity_event_findmore/serendipity_event_findmore.php</file>
    <file>alpha/serendipity_event_findmore/ChangeLog</file>
    <file>alpha/serendipity_event_findmore/lang_cz.inc.php</file>
    <file>alpha/serendipity_event_findmore/UTF-8/lang_pl.inc.php</file>
    <file>alpha/serendipity_event_findmore/UTF-8/lang_cz.inc.php</file>
    <file>alpha/serendipity_event_findmore/UTF-8/lang_bg.inc.php</file>
    <file>alpha/serendipity_event_findmore/UTF-8/lang_cs.inc.php</file>
    <file>alpha/serendipity_event_findmore/lang_en.inc.php</file>
    <file>alpha/serendipity_event_findmore/documentation_cs.html</file>
    <file>alpha/serendipity_event_findmore/lang_bg.inc.php</file>
    <file>alpha/serendipity_event_findmore/documentation_cz.html</file>
    <file>alpha/serendipity_event_findmore/lang_cs.inc.php</file>
    <file>alpha/serendipity_event_findmore/plugin_findmore.tpl</file>
    <file>alpha/stalkerbuster/lang_en.inc.php</file>
    <file>alpha/stalkerbuster/serendipity_event_stalkerbuster.php</file>
    <file>alpha/serendipity_plugin_sidebarlogo.zip</file>
  </serendipityFilelist>
</release>
</package>
Richtig hingegen wäre nur (!):

Code: Select all

<package version="1.0">
<name>serendipity_event_mailcc</name>
<license>GPL</license>
<summary>Adds CC to all sent emails</summary>
<groups>BACKEND_FEATURES</groups>
<description>(Notice: Make sure that the all of your authors have the option to receiv comment notification emails activated, or else no mails will be created that can be CCed</description>
<maintainers><maintainer><name>Garvin Hicking</name><role>lead</role></maintainer></maintainers>
<release>
  <version>1.01</version>
  <requirements:s9yVersion>0.8</requirements:s9yVersion>
  <date>2013-08-12</date>
  <filelist>
<dir name="alpha">
<file>serendipity_event_mailcc.php</file>
  </filelist>
  <serendipityFilelist>
    <file>alpha/serendipity_event_mailcc.php</file>
  </serendipityFilelist>
</release>
</package>
Jedes dieser in Dateiform abgelegten Plugins inkludiert also alle anderen Plugins im /alpha-Verzeichnis. Das ist jetzt irgendwie nicht so der Bringer.

M.E. müsste man diese "Datei-Plugins" alle in eigene Unterverzeichnisse schieben; dann dürfte es wieder passen.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugins im /alpha-Verzeichnis "enthalten" andere Plugins

Post by garvinhicking »

Hi!

Huch, was liegt denn hier so viel Staub rum.

Ist wirklich nicht gut, ich habe jetzt im emerge-Script versucht das ganze /alpha/ Verzeichnis mal auszuschließen. Mal schauen was es tut. :-D

LG,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
thh
Regular
Posts: 419
Joined: Thu Oct 26, 2006 2:38 pm
Location: Stuttgart, Germany
Contact:

Re: Plugins im /alpha-Verzeichnis "enthalten" andere Plugins

Post by thh »

garvinhicking wrote:Huch, was liegt denn hier so viel Staub rum.
*pust*
garvinhicking wrote:Ist wirklich nicht gut, ich habe jetzt im emerge-Script versucht das ganze /alpha/ Verzeichnis mal auszuschließen. Mal schauen was es tut. :-D
Sieht gut aus, danke!

-thh
Post Reply