Announcement

  •  » Engine
  •  » [resolved] [jplayer] Upgrading problem / What am I doing wrong?

#1 2012-07-09 22:43:02

d-matt
Member
1970-01-01
21

[resolved] [jplayer] Upgrading problem / What am I doing wrong?

Yesterday I released the first upgrade of piwigo-jplayer, but it can't be upgraded in the admin site.  As this is my very first time, I probably missed an obvious step and I hope that a good soul will be able to help me here.

Correct me if I am wrong but what I figured out is that the ugrade of a plugin if driven by the comment header of main.Inc.php.

I've made 2 changes in that section of this file:
* Convert the line termination (call me crazy but I don't like to have CRLF files on mi Linux :) )
* Change version from 0.1 to 0.2

The full commit history is available on github.

I suspect that it could also be related to the name of the plugin (jplayer) being different from the name of the directory containing the plugin (piwigo-jplayer).

Did I do something wrong or did I missed something?

Offline

 

#2 2012-07-09 22:49:03

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] [jplayer] Upgrading problem / What am I doing wrong?

d-matt wrote:

Yesterday I released the first upgrade of piwigo-jplayer, but it can't be upgraded in the admin site.

What is exactly happening?

(It seems that you made it right.)

Offline

 

#3 2012-07-09 23:25:18

d-matt
Member
1970-01-01
21

Re: [resolved] [jplayer] Upgrading problem / What am I doing wrong?

Actually, nothing happens... In the admin site, on the plugin list tab I see the old version of jplayer (0.2), there is nothing on the update tab but I can see  the new version (0.3) on the last tab (and I can install it as if it was a different plugin)

As a complement, there is the folowing entry in my piwigo-plugins table :

Code:

id             | state  | version
piwigo-jplayer | active | 0.2

This has been tested on piwigo 2.3.5 and 2.4.1

Offline

 

#4 2012-07-09 23:27:31

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] [jplayer] Upgrading problem / What am I doing wrong?

In the header comment of main.inc.php, what is your Plugin URI?

Offline

 

#5 2012-07-09 23:35:41

d-matt
Member
1970-01-01
21

Re: [resolved] [jplayer] Upgrading problem / What am I doing wrong?

plg wrote:

In the header comment of main.inc.php, what is your Plugin URI?

The github projet :
Plugin URI: https://github.com/d-matt/piwigo-jplayer

Offline

 

#6 2012-07-09 23:38:55

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] [jplayer] Upgrading problem / What am I doing wrong?

This is not the good URI, use http://piwigo.org/ext/extension_view.php?eid=594 instead. 594 is the ID of your plugin on piwigo.org, Piwigo uses it to know if there is any new version available.

If you want to add another URL, use "Author URI" instead.

Offline

 

#7 2012-07-10 00:13:50

d-matt
Member
1970-01-01
21

Re: [resolved] [jplayer] Upgrading problem / What am I doing wrong?

My bad... Anyway, thanks I've pushed v0.4 and next upgrades will be smooth !

Offline

 
  •  » Engine
  •  » [resolved] [jplayer] Upgrading problem / What am I doing wrong?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact