These are chat archives for reactioncommerce/reaction

19th
Jul 2016
Aaron Judd
@aaronjudd
Jul 19 2016 02:29
if we didn’t already, we should probably add a private & public/custom with a .gitkeep file, like we’ve already added to imports and the top level.
Brent Hoover
@zenweasel
Jul 19 2016 03:21
Yes, Docker Cloud is experiencing a DNS outtage and all sites are down
hrath2015
@hrath2015
Jul 19 2016 03:22
thanks.
Aaron Judd
@aaronjudd
Jul 19 2016 03:23
appears to be a DDOS on cloud flare… just started for us, but has been going for other sites all day. we’ll see if we can work around if it’s not resolved soon
Brent Hoover
@zenweasel
Jul 19 2016 03:24
You can always clone the reaction-docs repo and read them locally as a backup
hrath2015
@hrath2015
Jul 19 2016 03:25
Sure. That is most of the time I do it. Today Was going through chat room so clicked.
Jeremy Shimko
@jshimko
Jul 19 2016 03:27
I had an old client email me today about the same DNS issue. They have stuff on Docker Cloud too and they lost all of the DNS resolution this morning. They changed their DNS to point at the direct host IP’s (instead of using Docker’s DNS resolution for the load balancer service) and that solved the issue.
Aaron Judd
@aaronjudd
Jul 19 2016 15:49
took a few hours, but looks like Docker DNS issues are resolved (at least for now, for us)
Spencer Norman
@spencern
Jul 19 2016 17:12
@zenweasel - in the customization guide there’s this section
Because we have made changes to the registry, you must now ./reaction reset for your changes to take affect.
This kinda works for development, but it’d be good to have explicit directions about how to migrate a registry for a server that has data you can’t delete
down the road I think there needs to be a set of registry migration methods that can run without disturbing any other data
Mike Murray
@mikemurray
Jul 19 2016 17:18

@spencern We're still working and discussing the future of updating the registry without have to reset completely. At the moment, new entries into the registry should be added, but existing data doesn't get overridden.

This has to do with the fact that, we have 3 ways to add data to the registry.

  1. in a plugin, through register.js
  2. in reaction.json in private/settings
  3. modify the database / do it thought the UI if available

So then, which one of those would you expect to be the source of truth? Which one overrides the other, when you don't know which one was updated last.

making this a forum post...

Spencer Norman
@spencern
Jul 19 2016 17:24
@mikemurray :+1: good discussion topic. I’ll try to add my thoughts there.
Mike Murray
@mikemurray
Jul 19 2016 17:25
cool, I'll get it up soon
and everyone really
Brent Hoover
@zenweasel
Jul 19 2016 23:30
@spencern fwiw, running unit tests seems to be working fine now (as of Meteor 1.3.5.1). I think those Stripe tests are probably a good candidate to be moved over to unit tests. I don’t think they depend on any other part of the app to be available. And the build time for unit tests, while still a little slow, is way faster than for app-tests