![]() |
#1 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,928
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Include version in file name?
Yes, this is for humans only who keep old versions and/or try betas,
Get plugins does not seem to care. Load from file does not seem to care. so why not do like the example? Code:
Find Duplicates_1.8.7.zip ![]() |
![]() |
![]() |
#2 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,726
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
It would mean extra steps in my workflow at least - so I am against those
![]() Usually we have fairly simple scripts to build the zip files for the latest code - trying to parse version numbers from other files and include that in the zip file name in an automated fashion gets more complicated. It also means the devs would have more of a mess in our working folders to have to keep cleaning up - rather than a single Goodreads.zip I would over time end up with one for every version I build I have to keep deleting or again add to the build complexity. Then when you upload to a forum post you must remember to remove the previous zip - not something you have to do if it has the same name. Basically it would add friction which adds up - at least when you have 27 plugins to maintain as I think my current active count is. Of course if this was my day job it would be a different story - but then I would have a dedicated build server and automation constructing plugin zips after commits, a fileshare to store historic versions etc. And we wouldn't be manually uploading zip files into forum threads ![]() |
![]() |
Advert | |
|
![]() |
#3 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,876
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
![]() It's just another step that the vast majority of users will never see. And I put releases on github for my 4 plugins. FFF for example. |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,650
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FWIW, I keep the current and the two prior versions of software components in separate sub-directories viz:
I have a file manager (xplorer²) script to move things from the download location (e.g. C:\downloads\software) into the appropriate safekeeping directory (e.g. D:\SoftwareRepository\Productivity\Calibre\Plugins \ViewManager). You can imagine what it does. BR Last edited by BetterRed; 09-10-2022 at 08:32 PM. |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,928
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I had not figured on all the nays as some come with the version.
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Include hyphens only in some file names | Buhaj47 | Library Management | 1 | 05-14-2022 03:03 PM |
How to check mobi file version? | ajes | Kindle Formats | 14 | 07-16-2019 07:40 PM |
Plugin Devs: Should we include a License or COPYING file? | KevinH | Plugins | 3 | 08-15-2017 01:09 PM |
The uninstall file for the last version of usbnetworking please | Tanga | Kindle Developer's Corner | 1 | 11-17-2012 08:52 AM |
Save file include jpeg | RandallFlagg | Calibre | 3 | 02-10-2009 11:11 PM |