Skip to content
Fossil Changes To Fossil-NG
Login

Changes To Fossil-NG

Changes to "Fossil-NG" between 2017-11-18 20:44:01 and 2017-11-18 20:57:19

︙
48
49
50
51
52
53
54












































48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
>
    fossil new new-repo.fossil Makefile README.md src/

That command will create a file container named "new-repo.fossil" that
contains the files "Makefile", "README.md", and all files under src/.
This repository would be compact, and suitable for sending as an email
attachment, just like one would do with a tarball or ZIP archive.

The [SQLite Archiver](https://sqlite.org/sqlar/doc/trunk/README.md)
project shows how to build a file container using SQLite for storage.
Fossil-NG should include the capabilities of SQLite Archiver, though
the underlying file format will doubtless be more advanced so that
it can also support block-chain versioning.

Current Fossil provides web-page links and command-line operations for
generating a ZIP archive or tarball for a particular check-in.
Fossil-NG should continue to have that capability, but should also
be able to generate a single-checkin repository that serves as a
file container.

## Support For Multiple VCS Formats

Fossil-NG should provide the ability to store artifacts in various
formats:

  1.   Git
  2.   Mercurial
  3.   Legacy Fossil
  4.   Fossil-NG

A repository that contains only Git-formatted artifacts should have the
capability to interoperate seamlessly with Git repositories.  This allows,
for example, a Fossil-NG user to clone and use a repository out of GitHub
while continuing to use the superior Fossil user interface.  It also
allows a Fossil server to answer clone/push/pull requests from legacy
Git clients.  The same symmetry applies to Mercurial and legacy Fossil.

Thus, by using a single Fossil-NG client and user interface, a developer
can interact with legacy repositories in a variety of formats, without
having to learn the idiosyncrasies of multiple VCSes.

Fossil-NG itself will be able to operate on repositories that hold a
mixture of artifacts in various formats.  Legacy Git, Hg, and Fossil
clients, however will only be able to interoperate with Fossil-NG
repositories that hosts all artifacts in the one format the the client
understands.

Converting artifacts from one format to another is an expensive computation -
too expensive to do on-the-fly.  However, it is conceivable that Fossil-NG
could be used to convert repositories between Git/Hg/Fossil formats as
an off-line operation.