uPortal IRC Logs-2010-11-05
[13:47:28 CDT(-0500)] <EricDalquist> athena: http://uportal.pastebin.com/p6PZQN5K
[13:47:46 CDT(-0500)] <athena> nice, that looks like a great start!
[13:47:59 CDT(-0500)] <EricDalquist> another hour and file generation will be there
[13:48:04 CDT(-0500)] <athena> what project is that for?
[13:48:06 CDT(-0500)] <athena> that's awesome
[13:48:11 CDT(-0500)] <EricDalquist> the plugin itself
[13:49:23 CDT(-0500)] <athena> oh
[13:49:24 CDT(-0500)] <athena> lol
[13:49:26 CDT(-0500)] <athena> aewsome
[13:50:15 CDT(-0500)] <EricDalquist> http://uportal.pastebin.com/3fGNKFig
[13:50:23 CDT(-0500)] <EricDalquist> that's what the mapping file looks like
[13:50:39 CDT(-0500)] <EricDalquist> the plugin looks in that file first for an explicit name and/or license
[13:50:48 CDT(-0500)] <EricDalquist> and whatever it doesn't find there it reads from the dependencies pom
[13:50:57 CDT(-0500)] <EricDalquist> and will error out if it can't find the license info anywhere
[13:52:33 CDT(-0500)] <EricDalquist> so I'm thinking we stick a mapping xml file under https://source.jasig.org/licenses/
[13:52:42 CDT(-0500)] <EricDalquist> and set that up so anyone with commit access can add to it
[13:52:53 CDT(-0500)] <EricDalquist> and just configure the jasig parent pom with the plugin
[13:53:13 CDT(-0500)] <EricDalquist> do you think it is sufficient to just be able to provide the plugin with a NOTICE file template that has a placeholder
[13:53:23 CDT(-0500)] <EricDalquist> and it will stuff all the generated content in at the placeholder?
[13:55:31 CDT(-0500)] <athena> sounds reasonable
[13:55:58 CDT(-0500)] <athena> we probably need a spot to add copyrights as well
[13:56:26 CDT(-0500)] <EricDalquist> yeah
[13:56:46 CDT(-0500)] <EricDalquist> looking at the uportal notice I think we would just stick a line: #GENERATED_NOTICES#
[13:57:01 CDT(-0500)] <EricDalquist> and stick all of the stuff for fluid, jquery, and source contributions below that
[14:14:34 CDT(-0500)] <athena> sounds good
[14:14:58 CDT(-0500)] <athena> so i had another thought about in-page javascript aggregation
[14:15:16 CDT(-0500)] <athena> would it be totally awful to wrap it in a JSP tag that aggregates the content in the body?
[14:15:33 CDT(-0500)] <athena> it seems like that would work, but get around the issue of having to parse portlet content
[14:15:39 CDT(-0500)] <EricDalquist> so like a <arg:script> tag
[14:15:44 CDT(-0500)] <EricDalquist> that wrapped the inline JS?
[14:16:17 CDT(-0500)] <athena> yeah
[14:16:34 CDT(-0500)] <EricDalquist> so then each portlet would need to have a reference to that taglib
[14:16:41 CDT(-0500)] <athena> and then we could make it aware of that aggregation portal property
[14:17:00 CDT(-0500)] <athena> well, each portlet that actually used the aggregation
[14:17:05 CDT(-0500)] <athena> portlets of course could just not use it
[14:17:08 CDT(-0500)] <EricDalquist> yeah
[14:17:14 CDT(-0500)] <EricDalquist> seems reasonable
[14:17:19 CDT(-0500)] <athena> ok
[14:17:25 CDT(-0500)] <athena> maybe i'll play around with that if i have a chance
[14:17:56 CDT(-0500)] <athena> and then it seems like the result would be appropriately cached automatically as part of the portlet's view or whatever
[14:18:09 CDT(-0500)] <EricDalquist> yeah
[14:52:59 CDT(-0500)] <EricDalquist> yay notice file generation!
[14:59:52 CDT(-0500)] <athena> yay indeed
[15:38:47 CDT(-0500)] <EricDalquist> what do people here think of having https://source.jasig.org/schemas in SVN
[15:38:54 CDT(-0500)] <EricDalquist> and giving all committers access to it
[15:39:06 CDT(-0500)] <EricDalquist> as a unified place for people to stick XSD/DTD docs
[15:46:33 CDT(-0500)] <athena> sounds like a good idea to me
[15:46:36 CDT(-0500)] <athena> i like it
[15:46:46 CDT(-0500)] <athena> incidentally we're finally actually up to a "B" on YSlow
[15:46:52 CDT(-0500)] <EricDalquist> lol
[15:46:55 CDT(-0500)] <EricDalquist> go us!
[15:48:13 CDT(-0500)] <athena> indeed
[15:52:19 CDT(-0500)] <EricDalquist> http://classworlds.codehaus.org/license.html
[15:52:22 CDT(-0500)] <EricDalquist> that's BSD right?
[16:01:19 CDT(-0500)] <EricDalquist> woohoo!
[16:01:20 CDT(-0500)] <EricDalquist> it works!
[16:01:34 CDT(-0500)] <EricDalquist> https://source.jasig.org/licenses/license-mappings.xml
[16:01:40 CDT(-0500)] <EricDalquist> the license mapping file so far
[16:03:07 CDT(-0500)] <EricDalquist> and here is what it generated: https://source.jasig.org/sandbox/maven-notice-plugin/trunk/NOTICE
[16:31:03 CDT(-0500)] <athena> yes, the first thing is BSD or close enough, i think
[16:31:14 CDT(-0500)] <athena> though clause 5 is nonstandard, i think
[16:31:16 CDT(-0500)] <athena> but close enough
[16:31:29 CDT(-0500)] <athena> looks nice
[16:31:30 CDT(-0500)] <EricDalquist> also had no idea what license servlet-api is under
[16:31:38 CDT(-0500)] <athena> so is there a way to add in copyright stuff?
[16:31:51 CDT(-0500)] <athena> yeah . . . i think the java stuff is mostly CDDL, or close to it?
[16:31:51 CDT(-0500)] <EricDalquist> like what?
[16:32:22 CDT(-0500)] <athena> like when we have projects that originally had copyright notices in the header from yale or wisc or whatever
[16:32:34 CDT(-0500)] <EricDalquist> yeah, just use a custom template for the project
[16:32:35 CDT(-0500)] <athena> in theory we're supposed to have a note about that in the NOTICE file
[16:32:38 CDT(-0500)] <athena> oh ok, cool
[16:32:40 CDT(-0500)] <EricDalquist> the example notice file is: logger.info("Loaded license mappings from: " + li);
[16:32:41 CDT(-0500)] <EricDalquist> oops
[16:32:43 CDT(-0500)] <EricDalquist> https://source.jasig.org/sandbox/maven-notice-plugin/trunk/src/main/resources/NOTICE.template
[16:32:49 CDT(-0500)] <EricDalquist> that is what is used by default
[16:32:53 CDT(-0500)] <athena> this really will be a huge improvement
[16:32:56 CDT(-0500)] <EricDalquist> but you can tell the plugin to use whatever source file you wawnt
[16:33:02 CDT(-0500)] <athena> pretty exciting
[16:33:05 CDT(-0500)] <EricDalquist> and even specify what you want that replace token to be
[16:33:06 CDT(-0500)] <EricDalquist> yeah
[16:33:13 CDT(-0500)] <EricDalquist> I'm excited
[16:33:16 CDT(-0500)] <athena> me too!
[16:33:20 CDT(-0500)] <athena> really appreciate you doing that
[16:33:29 CDT(-0500)] <athena> should make life SO much better
[16:33:36 CDT(-0500)] <athena> the incubation group will love it
[16:34:19 CDT(-0500)] <EricDalquist> yeah
[16:34:24 CDT(-0500)] <EricDalquist> I just emailed them about it
[16:34:31 CDT(-0500)] <EricDalquist> there were just so many portlets
[16:34:34 CDT(-0500)] <EricDalquist> where this was the blocking issue
[16:34:42 CDT(-0500)] <EricDalquist> and it turned out to be not really that hard at akll
[16:34:51 CDT(-0500)] <EricDalquist> and a lot of maven projects already include license info
[16:35:11 CDT(-0500)] <EricDalquist> https://issues.jasig.org/browse/INC-31
[16:36:08 CDT(-0500)] <athena> yeah
[16:36:15 CDT(-0500)] <athena> it's really not hard, and anyone can do it
[16:36:27 CDT(-0500)] <athena> but hard to find the time to go do it for stuff we're not working on
[16:36:41 CDT(-0500)] <athena> it's also easier now because we can copy from other projects - they kind of all have similar dependencies
[16:36:54 CDT(-0500)] <EricDalquist> yeah
[16:36:55 CDT(-0500)] <athena> also in the last 6 months, way more projects include license info
[16:37:15 CDT(-0500)] <athena> when i did the uportal file the other day, 90% of it was in the maven poms, which made it go really quickly
[16:37:20 CDT(-0500)] <athena> last time i checked it was less than half
[16:37:24 CDT(-0500)] <athena> pretty surprising difference
[16:37:32 CDT(-0500)] <athena> really helps
[16:37:39 CDT(-0500)] <EricDalquist> yeah
[16:37:43 CDT(-0500)] <EricDalquist> sonatype is to thank for that
[16:37:54 CDT(-0500)] <EricDalquist> you can't publish through them (or through apache now) without license info in your pom
[16:38:15 CDT(-0500)] <EricDalquist> they're really working on cleaning up the quality of the artifact meta-data in the central repository
[16:41:42 CDT(-0500)] <athena> yeah
[16:41:47 CDT(-0500)] <athena> pretty nice
[16:42:43 CDT(-0500)] <EricDalquist> do you know of a quick way to do a text diff in java
[16:42:52 CDT(-0500)] <EricDalquist> like display the diff between two files/strings?