Hi all,
I've been playing around with Cog to see what it'd take to move the code to git.
GitHub's svn importer [1] isn't very reliable I think (some directories were actually
missing), but eventually I managed to convert the entire svn repo to git [2].
Also, I have been able to build different Cog VMs automatically on Travis CI.
For a working build, see [3]. You can download the results at [4]. Please keep
in mind that this is still a "test" ;)
Eliot was also concerned how the version info will be maintained and I have a
simple proposal:
Each Cog release will be a git tag and for the version itself we could use
semantic versioning [3]. Then the build version is the git tag, the date is the
commit date and the URL is the "remote.origin.url".
Here's an example:
====================================================================
5.0-v0.1.0 Wed Mar 30 12:01:50 UTC 2016 gcc 4.6.3 [Production Spur 64-bit VM]
CoInterpreter VMMaker.oscog-eem.1740 uuid: 10ece78d-d04d-4ad2-8598-e496b6a6097c Mar 30 2016
StackToRegisterMappingCogit VMMaker.oscog-eem.1740 uuid: 10ece78d-d04d-4ad2-8598-e496b6a6097c Mar 30 2016
Linux testing-worker-linux-docker-9d959019-3394-linux-16 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
plugin path: ./products/nscogspur64linuxht/lib/nsvm/5.0-v0.1.0 [default: /home/idea4it/products/nscogspur64linuxht/lib/nsvm/5.0-v0.1.0/]
====================================================================
Any further suggestions? :)
Best,
Fabio