[Vm-dev] Attempting to move Cog to Git(Hub)

Fabio Niephaus lists at fniephaus.com
Wed Mar 30 13:03:43 UTC 2016


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
VM: v0.1.0 https://github.com/fniephaus/squeak.git Date: Wed Mar 30
13:58:46 2016 +0200
Plugins: v0.1.0 https://github.com/fniephaus/squeak.git
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

[1] https://import.github.com/
[2] https://github.com/fniephaus/squeak/tree/Cog
[3] https://travis-ci.org/fniephaus/squeak/builds/119507180
[4] https://www.hpi.uni-potsdam.de/hirschfeld/artefacts/cog/v0.1.0/
[5] http://semver.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160330/711ef89d/attachment-0001.htm


More information about the Vm-dev mailing list