Hi,
I'm completely new to git-annex, I'm trying to follow this guide:
https://git-annex.branchable.com/tips/centralized_git_repository_tutorial/on_GitLab/
All steps succeeded except the git annex sync --content
which results in the following message:
'Remote origin not usable by git-annex; setting annex-ignore'
Here is an example of the output I receive:
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
$
$ git push origin master git-annex
Everything up-to-date
$
$ git annex sync --content
Remote origin not usable by git-annex; setting annex-ignore
commit ok
pull origin
ok
pull origin
ok
$
$ git config remote.origin.url
https://user:pass@gitlab.com/user/repname.git
Is it required to use the ssh protocol in order to get annex working?
I'm using https since I'm behind a firewall, and the ssh protocol always time out. Is there anything I can do?
It's possible to set up a http repo such that git-annex can use it, but gitlab's http repos are not set up this way. It might be worth asking them to do it. setup a public repository on a web site explains one way to set up a http repo for git-annex.
But, even when git-annex is able to use a http repo, it can only download files from it. There's no support for uploading git-annex managed files to a remote http repo. This would need additional server-side support of some kind.
It doesn't solve my problem but at least now I know there is no way to do that behind such a firewall.
Thanks for your reply!