michael-dev / dokuwikietherpadlite

Etherpad-Lite plugin for dokuwiki
13 stars 5 forks source link

DokuWiki (Ponder Stibbons) Extension Manager #12

Closed ghost closed 9 years ago

ghost commented 9 years ago

Installed the EtherpadLite Plugin from here https://www.dokuwiki.org/plugin:etherpadlite (https://github.com/michael-dev/dokuwikietherpadlite/raw/releases/dokuwiki-etherpadlite-0.0.1.zip)

dokuwikietherpadlite

It suggests an update within the Extension Manager of DokuWiki from version 2012-05-22 to version 2013-07-31 but the update does not work

michael-dev commented 9 years ago

Looks like dokuwiki detects that there are new commits in the github repo newer than the date given in plugin.info.txt, though there are no functional changes that would require an update. I've uploaded a new version (https://github.com/michael-dev/dokuwikietherpadlite/raw/releases/dokuwiki-etherpadlite-0.0.2.zip) that changes the date in plugin.info.txt, so you could try that.

ghost commented 9 years ago

It is not possible to update from dokuwiki-etherpadlite-0.0.1.zip to dokuwiki-etherpadlite-0.0.2.zip automatically within the Extension Manager.

If i use https://github.com/michael-dev/dokuwikietherpadlite/zipball/master as a Manual Install URL it still points to .../dokuwiki-etherpadlite-0.0.1.zip as Download URL

Some informations from the DokuWiki Wiki:

https://www.dokuwiki.org/devel:plugins

From version Ponder Stibbons up an automated update signaling is possible. For the update process to work properly it is necessary that the date “Last updated on” at the Plugin wiki page equals the date in the file plugin.info.txt in the source tarbal/zipfile. If this is not the case: the update will not take place or the “Update” signal persists.

https://www.dokuwiki.org/devel:plugin_info

The date of the last update of this plugin in YYYY-MM-DD form. Don't forget to update this when you update your plugin!

This date should be equal to the “Last updated on” date on the plugins page in the repository. This is needed for the automated update flagging used by the Extension Manager introduced in release Ponder Stibbons

I am not sure how to update the Download URL to a new URL that is recognized by the Extension Manager

michael-dev commented 9 years ago

It is not possible to update from dokuwiki-etherpadlite-0.0.1.zip to dokuwiki-etherpadlite-0.0.2.zip automatically within the Extension Manager.

This is expected. How should dokuwiki know?

If i use https://github.com/michael-dev/dokuwikietherpadlite/zipball/master as a Manual Install URL it still points to .../dokuwiki-etherpadlite-0.0.1.zip as Download URL

That does not make sense. The former is a zip file that does not point anywhere and as I mention in README.md is lacking the git submodule containing the etherpad lite client. In contrast, dokuwiki-etherpadlite-0.0.X.zip containt the etherpad lite client.

ghost commented 9 years ago

Today the extension manager update works without problems. (0.0.1 to 0.0.2)