IQSS logo

IRC log for #dataverse, 2019-02-28

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
07:58 jri joined #dataverse
08:12 jri_ joined #dataverse
08:17 dataverse-user joined #dataverse
08:17 dataverse-user left #dataverse
11:09 poikilotherm joined #dataverse
11:17 poikilotherm Morning pdurbin - are you around already?
11:31 pdurbin poikilotherm: morning. Not in the office yet but what's up?
11:33 poikilotherm Did you guys look into sth like my suggestion back in 2015? https://github.com/IQSS/dataverse/issues/5585
11:33 poikilotherm (Sometimes things are not written down...)
11:45 mouse20 joined #dataverse
11:49 pdurbin well, we documented how to configure jhove in https://github.com/IQSS/dataverse/issues/4861
11:49 poikilotherm Yeah, that's fine
11:50 poikilotherm It could make the installer and other places easier if the XSD does not need to be installed locally
11:50 pdurbin better than no docs, but I hear yout
11:50 pdurbin you*
11:50 poikilotherm For a "workaround" for kubernetes#4 I simply added the sed
11:50 pdurbin mmm, sed
11:50 poikilotherm The installer does the very same
11:51 pdurbin sure but do you really want that file going over the wire all the time? seems a bit brittle
11:51 pdurbin welcome, mouse20
11:51 poikilotherm That's why I'm asking - actually this file should only be needed once on startup of Dataverse, when the jhove.conf is loaded and validated
11:52 pdurbin gotcha
11:52 pdurbin well, you could make a pull request and see what Leonid thinks
11:53 pdurbin he's the one with the strongest opinions about it, probably
11:53 poikilotherm *G*
11:53 poikilotherm Aye
11:53 pdurbin There are other XSDs Dataverse uses. For validation or whatever.
11:57 pdurbin "Generally speaking, unit tests have been flagged as non-essential because they are slow or because they require an Internet connection." https://github.com/IQSS/dataverse/pull/4989/files
11:58 poikilotherm Yeah and I found JhoveFileType.java:92
11:58 poikilotherm Seems like JHove is initialised everytime a file is checked
11:59 poikilotherm Sounds like the architecture might need some improvement...
12:03 pdurbin It's open source. :)
12:03 poikilotherm Yeah
12:04 poikilotherm Its just...
12:04 poikilotherm Well you find something and try to change.
12:04 poikilotherm Then you have Pandorra around.
12:04 poikilotherm Always
12:04 pdurbin ah, "jb.init(configFile, saxClass);
12:04 pdurbin at https://github.com/IQSS/dataverse/blob/v4.11/src/main/java/edu/harvard/iq/dataverse/util/JhoveFileType.java#L92
12:05 pdurbin I see what you mean.
12:06 pdurbin So you really don't want that XSD being downloaded over and over, each time a file is checked.
12:08 poikilotherm Yeah that would be no good design...
12:08 poikilotherm https://github.com/IQSS/dataverse/issues/5585#issuecomment-468249311
12:27 pdurbin Is this a situation where you could make a pull request just for feedback on the approach?
12:27 poikilotherm Sure. But not today. Maybe in 2 weeks when I'm back ;-)
12:28 pdurbin ok
12:28 poikilotherm Concentrating on dataverse-kubernetes issue for today ;-)
12:29 pdurbin sure, hooray for sed
13:13 donsizemore joined #dataverse
13:45 poikilotherm pdurbin: https://github.com/IQSS/dataverse-kubernetes#configuration-of-dataverse
13:52 poikilotherm Hopefully my colleague will get up with a Dataverse installation while I am not in the office...
14:07 poikilotherm Alright, that's it for me for today and the next two weeks... :-)
14:07 poikilotherm Cu all
14:10 pdurbin have a nice vacation
15:01 humberto joined #dataverse
15:02 humberto i wnat to lnow if anyone can send me some info about examples to config ldap authentication in dataverse
15:02 humberto really appreciate your help
15:11 pameyer joined #dataverse
15:19 pdurbin humberto: hi! LDAP or Active Directory?
15:23 MrK joined #dataverse
15:24 pameyer humberto: one of the things I've learned recently is that "ldap" isn't precise enough for configuring ldap auth
15:24 pdurbin pameyer: oh? What do you mean?
15:24 pameyer ldap isn't officially supported as an authentication mechanism; but depending on the ldap server it can sometimes be made to work through shibboleth
15:24 humberto hi active directory
15:24 pdurbin pameyer: active directory should work, right?
15:25 pameyer pdurbin: AD and freeipa are both "ldap", but wildly different as far as dataverse is concerned
15:25 humberto ok i can explore shibboleth auth
15:25 pameyer humberto: that _should_ be easier
15:25 humberto or any other OAUTH 2
15:25 pameyer I don't know if it's in a release yet, but there are some example configuration files in the dataverse repository
15:25 humberto mechanism
15:25 pdurbin humberto: you're using ADFS, right? Please see http://guides.dataverse.org/en/4.11/installation/shibboleth.html#shibboleth-and-adfs
15:26 pameyer pdurbin: thanks for having the link handy :)
15:26 pdurbin my friends call me "linky" ;)
15:26 pameyer there are 3 oauth2 providers that dataverse supports (orcid,github,google) - but no generic oauth2
15:26 pameyer no idea if AD does oauth2 or not
15:27 humberto pdurbin:jejej thanks
15:27 pdurbin humberto: which OAuth2 provider do you need support for?
15:28 humberto i believe that microsoft 365 supports OAUTH but for now  i need to review that
15:28 pdurbin huh, interesting
15:29 pdurbin I *think* the ADFS approach (link above) is your best bet for now. But please be advised that you may need some help from pameyer (who got it working) or Julio: http://irclog.iq.harvard.edu/dataverse/2019-02-27#i_87358
15:30 pdurbin If memory serves, donsizemore got ADFS working with Dataverse too.
15:30 humberto linky: thanks then im started in this way. See you soon.
15:32 pdurbin heh, sounds good
15:57 andrewSC joined #dataverse
17:21 pameyer for future reference / irc-bot ; there was no attribute mapping needed for "Shib-Identity-Provider" with ADFS on that system
18:29 pdurbin pameyer: huh. ok. thanks
18:30 * pdurbin gives iqlogbot a treat
18:48 pdurbin pameyer: "interactive figures" at https://github.com/IQSS/dataverse/issues/2214#issuecomment-468389148 reminds me of the 3D model you can drag around a browser at https://data.sbgrid.org/visualize/3TS2/ for example.
19:11 pameyer pdurbin: I'll take a look; messing with certs now
19:36 pameyer pdurbin: that comment has me thinking more "let dataverse host arbritrary javascript for an interactive viewer" than the structure visualizers
19:37 donsizemore joined #dataverse
20:11 pdurbin pameyer: but isn't the structure visualizer arbitrary javascript from the Datavese perspective? Ideally, you'd still have your visualizer, right? Aren't you going to miss it once you've switched to Dataverse?
20:12 pameyer visualizer is closer to an external tool - it references metadata from the dataset, but the code that gets executed isn't part of the dataset (and isn't user editable)
20:13 pdurbin hmm, interesting
20:13 pdurbin if i knew that I forgot
20:14 pameyer I'm pretty sure I stuck the visualizer in the reprocessing page; but might be remembering wrong
20:15 pameyer it sounded to me like that comment wanted the user to be able to provide the code doing the interactive bits.  I might be mis-interpreting it though
20:18 pdurbin I don't see a reprocessing page. Is it live in your installation?
20:18 pameyer _should_ be - will check later
20:19 pameyer that's what the ugly fork hack for dataset-level explore was for
20:25 pdurbin ok, thanks
22:19 sivoais joined #dataverse
22:36 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.