-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GIN as alternative to OSF? #6
Comments
Yes, OSF is becoming tricky :( |
It seems repositories must be created manually :( |
FWIW, didn't try, but there is gogs (which is what |
Was able to create https://gin.g-node.org/markiewicz/tpl-MyTestTemplate with:
Where the token was created at: https://gin.g-node.org/user/settings/applications |
I can confirm that worked @effigies. I've set up an organization I'll start today figuring out the transfer/addition of GIN - I may even send a PR to datalad to handle GIN siblings ! |
@yarikoptic - I followed the handbook's instructions to add gin as a data source (https://handbook.datalad.org/en/latest/basics/101-139-gin.html#using-gin-as-a-data-source-behind-the-scenes) It seems that annexed files are stored at GIN too - e.g., https://gin.g-node.org/templateflow/tpl-MNI152NLin6Asym However, if you
Another interesting thing that happened is that resources that did download, were pulled What am I missing? |
Make sure that you don't have .git suffix in the url for gin, ie https://gin.g-node.org/templateflow/tpl-MNI152NLin6Asym is ok, https://gin.g-node.org/templateflow/tpl-MNI152NLin6Asym.git is not. Edit: ref datalad/datalad#5144 (comment) and there in |
Indeed that fixed the issue. I'm now trying to configure the sibling correctly for
So, the question is - once you've made the mistake of setting the HTTP URL with |
@effigies - have you found the API section where creating repos under an organization is explained? |
It's |
See https://github.com/gogs/docs-api/tree/master/Repositories#create that Yarik posted. |
I get unauthorized with the above. The token corresponds to Something obvious I'm not seeing ? (thanks much for the help!) |
but now with the right token, gives me
which is confusing and worrisome (that URL pointing at gogs) EDIT (and SOLVED) - scratch the above, this worked out:
@yarikoptic - the question of how to fix the remote name when the repo is checked out is still standing :( |
FWIW It is GIN days seems to me. @mih is also working on
IMHO it is ok, since gin is just a fork of gogs, and I guess all of the API end points are coming from gogs
if to fix within what git-annex knows about that remote, one way (using the case of recent similar question -- lnnrtwttkhn/highspeed-analysis#2 (comment))
|
Okay, I think I got it. I had to checkout |
Cool, all datasets are now mirrored at GIN. I'll figure out next how to make it the default mode of distribution. |
Quick note, since OSF is apparently tricky: http://gin.g-node.org/
The text was updated successfully, but these errors were encountered: