Login
Update of ”home”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 8be649c094fa2d7efc9d6430afc6abcfba708ce7
Page Name:home
Date: 2013-07-28 18:38:45
Original User: stephan
Parent: ca7965ebfc70d7c16ce14569771e467ae3074a1a (diff)
Next e5fd65139274e0851e71bb31224c4079fb45a4db
Content

Fossil v2 Scratchpad

See also: download

This source code repository houses experimentation for a potential library API for the Fossil SCM. The primary goal is to port existing behaviour into a library form (the v1 app is extremely monolithic in nature). While it has been informally dubbed "v2", so far no format-breaking changes are planned so it might turn out to provide an alternative to fossil v1, as opposed to a replacement.

This code currently doesn't do much - it is intended for those interested in following or participating in the design of Fossil v2. All current Fossil committers (those who have a signed a license waiver on file with DRH) are welcomed contributors - email me your preferred user name to get access: sgbeal@googlemail.com.

[stephan@host:~/cvs/fossil/f2/th1ish]$ ./th1ish -f test-001.th1ish -- -c -r=../../whio.fsl 
This script's name: test-001.th1ish ==canonical==> /home/stephan/cvs/fossil/f2/th1ish/test-001.th1ish
test-001.th1ish:38:15 Repo db: Db@AA7D70
test-001.th1ish:41:11 f = FossilContext@A8B200
test-001.th1ish:50:19 Db details: repo Db@AA7D70
	Opened repo: /home/stephan/cvs/fossil/whio.fsl
	Size of repo: 3922944
	mtime of repo: Sun Jul 28 10:49:41 2013
test-001.th1ish:50:19 Db details: checkout Db@AA86F0
	Opened repo: /home/stephan/cvs/fossil/f2/.fslckout
	Size of repo: 136192
	mtime of repo: Sun Jul 28 16:47:25 2013
...

Status, TODOs, and Whatnot

All of this code is an experiment, and it does not represent a commitment by anyone that any of this code wll some day end up living under the umbrella of the larger Fossil SCM project. If all goes well, that's the eventual goal, though. It is pre-alpha quality. What's there works but there is still a a great deal of the SCM-specific infrastructure left to port in and refactor to make it usable via library-style interfaces. Anyone looking for a timeline is asked respectfully to look elsewhere - there is no timebox on nor schedule for this project/experiment.

TODOs... you might want to get a coffee/tee/beer before starting through the list.

"Rules" for Code Contributors

Aside from that: hack at will. Generally the quickest/most complete way to test changes it to add them to the th1ish script bindings (in shell_extend.c). If you prefer writing C-level tests, please add them to test.c in the top-level directory.

News

Notable changes...