fix return values from repo_add functions, they return 0 for success
start with the bindings documentation