IQSS logo

IRC log for #dataverse, 2019-02-15

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

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

All times shown according to UTC.

Time S Nick Message
01:06 jri joined #dataverse
04:06 jri joined #dataverse
07:31 juancorr joined #dataverse
07:50 jri joined #dataverse
08:09 mouse36 joined #dataverse
08:09 mouse36 left #dataverse
08:20 juancorr70 joined #dataverse
08:20 juancorr70 left #dataverse
08:20 juancorr74 joined #dataverse
10:50 juancorr74 left #dataverse
10:51 juancorr joined #dataverse
12:20 donsizemore joined #dataverse
12:21 MrK joined #dataverse
12:22 pdurbin donsizemore: morning! I sort of half tested the sample stuff yesterday before taking off.
12:22 donsizemore @pdurbin morning! i decided on the drive in how i'm going to do the rest
12:23 pdurbin awesome, seems like we're close
12:23 pdurbin MrK: good afternoon! I volunteered to take a look at your pull request. We're thinking I should actually try Flyway a bit. I may have questions.
12:24 MrK pdurbin: hi! Yeah playing with it is probably the best to get the feel how it works + documentation :P
12:25 MrK Sure hit me up if you have any.
12:26 donsizemore @pdurbin sorry I got pulled onto Other Things for a bit. "round tuit" and all that
12:38 MrK pdurbin: I also have a question about metadata validation :p
13:03 pdurbin donsizemore: worries
13:03 pdurbin MrK: go ahead
13:05 MrK pdurbin: What is DatasetField template and ParentDatasetFieldCompoundValue for?
13:16 pdurbin MrK: it's early for tough questions. Let me open up that code.
13:19 pdurbin Have you played with Dataset Templates yet? They're a way to pre-populate values. For example, you could make it so "Chemistry" is always checked as the Subject of a dataset for the Chemistry department: http://guides.dataverse.org/en/4.10.1/user/dataverse-management.html#dataset-templates
13:20 pdurbin Are you familiar with "compound" vs. "primitive" dataset fields?
13:28 pdurbin donsizemore: are/were you seeing "dataverseContacts... At least one contact is required"? It's odd because there *does* seem to be a contact in the JSON.
13:40 donsizemore @pdurbin i had to edit the json a little bit but my users are extant =)
13:40 pdurbin great!
13:44 donsizemore @pdurbin so, create-all-and-test is where things get messy from an ansible perspective. i'm just going to read the dataset dir for *.sh and include parts of create-all* and grant* in snippets per dataset/user as the case may be.
13:47 pdurbin donsizemore: sure. Whatever you feel is best. How easy do you think it's going to be to swap in different sample data? If it's better to simply use my scripts as a reference, that's fine. You can invent new, better scripts if you want.
13:50 pdurbin I also keep thinking that it would be nice if the solution didn't require Ansible. For example, Mike might want sample data on his laptop.
13:54 donsizemore @pdurbin i'm using your scripts as a reference but they only get implemented if the sampledata/ directory doesn't exist
13:54 pdurbin Ok, cool.
13:54 donsizemore @pdurbin for ansible's part, it's just checking directories for content (* for users, *.sh for datasets) and acting on what it finds. that should be pretty easy to manipulate)
13:55 donsizemore @pdurbin custom sampledata would just need to be in the right format in the right directory (dataverse/user json, shell scripts and json/xml for datasets)
13:56 donsizemore @pdurbin all of that should be pretty easy to wrap in a shell script
13:57 pdurbin Awesome.
14:13 MrK pdurbin: As I understand primitive are just Java types.
14:14 andrewSC joined #dataverse
14:14 pdurbin MrK: sorry, I mean in Dataverse's metadata system
14:15 pdurbin title is a primitive field
14:15 pdurbin author is a compound field (has sub fields)
14:15 pdurbin sub fields like author name, author affliation, etc
14:16 MrK ahh
14:17 pdurbin so that parent of author name is author
15:43 pdurbin donsizemore: are you around next week?
16:10 donsizemore @pdurbin i should be, yes
16:12 pdurbin donsizemore: ok, heads up that I'm out next week. School vacation week. Please reach out to Danny if you want someone to test sample data stuff them. Matthew knows this EC2 stuff well.
16:13 donsizemore @pdurbin i hope it's for a good reason! (and that i may be accordingly jealous)
16:15 pdurbin A little skiing in Vermont. Then a long drive to Philly to see my sister in law's roller derby team.
16:31 donsizemore enjoy@
16:32 pdurbin :)
16:32 pdurbin thanks
16:44 pameyer joined #dataverse
16:50 donsizemore @pdurbin had your dataverses/finches/datasets finch1 test been passing?
17:03 pdurbin donsizemore: well, on phoenix, I publish the "Spruce Goose" dataset and confirm that I can download its file. Yes. Works fine.
17:04 jri joined #dataverse
17:04 pdurbin STATUS_CODE_FROM_DOWNLOADING_PUBLISHED_FILE=200 at https://build.hmdc.harvard.edu:8443/job/phoenix.dataverse.org-deploy-develop/356/console
17:59 donsizemore joined #dataverse
18:49 jri joined #dataverse
19:13 donsizemore @pdurbin thanks. just dug in and i'm not sure where i found the (outdated) endpoint i was calling
19:16 pdurbin gotcha
19:27 donsizemore @pdurbin got my first dataset creation wedged into dataverse-ansible, just need to plunk out a few more.
19:27 donsizemore @pdurbin as you saw, i'm taking your examples from phoenix but dropping them all in dirs to be read dynamically
19:28 donsizemore @pdurbin easy to swap out of somebody has other/better sampledata they'd rather use
19:31 pameyer @donsizemore might be a dumb question, but what happens if somebody swaps in typo'd sample data and it doesn't work?
19:33 pameyer ... it looks like I asked too soon.  from a quick read, it would not create the typo'd one and carry on
19:34 pdurbin donsizemore: I see a new commit. 5045a78. I'll give it a shot.
19:35 donsizemore @pdurbin it ain't ready yet, but i've been iteratively pushing code since my build box's HD is no spring chicken
19:36 pdurbin think spring
19:37 pdurbin donsizemore: can you see yourself using this sample data? In dev/testing or whatever?
19:37 donsizemore @pdurbin more often i think chicken
19:38 donsizemore i could absolutely see a software tester using more elaborate sample data (and tests)
19:39 pdurbin Sure, but I guess I'm wondering if you run your own demo server or anything. Scholars Portal has their own.
19:45 pdurbin Huh. Still no users.
19:48 pdurbin Anyway, I'm leaving in 15 minutes anyway. I'll be out of everyone's hair. Again, gone next week. Have a nice weekend, everybody.
19:50 donsizemore @pdurbin your spruce/trees1 example uses sword v2 to create a dataset. keep that one?
19:50 donsizemore you have a great weekend as well!
19:51 pdurbin up to you
19:51 pdurbin JSON is much more expressive than SWORD XML
19:53 pdurbin I guess usermgmtkey isn't working for me. I'm still getting "Dataverse config issue: No API key defined for built in user management"
19:54 donsizemore does your sampledata task include the quesadilla? ;)
19:54 donsizemore - name: set user management quesadilla
19:55 pdurbin yep
19:55 donsizemore and your group_vars file includes usermgmtkey: burrito
19:56 pdurbin yeah, I upload my main.yml here: https://github.com/IQSS/dataverse/issues/5235#issuecomment-464131819
19:58 donsizemore oh, i still need to fix the user stuff outside of vagrant (and i will). but it's so beautiful out... i may head to the gym to map it out in my head
19:58 donsizemore have a great trip!
19:58 pdurbin yeah, I gotta get my daughter to basketball practice... enjoy the nice weather and I'll see you in a week or so
19:59 pdurbin you (all) that is :)
19:59 pdurbin left #dataverse
20:23 jri joined #dataverse
20:58 donsizemore joined #dataverse

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

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.