Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

[19:10:57 CDT(-0500)] <Bosmon> We do really need to stop people doing demos though

[19:12:37 CDT(-0500)] <colinclark> lol

[19:12:43 CDT(-0500)] <colinclark> +1 for that

[19:12:47 CDT(-0500)] <colinclark> this is working quite nicely now

[19:14:38 CDT(-0500)] <colinclark> Bosmon: What do you think the best approach for branches like this is?

[19:14:48 CDT(-0500)] <colinclark> I imagine we actually want it to be part of the project repo

[19:15:17 CDT(-0500)] <Bosmon> I'm not quite sure what the question relates to....

[19:15:21 CDT(-0500)] <colinclark> Can one make a pull request to a branch other than master?

[19:15:23 CDT(-0500)] <colinclark> Oh, sorry

[19:15:25 CDT(-0500)] <Bosmon> Oh, I see

[19:15:44 CDT(-0500)] <colinclark> I have this: https://github.com/colinbdclark/universal/tree/windows-xp-solutions-registry

[19:15:58 CDT(-0500)] <colinclark> I guess we might like it to be a branch on the project repo, so that it's more visible

[19:16:21 CDT(-0500)] <Bosmon> Yes, it seems you can issue a pull request to a branch

[19:16:42 CDT(-0500)] <Bosmon> In github, via the "CHANGE COMMITS" button

[19:16:43 CDT(-0500)] <Bosmon> https://help.github.com/articles/using-pull-requests

[19:17:02 CDT(-0500)] <Bosmon> What is in this branch, morally?

[19:19:45 CDT(-0500)] <colinclark> A solutions registry suited for demonstrating the GPII on Windows XP

[19:19:50 CDT(-0500)] <colinclark> the more I think about this, I wonder where it should all go

[19:19:57 CDT(-0500)] <colinclark> Really, I'd rather just fix the bugs in the system

[19:20:01 CDT(-0500)] <colinclark> perhaps I'll leave it for now as-is

[19:20:11 CDT(-0500)] <colinclark> walk Jim through the process of pulling changes from my fork

[19:20:54 CDT(-0500)] <Bosmon> Seems odd to have a branch just for a solutions repository

[19:21:05 CDT(-0500)] <Bosmon> It's the kind of thing I imagine we might have thousands of, in due course

[19:22:15 CDT(-0500)] <colinclark> yes

[19:22:18 CDT(-0500)] <colinclark> We just need to fix the real bugs

[19:22:21 CDT(-0500)] <colinclark> which involve:

[19:22:27 CDT(-0500)] <colinclark> 1. A sensible matchmaker

[19:22:42 CDT(-0500)] <colinclark> 2. Platform-specific parameterizations for solutions registry entries

[19:23:00 CDT(-0500)] <colinclark> I believe those are the only justifications for any of these branches I've been hacking around with

[19:23:06 CDT(-0500)] <colinclark> ah, Bosmon

[19:23:07 CDT(-0500)] <colinclark> one question

[19:23:10 CDT(-0500)] <colinclark> because I am so clueless

[19:23:27 CDT(-0500)] <colinclark> yura has some kind of parameterization for where preferences are sourced from

[19:23:34 CDT(-0500)] <colinclark> locally or on the server

[19:23:39 CDT(-0500)] <colinclark> perhaps it's an environment variable?

[19:23:47 CDT(-0500)] <colinclark> which the Flow Manager reads?

[19:23:58 CDT(-0500)] <Bosmon> It's one of these weird things in express

[19:24:08 CDT(-0500)] <Bosmon> Which I believe ultimately resolves onto an environment variable, yes

[19:24:19 CDT(-0500)] <Bosmon> Another thing which we need to do something about in due course

[19:24:50 CDT(-0500)] <Bosmon> He does it with a that.server.configure call

[19:25:26 CDT(-0500)] <Bosmon> FlowManager, line 131

[19:26:28 CDT(-0500)] <colinclark> I'm not sure what environment variable this gets resolved to

[19:26:39 CDT(-0500)] <Bosmon> I believe it is called NODE_ENV

[19:26:48 CDT(-0500)] <Bosmon> http://expressjs.com/guide.html

[19:26:59 CDT(-0500)] <colinclark> oh bizarre

[19:27:00 CDT(-0500)] <colinclark> ok

[19:27:10 CDT(-0500)] <Bosmon> Yes, pretty bizarre

[19:28:05 CDT(-0500)] <colinclark> umm

[19:28:17 CDT(-0500)] <colinclark> How do I set an environment variable in Windows?

[19:28:23 CDT(-0500)] <Bosmon> "set" (smile)

[19:28:26 CDT(-0500)] <colinclark> I mean, I know how to from the control panel

[19:28:27 CDT(-0500)] <colinclark> cool

[19:28:46 CDT(-0500)] <colinclark> once again, 12-year old Colin is laughing hysterically

[19:28:48 CDT(-0500)] <colinclark> somewhere

[19:35:54 CDT(-0500)] <Bosmon> Was he prone to that? : P

[19:35:57 CDT(-0500)] <colinclark> hmm

[19:36:02 CDT(-0500)] <colinclark> Well, he was pretty mouthy

[19:36:21 CDT(-0500)] <colinclark> Looks like everything is working really smoothly for Jim

[19:36:30 CDT(-0500)] <colinclark> or rather

[19:36:31 CDT(-0500)] <colinclark> will be

[19:36:40 CDT(-0500)] <colinclark> assuming I can get ahold of him

[19:36:45 CDT(-0500)] <colinclark> so, Bosmon

[19:36:49 CDT(-0500)] <colinclark> just to be sure

[19:37:09 CDT(-0500)] <colinclark> is your impression that these config files

[19:37:24 CDT(-0500)] <colinclark> say, config.demo_local.json

[19:37:30 CDT(-0500)] <colinclark> are keyed by the NODE_ENV value?

[19:37:57 CDT(-0500)] <colinclark> in other words

[19:38:13 CDT(-0500)] <colinclark> set NODE_ENV=demo_local should cause the system to read preferences off the file system?

[19:38:32 CDT(-0500)] <Bosmon> That appears to be right

[19:38:46 CDT(-0500)] <Bosmon> Although I wouldn't swear to it 100% since I have never done it

[19:40:11 CDT(-0500)] <colinclark> it looks like it is the case

[19:41:14 CDT(-0500)] <colinclark> okay, good

[19:41:16 CDT(-0500)] <colinclark> I now understand this system at least vaguely (wink)

[19:42:35 CDT(-0500)] <Bosmon> cool

[19:42:39 CDT(-0500)] <Bosmon> I'm off to dinner shortly

[19:42:46 CDT(-0500)] <Bosmon> Anything I can do/report quickly?

[20:18:26 CDT(-0500)] <colinclark> Bosmon: We're cool

[20:18:29 CDT(-0500)] <colinclark> Jim's demo is all set

[20:18:34 CDT(-0500)] <colinclark> everything works great on his machine

[20:18:37 CDT(-0500)] <colinclark> thanks again, dude

[20:18:40 CDT(-0500)] <colinclark> I really appreciate it