]> git.e2factory.org Git - e2factory.git/commit
global interface: cleanup: The server side ./version file and the .e2/version file...
authorGordon Hecker <gh@emlix.com>
Tue, 5 Jan 2010 10:47:07 +0000 (11:47 +0100)
committerGordon Hecker <gh@emlix.com>
Fri, 12 Feb 2010 09:51:58 +0000 (10:51 +0100)
commitecec6f35a691f7fef2c2b1fd6f06cb645a33043d
treede9b1203741df277f870597b069a54ecb7438046
parent072076d64bc0fd3a245fd21f8ed235cc61de9550
global interface: cleanup: The server side ./version file and the .e2/version file used to hold the global interface version, describing the way data is stored on server side. If the way data is stored is changed the version must be changed, too. That must take effect for all old versions of the project, so redundantly storing the global interface version in .e2/version must not be done.

This commit cleans up the situation:
remove and deprecate .e2/version
introduce .e2/global_version that is created on project check-out and
initialized with the value stored in ./version on the server side.

Local tools check the global interface version against a list of
supported versions stored in the build time configuration. That way they
will, in future, be able to complain if a particular version is not
supported.

Global tools create projects with the newest global interface version
supported.

Signed-off-by: Gordon Hecker <gh@emlix.com>
Changelog
Makefile
generic/e2lib.lua
global/e2-create-project.lua.in
global/e2-fetch-project.lua.in
global/e2-install-e2.lua.in
local/e2tool.lua
make.vars