Veracity Q&A home login about faq

Given that the nature of DVCS, it seems that it will be at least possible that at any given time one instance of Veracity will need to push/pull/clone a repository that is in another instance of Veracity that is a different version. Since as new releases are deployed to computers at different times.

Vault has the following to say on this topic:

Client/Server Version Compatibility

It is always recommended that your client and server versions match exactly (e.g., a 5.0.3 client should be connecting to a 5.0.3 server). 5.0.x clients are able to communicate with any 5.0.x server, but specific bug fixes will not work correctly if they required both client and server changes. 5.0.x clients and servers are not compatible with 1.x, 2.x, 3.x or 4.x clients and servers.

However, I may work with my company repository with may be version 1.1 and also want to pull code from the public Veracity server which might be version 2.0.

asked Jul 25 '11 at 15:07

acbova's gravatar image

acbova
731142135

edited Jul 25 '11 at 18:46


We have version numbers on all important data structures and where appropriate these are included in the hash computations. These version numbers are checked as an object/blob is received/fetched. If a client or server receives a data structure in a newer format than it understands, it stops/rejects the object.

So in theory, you should be able to push a change from a version 1 client to a version 2 server, but you might not be able to pull. It would depend on whether there had been any commits from any version 2 clients.

link

answered Jul 25 '11 at 17:44

Jeff%20Hostetler's gravatar image

Jeff Hostetler ♦♦
1.8k928

1

I should point out that while in the early 0.1-0.9 versions we had (and exercised) free rein in making changes to repository and template structures, from 1.0 forward those changes should be relatively rare. Version numbers on the data structures will also allow for better backward compatibility, so I would expect growing pains to be minimal.

(Jul 25 '11 at 18:22) Joe Ream ♦

By that do you mean how do/will we handle push/pull/clone between clients and servers which are running different releases of the software ?

link

answered Jul 25 '11 at 15:38

Jeff%20Hostetler's gravatar image

Jeff Hostetler ♦♦
1.8k928

yes.... feel free to rephrase the question.

(Jul 25 '11 at 15:41) acbova
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×31
×20

Asked: Jul 25 '11 at 15:07

Seen: 1,709 times

Last updated: Jul 25 '11 at 18:46

powered by OSQA