![]() |
#1 |
Connoisseur
![]() Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
|
![]()
While working on some ePUB files I started wondering if there is a way to show changes between 2 versions of an ePUB, maybe with the possibility to merge them. Also a connection to a version control system like SVN or even CVS would be useful in an production enviroment.
Is there a way to hook Sigil up to a SVN repository and show differences between versions to, somehow, manage an ePUB file during production? In a related question, is it possible to have some sort of pre-processor linked to Sigil so with a few variables a different version of an ePUB can be saved? I know these wishes are normally used in the production of software but it would be useful to be able to use it while producing an ePUB. I ask this because I sometimes work on an ePUB and would like to have the possibility of someone editing an slightly older version and be able to merge the changes, check where the chances are made to re-view the underlying code. Idially in the future I like others be able to get the newest version of an ePUB directly from an online repository to work together on the 'same' ePUB. This goes probably fay beyond the intended use of Sigil at this time but it might be useful in an enviroment where multiple people work on one ePUB. Also FlightCrew will be included in Sigil soon, I like to have a way to 'hook' other checkers like ePubCheck and ePubPreFlight to ensure I checked with at least ePubCheck as that is what publishers use. (Although if FlightCrew says it's ok, it's probably valid for the other checkers, but just to be sure ![]() What are your thoughts about this? Is it something other people find useful? Is it maybe possible already (through, I don't know, command line?) Thanks. |
![]() |
![]() |
![]() |
#2 | ||||
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Quote:
Quote:
![]() Quote:
|
||||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
|
Thanks for your response Valloric.
I understand I could add the unzipped epub to SVN, but the problem would be that I then have to save the epub, unzip it, add to svn and when starting an edit visa versa. Maybe I could make some kind of custom start shortcut which before Sigil starts gets update from svn, start Sigil and wait till it closes and after closing Sigil, adds epub to SVN. Maybe with the steps to zip/unzip. The problem with this would be maybe the issue of having the whole repository handled on open and close, not just one epub. With one ePUB I whould have to change the name everytime. Maybe in the future when scripting gets implemented I can try hooking up SVN through script. The preprocessing, well maybe that can be done through scripting too, although I probably want to avoid the need to make different versions altogether. Anyway, for now I keep saving each ePUB version with a different number, just in case, and send it though email. Thanks |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2011
Device: none
|
+1 for editing unzipped epubs (maybe using a single epub per folder).
SVN is not really good at merging, but think about how easy can be merging various contributions using Mercurial/Git. This option can enable distributed epub editing/translating (very very helpful for teams), and is not supported by any other epub editor. |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2011
Device: none
|
Quote:
[1]: http://sphinx.pocoo.org/ |
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 88
Karma: 60
Join Date: Oct 2010
Device: ProMedia eReader, Sony PRS-600
|
Apriciated, but my goal was to use sigil for editing. Unzipping, adding to repository and then back again is not the ideal way.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2013
Device: iPad / Sony Libre
|
A tool that might be useful
I face the issues regarding the source versioning, too. I created a small python script to convert ePub to other forms that are more conducive to use version control (I use Bazzar).
The script requires Python 2.7 and should run on any platform supported by Python. Script can be found at http://launchpad.net/epubtools Hope this helps somebody... ![]() |
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I think they meant Bazaar. Just a different version control system like subversion, git, mercurial and the like. I believe Calibre used Bazaar up until fairly recently. Launchpad is where the projects are hosted.
http://bazaar.canonical.com |
![]() |
![]() |
![]() |
#12 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,042
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Can you not just expand the epub/zip file and put the contents into a version control system? Then the only special 'tool' needed would be zip/unzip.
|
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font Difference Between ePUB and LRF? | EatingPie | Sony Reader | 7 | 05-14-2010 05:32 PM |
Pdf Files don't show | Kraut55 | Amazon Kindle | 4 | 12-28-2009 11:10 AM |
Files on SD card do not show up | Sylpher | Sony Reader | 4 | 04-11-2009 09:46 PM |
Hi, Can someone take photo to show me some files displayed in V3,BEBook or Ez Reader | alxwang | HanLin eBook | 15 | 04-07-2009 01:43 PM |
Files won't show up in reader | wsu99999 | Calibre | 5 | 01-20-2009 06:04 PM |