FAQ  •  Register  •  Login

Plugin revision

<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sat Feb 18, 2012 11:04 pm

Plugin revision

Hey guys I am getting ready to start on the plugin part of the repository. I would like to have some way of getting the version of the plugin. Can we get a uniform way that everyone can use to document the revision of the plugin they create?

Is there a way to put a tag in the plugin, that can be check easily? Or if there is not, maybe we can put in a comment at the beginning that has the version number.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 19, 2012 11:37 am

Re: Plugin revision

Java supports @version tag in the JavaDoc comments so that could be used. How do you want to use that in the API?
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sun Feb 19, 2012 3:21 pm

Re: Plugin revision

I was thinking about either having it in the plugin field. ie "livefeed.groovy 1.2" Or maybe a second field with just the "1.2" for version 1.2. Either way it we can set it up so that the API will download the newest version of the plugin.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 19, 2012 6:09 pm

Re: Plugin revision

yes, I'd say get the latest.
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sun Feb 19, 2012 8:22 pm

Re: Plugin revision

What should I set up in the field? x.y.z like you are doing with serviio or will x.y be enough?

Update. The more I think about it, the more I think I will let this be an open field and each developer will use what ever way he wants, as long as you can tell the progression of revisions.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 19, 2012 10:39 pm

Re: Plugin revision

I'd make it just an integer, ie 1, 2, 3, etc
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Sun Feb 19, 2012 11:31 pm

Re: Plugin revision

true that would be easier for everyone.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 12 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.