![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Beta plugins version number
Suppose I have a plugin with version number in __init__.py specified as
__version__ = (1, 2, 3) Then I want to make a new version 1.3.0 but want it to be tested and also labelled as beta I can change the version to something like __version__ = (1, 3, 0 , 'beta' , 1) But if anyone has installed this version manually, what happens when 1.3.0 is officially released, Will calibre know to prompt to install beta users to update, or does it think (1, 3, 0 , 'beta' , 1) is newer than (1, 3, 0) ? Should I use __version__ = (1, 2, 2, 99, 'beta', '1') instead? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Versions should be numbers, I suggest you follow the same numbering scheme as used for calibre preview releases which are basically beta releases. Make the third number 100+ for beta releases.
Then bump either the first or the second number when you are making a non-beta release and users will be notified of the available update even if they have installed the beta. |
![]() |
![]() |
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 135
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
|
Thanks.
|
![]() |
![]() |
![]() |
Tags |
plugin development |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updating from older version and question about plugins | Shykat | Calibre | 2 | 04-14-2024 12:19 AM |
transfer plugins to portable version | calibrestar | Calibre | 2 | 01-15-2024 12:05 AM |
User Plugins: missing version history | DrChiper | Plugins | 1 | 12-15-2020 08:16 AM |
[iOS] CC version 1.1.1 beta testers | Steve_Haley | Calibre Companion | 5 | 02-10-2017 05:09 AM |
Version 2.70: all plugins vanished | Leonatus | Calibre | 4 | 10-16-2016 03:44 PM |