G-Node / gin-cli

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

Changing web addresses to gin.g-node.org #266

Closed achilleas-k closed 5 years ago

achilleas-k commented 5 years ago

Config, documentation, and CI configs.

Bumping version number

achilleas-k commented 5 years ago

Sometimes, git annex sync commands can fail without returning an error code. I encountered this in the past with merge conflicts. Previously we checked for merge errors that exhibited this behaviour, but it can also happen in other cases (permission denied). For all functions that use annex sync internally (AnnexPull, AnnexPush, AnnexSync), the client now first checks if stderr printed any known error messages, then checks for merge conflicts and finally checks if the return code was not 0 (err != nil).