Re: [opensource-dev] Mercurial hook checking for well-formed XML

2011-08-19 Thread Oz Linden (Scott Lawrence)
On 2011-08-19 9:37, Oz Linden (Scott Lawrence) wrote: Effective this morning, all of viewer-development passes these tests and*all future merge requests are subject to them*. I strongly urge anyone working on code that might be going to viewer-development to install the hooks immediately (th

Re: [opensource-dev] Mercurial hook checking for well-formed XML

2011-08-19 Thread Oz Linden (Scott Lawrence)
On 2011-08-16 11:06, Oz Linden (Scott Lawrence) wrote: I have updated his script to work with current versions of Mercurial (there was one minor api change), and added a feature of two of my own. I've gotten approval to push this out to the public bitbucket, and have documented it at: htt

Re: [opensource-dev] Mercurial hook checking for well-formed XML

2011-08-16 Thread Oz Linden (Scott Lawrence)
In response to my earlier note on this list about my Mercurial hook to check for well-formed XML at commit time, CG kindly pointed me to the hooks written by Bos for a more extensive set of LL policy checks (including well-formed XML). Needless to say, the version Bos wrote is more elegant than

Re: [opensource-dev] Mercurial hook checking for well-formed XML

2011-08-15 Thread Vadim Savchuk
On Sat, Aug 13, 2011 at 12:18 AM, Oz Linden (Scott Lawrence) < o...@lindenlab.com> wrote: > > We've had a spate of errors lately that would have been detected by > checking whether or not some XML file was well formed, so I've written a > mercurial hook to check. It is written in python such that

Re: [opensource-dev] Mercurial hook checking for well-formed XML

2011-08-12 Thread Kadah
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We did something similar in Firestorm, but winthin the viewer, all malformed XML is treated as an error in RelWithDebInfo and Debug. Testing builds in RelWithDebInfo instead of release is always a good idea anyway as it treats many silly goofs as error

[opensource-dev] Mercurial hook checking for well-formed XML

2011-08-12 Thread Oz Linden (Scott Lawrence)
We've had a spate of errors lately that would have been detected by checking whether or not some XML file was well formed, so I've written a mercurial hook to check. It is written in python such that it runs within your existing hg commands without spawning another process; I don't believe t