Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-19-2022, 05:10 PM   #1
daemonblade
Junior Member
daemonblade began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2017
Device: Kobo
Feature Request: Open/Save as unpacked files

I tend to work on an epub over the course of a few days or so, and usually unpack the epub as plaintext files so that changes can be tracked via version control.

It would be nice to be able to have an options to "Save Unpacked" or "Open Unpacked" so that I don't have to unpack the file, or repack the file before I can work on it.

Thoughts?

Last edited by daemonblade; 04-19-2022 at 05:11 PM. Reason: title-correction
daemonblade is offline   Reply With Quote
Old 04-19-2022, 05:20 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sigil has its own built-in check point system that use git repositories which users can use for version control of their individual epubs. There's also a pair of plugins (FolderIn/FolderOut) that can be used to do what you want.
DiapDealer is online now   Reply With Quote
Old 04-22-2022, 12:46 AM   #3
daemonblade
Junior Member
daemonblade began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jun 2017
Device: Kobo
Quote:
Originally Posted by DiapDealer View Post
Sigil has its own built-in check point system that use git repositories which users can use for version control of their individual epubs. There's also a pair of plugins (FolderIn/FolderOut) that can be used to do what you want.
The last time I looked, the built-in checkpoint system stores the epubs as blobs and doesn't allow an editor to see what changed and when with ease. I'll have a look at the FolderIn/FolderOut plugins to see if that works.

Thanks!
daemonblade is offline   Reply With Quote
Old 04-22-2022, 07:39 AM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
The Sigil Checkpoint is git based and uses dulwich to implement it. It does not store the epub as a single entity and instead stores the files of the epub. It never has, so I am not sure what "the last time you looked" is referring to.

Last edited by KevinH; 04-22-2022 at 07:49 AM.
KevinH is offline   Reply With Quote
Old 04-22-2022, 08:40 AM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes. From the very beginning, Sigil's checkpointing system created github repositories via python's dulwich module. The repositories do not contain binary blobs of the epub. That would be pointless, as there could be no meaningful diffs generated. The repositories are comprised of the individual contents of the expanded EPUB archive--easily diffed from checkpoint to checkpoint (and accessible via external tools--including git--if desired).

It seems to me that people (and I'm not singling out the OP here by any means) seem to really go out of their way to avoid using one of the most useful features that I think has been added to Sigil in a long time. It just seems that many people tend to suggest improvements to Sigil that can already be done via the checkpoint system.

Last edited by DiapDealer; 04-22-2022 at 08:48 AM.
DiapDealer is online now   Reply With Quote
Old 04-22-2022, 09:18 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
This actually gives me an idea for a plugin. Something that looks for a Checkpoint repo for the opened book and 1) launches a terminal in the repo's directory so that git (if in the PATH) can be immediately used, and 2) opens a file browser in the same directory so that individual files can be opened with other applications.

It might be a little awkward (semantically) to use the "Restore Epub from previous Checkpoint" button to load tagged commits just made externally, but it seems to work just fine. It might make things a little more simple/intuitive for seasoned git users to be handed a git-ready terminal and a file-browser with the Epub's contents. The checkpoint repo could then be easily connected to github remotes if desired. Forks made, Pull Requests merged, then pull changes down, commit, tag and merge into the working Epub via "Restore Epub from previous Checkpoint"

One would just have to make sure the initial repo was created by Sigil so all necessary pieces are in place.
DiapDealer is online now   Reply With Quote
Old 04-22-2022, 09:55 AM   #7
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Also maybe incorporating a new feature in Sigil for advanced users to relocate the default checkpoint repositories folder. Whether through preferences or environment variable.
DiapDealer is online now   Reply With Quote
Old 04-22-2022, 10:25 AM   #8
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by DiapDealer View Post
Also maybe incorporating a new feature in Sigil for advanced users to relocate the default checkpoint repositories folder. Whether through preferences or environment variable.
This sounds great, I would definitely use a feature like that.
phillipgessert is offline   Reply With Quote
Old 04-22-2022, 11:55 AM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You can "sort of" do something like it now. But you have to relocate the entire Sigil user preferences directory along with it.
DiapDealer is online now   Reply With Quote
Reply

Tags
feature request


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Feature Request - Save Catalog Output Options nynaevelan Library Management 0 02-11-2012 12:33 PM
Get Books - Feature Request - Save Searches nynaevelan Calibre 5 05-14-2011 04:23 PM
Feature request: Conversion, save backup nickdma Conversion 5 01-22-2011 12:46 PM
Feature Request: Moving and not copying when adding files... Chuwiey Calibre 7 07-03-2010 05:35 AM
Feature request: Select what file format to save RSS into haridasi Calibre 2 08-23-2008 10:03 AM


All times are GMT -4. The time now is 11:28 AM.


MobileRead.com is a privately owned, operated and funded community.