[Feature request] Support of Fossil version control system
Bug #1172051 reported by
virens
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Fossil is simple, high-reliability, distributed software configuration management: http://
It's main feature is storing everying in one database file, which is beneficial for people who need to store files on FAT filesystems.
The syntax of Fossil is very similar to the one of Mercurial (except for the deletion of files), and I think it would be not very difficult to implement.
Changed in zim: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in zim: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
If you know a little bit of python or are not afraid of editing python
files regardless, I can guide you how to hack this with minimal
effort.
The version control plugin has separate python modules for each
backend and abstracts most of the usage such that adding a new backend
it quite easy.
Starting from a zim source directory versioncontrol/ hg.py to ..../fossil.py versioncontrol/ __init_ _.py and look for in_folder( )" and add lines for
Step 1: copy zim/plugins/
Step 2: in fossil.py search for "hg" and replace accoringly
Step 3: in fossil.py search for all calls to run() or pipe() - these
are commandline calls, check the parameters
--> now you have a sub module to handle the fossil command, next step
is to let the plugin know this module exists
Step 4: open op zim/plugins/
"HG", add lines for "FOSSIL" below
Step 5: modify the method "_detect_
detecting fossil
Now start zim ("python ./zim.py -D" from source folder) and test it
with a fossil controlled notebook
Please attach the resulting files here so I can add them to the main source.
Regards,
Jaap
On Wed, Apr 24, 2013 at 12:29 AM, virens <email address hidden> wrote: fossil- scm.org/ index.html/ doc/trunk/ www/index. wiki /bugs.launchpad .net/bugs/ 1172051 /bugs.launchpad .net/zim/ +bug/1172051/ +subscriptions
> Public bug reported:
>
> Fossil is simple, high-reliability, distributed software configuration management: http://
> It's main feature is storing everying in one database file, which is beneficial for people who need to store files on FAT filesystems.
>
> The syntax of Fossil is very similar to the one of Mercurial (except for
> the deletion of files), and I think it would be not very difficult to
> implement.
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https:/
>
> Title:
> [Feature request] Support of Fossil version control system
>
> To manage notifications about this bug go to:
> https:/