00:21:58  * snathanjoined
00:26:49  * snathanquit (Ping timeout: 265 seconds)
01:19:16  * ijrothjoined
01:22:21  * snathanjoined
01:26:32  * snathanquit (Ping timeout: 245 seconds)
01:43:56  * iamvfljoined
01:44:21  * snathanjoined
02:13:37  * ijrothquit (Quit: Leaving.)
03:12:15  * ijrothjoined
03:26:33  * ijrothquit (Quit: Leaving.)
04:22:46  * snathanquit (Quit: Leaving.)
04:55:17  * snathanjoined
06:02:30  * snathanquit (Quit: Leaving.)
06:12:59  * rmgjoined
06:17:45  * rmgquit (Ping timeout: 255 seconds)
07:00:11  * ijrothjoined
07:12:29  * snathanjoined
07:16:53  * snathanquit (Ping timeout: 244 seconds)
07:32:10  * ijrothquit (Quit: Leaving.)
07:32:31  * ijrothjoined
07:34:38  * iamvflquit (Quit: iamvfl)
07:39:00  * iamvfljoined
07:42:57  * bajtosjoined
07:59:35  * iamvflquit (Quit: iamvfl)
08:12:58  * snathanjoined
08:17:22  * snathanquit (Ping timeout: 255 seconds)
09:04:42  * ijrothquit (Quit: Leaving.)
09:13:15  * snathanjoined
09:17:50  * snathanquit (Ping timeout: 258 seconds)
09:59:44  * bajtosquit (Quit: bajtos)
10:07:22  * chovy_changed nick to chovy
10:09:21  * bajtosjoined
10:13:36  * snathanjoined
10:17:47  * snathanquit (Ping timeout: 245 seconds)
10:59:20  * bajtosquit (Quit: bajtos)
11:13:55  * snathanjoined
11:18:35  * snathanquit (Ping timeout: 258 seconds)
11:39:18  * rmgjoined
11:43:52  * rmgquit (Ping timeout: 240 seconds)
12:00:20  * bajtosjoined
12:04:49  * bajtosquit (Ping timeout: 256 seconds)
12:14:16  * snathanjoined
12:18:24  * snathanquit (Ping timeout: 244 seconds)
13:14:36  * snathanjoined
13:19:02  * snathanquit (Ping timeout: 245 seconds)
13:39:34  * bajtosjoined
14:14:58  * snathanjoined
14:17:30  * rmgjoined
14:19:41  * snathanquit (Ping timeout: 256 seconds)
15:15:17  * snathanjoined
15:19:27  * snathanquit (Ping timeout: 244 seconds)
15:26:32  * snathanjoined
16:16:26  * octetcloudjoined
16:26:56  * bajtosquit (Quit: bajtos)
16:31:01  * snathanquit (Quit: Leaving.)
17:00:47  * bajtosjoined
17:01:34  * ijrothjoined
18:32:05  * bajtosquit (Quit: bajtos)
18:43:09  * ijrothquit (Quit: Leaving.)
18:59:04  * ijrothjoined
19:07:22  * rmgquit (Remote host closed the connection)
19:38:47  * rmgjoined
19:39:22  * octetcloudquit (Ping timeout: 240 seconds)
20:27:53  * octetcloudjoined
20:33:51  * ijrothquit (Quit: Leaving.)
21:01:30  * ijrothjoined
21:10:09  * iamvfljoined
21:10:34  <iamvfl>hey folks
21:10:56  <iamvfl>so, I’ve got a working app and I’ve successfully migrated my db using loopback’s autoupdate
21:11:08  <iamvfl>everything works great, and I’m loving loopback!
21:11:42  <iamvfl>now I’ve split up my datasources.json file into datasources.local.json and datasources.production.json so I can do a deploy
21:12:30  <iamvfl>I’ve defined my NODE_ENV, as the documentation explains that this is how loopback figures out which file to use
21:12:44  <iamvfl>however, when I run my autoupdate scripts, I get this error:
21:12:53  <iamvfl>AssertionError: user is referencing a dataSource that does not exist: “mydatasourcename”
21:13:28  <iamvfl>this worked previously, and now that I’ve added env-specific datasources it doesnt
21:13:44  <iamvfl>should I be accessing my datasource differently in my autoupdate script?
21:15:19  <rhalff>iamvfl, maybe mydatasourcename is defined in local but not in your production.json ?
21:16:11  <iamvfl>rhalff: it’s defined in both, using different credentials
21:16:53  <iamvfl>ahhh
21:17:01  <iamvfl>I missed a minor detail
21:17:16  <iamvfl>environment-specific datasources OVERRIDE the orig. datasource
21:17:31  <iamvfl>I got rid of mine and replaced it with .local and production
21:18:08  <rhalff>ok, yes... :)
21:19:11  * rmgquit (Remote host closed the connection)
21:23:43  <iamvfl>ok
21:24:11  <iamvfl>so, it seems that no matter what my NODE_ENV is, my scripts only run using datasources.json, completely ignoring my environment-specific configs
21:25:51  <iamvfl>perhaps I’m accessing the wrong datasource object in my script? https://gist.github.com/anonymous/3725eb34583439c2cfe0
21:29:29  <iamvfl>so, my datasources.json and datasources.local.json look identical, but my datasources.production.json is different
21:44:25  <iamvfl>‘:\
22:00:07  * rmgjoined
22:13:52  * octetcloudquit (Ping timeout: 240 seconds)
22:28:30  * iamvflpart
22:45:55  * octetcloudjoined
23:58:11  * ijrothquit (Quit: Leaving.)