Time
S
Nick
Message
00:41
axfelix joined #dataverse
05:11
axfelix joined #dataverse
06:40
bencomp joined #dataverse
08:14
bencomp joined #dataverse
08:17
jri joined #dataverse
08:18
* bencomp
does `git pull` and sees '4.3 -> iqss/4.3 (forced update)'
08:19
bencomp
yolo?
09:27
xvx joined #dataverse
09:49
bencomp joined #dataverse
10:03
jri_ joined #dataverse
10:30
bencomp joined #dataverse
10:50
pdurbin
bencomp: I'm not sure what you mean.
11:47
jri joined #dataverse
12:51
bmckinney joined #dataverse
13:15
pdurbin
bmckinney: mornin'. I probably should have had you look over my shoulder as I continued to use your Ansible scripts. :)
13:22
bmckinney
pdurbin: good morning, actually probably better that i wasn't around so that you discovered all the potholes that still exist
13:22
bmckinney
i was surprised you had to rerun so many times
13:24
pdurbin
yeah
13:24
bmckinney
pdurbin: early tests show that adding relative paths to a datafile's filesystemname will work
13:25
pdurbin
bmckinney: so I was shocked, actually that I got a login screen. I was thinking "did this this run `setup-all`?" I *think* you're injecting a bunch of SQL instead?
13:25
bmckinney
pdurbin: we'd want to prevent the automatic creation of thumbs, etc. that get placed next to the original files
13:26
bmckinney
pdurbin: yes, i resorted to pg_dumps to make things simple
13:28
bmckinney
pdurbin: if you look at the postgres ansible task you'll see that i put in some support for flyway to deal with schema migrations (https://flywaydb.org/)
13:28
bmckinney
i didn't make those parts active since i ran into some issues
13:28
pdurbin
I saw! Super excited about that! But... I still think we should be running setup-all.
13:30
bmckinney
i'll give you rights and you can have at it!
13:31
pdurbin
oh, and what about https://github.com/IQSS/dataverse/blob/develop/scripts/installer/glassfish-setup.sh ? Shouldn't that be called?
13:33
pdurbin
My concern having to keep your Ansible scripts up to date with changes to glassfish-setup.sh, for example.
13:35
pdurbin
Really we should pull in the authors of https://github.com/IQSS/dataverse-ansible and https://github.com/IQSS/dataverse-puppet for this conversation. (Not right now.) :)
13:36
bmckinney
well, that's fair but at some point you end up just following the developer install drill that is currently in the docs!
13:37
bmckinney
quoting myself: "The idea here is to get the project running locally, no matter what it takes."
13:50
pdurbin
Right. I just don't want to introduce a maintenance nightmare. Let me keep playing with it. Again, it's good stuff, even if I only use part of it.
13:50
pdurbin
bmckinney: and cool that your experiments with relative paths are going well.
13:54
bmckinney
pdurbin: i added you as a collaborator. keep in mind everything there has been tested on os x 10.9, 10.10 and 10.11
13:54
pdurbin
ok. I might fork it anyway. pull request. we'll see
13:55
pdurbin
first I'll be summarizing all the sub issues of https://github.com/IQSS/dataverse/pull/3025 for QA and getting them out of my name
13:55
pdurbin
close the book on shib (from my end)
13:55
pdurbin
make war files available publicly
13:55
pdurbin
summarize for the mailing list
13:55
bmckinney
congrats!
13:56
pdurbin
thanks. I still don't have a fix for https://github.com/IQSS/dataverse/issues/1551 unfortunately. if you have any ideas for me, please let me know
13:57
pdurbin
not that you guys plan to use shib
14:11
pameyer joined #dataverse
14:13
pdurbin
ok https://shibtest.dataverse.org is now running "v. 4.3 build 1-origin/2939-shib-bac238f" which is the war file at https://build.hmdc.harvard.edu:8443/job/shibtest.dataverse.org-build-2939-shib/1/edu.harvard.iq$dataverse/ built from https://build.hmdc.harvard.edu:8443/job/shibtest.dataverse.org-build-2939-shib/1/
14:14
pdurbin
er. this war file, I mean: https://build.hmdc.harvard.edu:8443/job/shibtest.dataverse.org-build-2939-shib/1/edu.harvard.iq$dataverse/artifact/edu.harvard.iq/dataverse/4.3/dataverse-4.3.war
14:15
pdurbin
the idea being that others can give it a try if they're interested. such as bencomp. need to upgrade to 4.3 first. I'll write this up properly for the mailing list.
14:23
pdurbin
bencomp: do you think you'd be able to help QA https://github.com/IQSS/dataverse/issues/2512 ? You opened that issue. I don't have any control over an IdP so it's hard for me to force the multiple emails accounts to get passed from the IdP.
14:28
bencomp
pdurbin: maybe next week, maybe even later
14:29
pdurbin
bencomp: ok. thanks
14:57
bmckinney
pdurbin: what am i missing?
14:57
bmckinney
WILLIAMs-MBP:bio-dataverse bmckinney$ curl -U ea244329-a0cf-4a36-a530-f173e3762d3c: http://localhost:8080/dvn/api/data-deposit/v1.1/swordv2/collection/dataverse/root --verbose * Trying ::1... * Connected to localhost (::1) port 8080 (#0) > GET /dvn/api/data-deposit/v1.1/swordv2/collection/dataverse/root HTTP /1.1 > Host: localhost:8080 > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 401 Unauthorized < Server: GlassFish Server Open
14:58
pdurbin
bmckinney: you're trying to get SWORD to work?
14:59
pdurbin
all of these SWORD tests passed yesterday: https://build.hmdc.harvard.edu:8443/job/phoenix.dataverse.org-apitest-develop/edu.harvard.iq$dataverse/13/testReport/edu.harvard.iq.dataverse.api/SwordIT/
15:00
pdurbin
testCreateDatasetUploadFileDownloadFileEditTitle, etc
15:00
pdurbin
I'd suggest running them locally.
15:02
pdurbin
bmckinney: please see "Running an integration test" at 2016-01-12 Dataverse API Testing - http://bl.ocks.org/pdurbin/raw/814fd29916749523db9a/#11
15:02
bmckinney
ugh
15:02
bmckinney
just want to get any api response
15:03
pdurbin
"Test File" is only one click away: http://bl.ocks.org/pdurbin/raw/814fd29916749523db9a/run-test.png :)
15:03
bmckinney
if i'm using the admin api key, i shouldn't get a 401
15:04
pdurbin
try this: mvn test -Dtest=SwordIT
15:06
bmckinney
Results : Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29.769 s [INFO] Finished at: 2016-03-18T11:06:30-04:00 [INFO] Final Memory: 42M/399M [INFO] ------------------------------------------------------------------------
15:07
bmckinney
looks good
15:07
pdurbin
nice
15:07
pdurbin
so crack open SwordIT.java and see how it works :)
15:07
bmckinney
what is the most basic api i can test?
15:08
bmckinney
using curl
15:08
pdurbin
please check out the create-all-and-test script referenced from https://github.com/IQSS/dataverse/blob/develop/scripts/deploy/phoenix.dataverse.org/post
15:09
pdurbin
lots of curl commands there: https://github.com/IQSS/dataverse/blob/develop/scripts/search/tests/create-all-and-test
15:10
pdurbin
those scripts upload a file (via SWORD) to http://phoenix.dataverse.org
15:10
bmckinney
curl -u $API_TOKEN: ....
15:11
bmckinney
i get 401s
15:11
pdurbin
works on phoenix :)
15:12
pdurbin
"unauthorized" makes me wonder about permissions. you could try it with a superuser token
15:12
axfelix joined #dataverse
15:13
bmckinney left #dataverse
15:16
pdurbin
pameyer: if you could let him know I'll be away for a bit while I'm on the T, I'd appreciate it. Heading here: SpinachCon event in downtown Boston this Friday: using and contributing to open source - Google Groups - https://groups.google.com/forum/#!topic/dataverse-community/G6cyCAv1hbY
15:16
pameyer
pdurbin: sure
15:45
metamattj joined #dataverse
17:56
garnett joined #dataverse
18:22
skay
o/
18:25
cnk joined #dataverse
18:36
garnett joined #dataverse
18:52
axfelix joined #dataverse
19:14
bencomp joined #dataverse
20:09
pameyer joined #dataverse
21:01
xvx_ joined #dataverse
21:41
pameyer joined #dataverse
22:47
garnett joined #dataverse
22:51
garnett joined #dataverse