Time
S
Nick
Message
06:13
jri joined #dataverse
11:51
donsizemore joined #dataverse
11:53
Youssef_Ouahalou joined #dataverse
13:52
pdurbin joined #dataverse
14:11
jonas joined #dataverse
14:24
jonas
Hi everyone! I have a quick question again. We finally decided to adapt some dataverse code to our needs. Is there something like a best practice? should we fork the project, branch from our preferred version tag there and then rebase it once we want to update dataverse?
14:25
jonas
Sorry if it's too much for the chat, please only answer if it's a quick one :)
14:32
pdurbin
jonas: hi! The preferred approach is for you to work with us to define what change you want (creating an issue first) and then making a pull request. Does that make sense?
15:42
dataverse-user joined #dataverse
15:43
dataverse-user
Hi everyone, I'm trying to move a dataset to another dataverse using this: curl -H "X-Dataverse-key: $API_TOKEN" -X POST http://$SERVER/api/datasets/$id/move/$alias
15:43
dataverse-user
I changed $API_TOKEN with the api token that my datavers gave me ... $Server with my domain
15:43
dataverse-user
$id with the handle of my dataset
15:44
dataverse-user
and $alias with the alias of the dataverse
15:44
dataverse-user
But I get this error
15:44
dataverse-user
{"status":"ERROR","code":404,"message":"'/api/v1/datasets/hdl:10.34848/FK2/51NCH2/move/admin-prueba' endpoint does not exist on this server. Please check your code for typos, or consult our API guide at http://guides.dataverse.org ."}
15:48
pdurbin
dataverse-user: hi! I believe you have to use the database id of the dataset.
15:50
dataverse-user
Ok, I'll try that
15:50
dataverse-user
thanks
15:51
pdurbin
dataverse-user: you can also move a dataset using the dashboard. Please see http://guides.dataverse.org/en/4.20/admin/dataverses-datasets.html#move-a-dataset
15:52
dataverse-user
I'm usign 4.9.4 version ... can I do that in that version?
15:53
pdurbin
Oh, probably not.
15:54
dataverse-user
Ok, I'll try with the curl option and let you know if I get an error or if it worked
15:54
dataverse-user
thanks again
15:54
pdurbin
dataverse-user: nope, sorry. It was added in 4.14: https://github.com/IQSS/dataverse/pull/5798
15:54
dataverse-user
ok
15:54
pdurbin
Sounds good. Good luck!
16:43
dataverse-user
Hi again
16:45
dataverse-user
I tried with the id of one dataset but now I get the following error: {"status":"ERROR","message":"Bad api key "}
16:47
dataverse-user
Nevermind ... it worked now ... however, I'm getting this message {"status":"ERROR","message":"Dataset with ID 126 not found."}
16:47
dataverse-user
I got the "126" number from the database
16:48
dataverse-user
nevermind ... it worked hahaha
16:48
dataverse-user
thanks!
16:54
pdurbin
:)
18:41
dataverse-user joined #dataverse
20:39
pdurbin
Have a good weekend, everyone.
20:39
pdurbin left #dataverse
20:43
jri joined #dataverse
21:28
jri joined #dataverse