Re: Does juju work with a JavaScript-less mongodb?

2013-12-16 Thread Michael Hudson-Doyle
Kapil Thangavelu kapil.thangav...@canonical.com writes:

 On Monday, December 9, 2013, Michael Hudson-Doyle wrote:

 John Arbash Meinel j...@arbash-meinel.com javascript:; writes:

  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  ...
 
  Did you check the 'mgo' source as well? I thought I remember when
  you first connect it uses eval to get date stamps to check for
  clock skew.
 
  I think you might be thinking of the state/presence package there,
  which uses eval for pre-2.4 mongo to do that.
 
 
  I just remember seeing it, not where. :)

 Roger is correct.  The only uses of eval/$where in mgo are in tests.  It
 /looks/ like js-less mongodb would actually work for Juju at this point
 (still building...).

 A bit easier to test via cli flags to disable js on the server. It's a
 long build.

Well, things keep overtaking me and I've not gotten to this yet.  Could
I ask someone on the juju team to try running the tests with a mongos
--noscripting and let us know what happens?  Even more awesome would be
to post the results to the bug juju-core is unavailable for arm64:
https://bugs.launchpad.net/juju-core/+bug/1261452

Thanks!

Cheers,
mwh

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev


Re: Does juju work with a JavaScript-less mongodb?

2013-12-09 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

...

 Did you check the 'mgo' source as well? I thought I remember when
 you first connect it uses eval to get date stamps to check for
 clock skew.
 
 I think you might be thinking of the state/presence package there, 
 which uses eval for pre-2.4 mongo to do that.
 

I just remember seeing it, not where. :)

John
=:-
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKlsAwACgkQJdeBCYSNAAMlQwCgzAGxj5ZJg+M6WAHwFEkO/oao
zjcAmweRtDt75EFtxvTln+gR8UrABfcC
=6UrD
-END PGP SIGNATURE-

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev