IQSS logo

IRC log for #dvn, 2014-05-14

We've moved! Please join #dataverse instead. The new logs are at http://irclog.iq.harvard.edu/dataverse/today

| Channels | #dvn index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
02:16 axfelix joined #dvn
03:13 mbjones joined #dvn
14:08 mbjones joined #dvn
14:33 mbjones joined #dvn
15:26 jwhitney joined #dvn
16:22 mbjones joined #dvn
18:28 pdurbin jeffspies_: you're a pythonista, you might like this: https://github.com/IQSS/dataverse/tree/master/scripts/api/py_api_wrapper
18:29 pdurbin skay: ^^
18:29 pdurbin shauna: ^^
19:53 shauna pdurbin: neat!
19:54 pdurbin shauna: it exercizes future dataverse apis. very much beta
19:54 pdurbin but already useful :)
19:54 shauna Exercizes?
19:54 pdurbin buh
19:54 pdurbin you know... um
19:54 pdurbin calls various api endpoints
19:54 skay exorcises the bugs
19:54 pdurbin makes sure they do something reasonable :)
19:54 skay dang I think I mispelled that
19:54 pdurbin skay: that'd be great
19:55 shauna :)
19:56 pdurbin jwhitney: I just got it kinda working to upload a file via sword in 4.0
19:56 pdurbin and kinda working to create a dataset
19:56 pdurbin which is our new name for a study
20:01 jwhitney pdurbin: excellent.
20:01 pdurbin bit by bit
20:01 pdurbin the whole back end has been re-written
20:02 pdurbin but at least I'm able to re-use large portions of what I wrote for 3.x
20:03 pdurbin jwhitney: a lot of our sword URLs have "study" in them... do you persist any of these in your database? or do you always start with the Service Document?
20:03 pdurbin ... and work your way down
20:05 jwhitney afraid so: study urls are stored
20:06 pdurbin hmm
20:06 jwhitney although they don't have to be, I don't suppose
20:07 pdurbin jwhitney: so if you want to update a study on the DVN side, you go to your database and retrieve a URL such as https://example.com/dvn/api/data-deposit/v1/swordv2/edit/study/hdl:TEST/12345 and then operate on it
20:08 pdurbin jeffspies_: how about OSF? do you store study URLs in your database too?
20:09 jwhitney yeah, actions on studies happen on study edit uris, edit media uris, statement uris, etc
20:09 jwhitney sorry, stored uris
20:09 pdurbin jwhitney: ok. good to know. I might want to chat some more about this at some point
20:10 pdurbin I have TODO's all over the code for stuff like this :)
20:11 pdurbin like this one: https://github.com/IQSS/dataverse/blob/7a6dc0337af8e3027701563ee8f395f84d62a915/src/main/java/edu/harvard/iq/dataverse/api/datadeposit/ReceiptGenerator.java#L20 :)
20:12 jwhitney :)
20:13 jwhitney but yes, I'm around if you want to talk about urls. I'm back on PKP work tomorrow & will look at whether storing urls is reeeeally necessary.
20:13 pdurbin :)
20:14 pdurbin jwhitney: for now I put a comment on the commit: https://github.com/IQSS/dataverse/commit/5b380104ff3b314682ab29eb39d70f8e0a0b5a65#commitcomment-6325805
20:14 pdurbin thanks
20:15 jwhitney sure. thanks for heads-up.
20:15 pdurbin jwhitney: in error messages that get returned... you don't care if I change the wording to say dataset, do you?
20:15 jwhitney Not a bit.
20:15 pdurbin ok. figured. thanks
20:16 pdurbin "no such dataset global id" or whatever
20:16 jwhitney yeah, that's fine.
20:17 jwhitney I'll update the language in the ui & notifications
20:17 jwhitney to match
20:17 pdurbin jwhitney: sure. as you see fit. I mean, in DVN 3.x we *do* call them studies
20:17 pdurbin calling them datasets is new as of Dataverse 4.0
20:18 jwhitney I meant, when the plugin starts speaking 4.0.
20:18 pdurbin gotcha
20:18 pdurbin jwhitney: would you like a way to detect if you're talking to 3.x or 4.0?
20:19 jwhitney good question.
20:19 pdurbin :)
20:19 pdurbin think about it
20:19 jwhitney will do.
20:19 pdurbin my goal is that you shouldn't care
20:20 jwhitney I agree, I'd prefer not to have to care
20:24 pdurbin care free :)

| Channels | #dvn index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

We've moved! Please join #dataverse instead. The new logs are at http://irclog.iq.harvard.edu/dataverse/today