G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

Windows fixes and annex v7 #250

Closed achilleas-k closed 5 years ago

achilleas-k commented 5 years ago

This PR makes a lot of changes towards making the client more robust on Windows and the behaviour a lot more consistent across all platforms.

Repositories are now initialised in v7 mode. This changes a lot of the behaviour around locked and unlocked files. Files are added unlocked by default. We will probably move towards not supporting file locking at all, since on Windows locked files are unusable (they are just pointer files that don't link to the content like on Linux and macOS).

Some smaller changes are also included in the way merge conflicts are handled.

Also included in this PR is a few small Go tests. These are prototypes and will slowly become unit tests that cover most lower level functionality (git and git-annex calls and effects), while the Python tests remain as comprehensive integration tests.

The Go tests and some of the integration tests that don't require a server (they use local directories as "remotes") are now run on Appveyor for Windows testing.