4 commit 3eb7c54a734369a7bffc4a3c30bef2e65573be52
5 Author: Dan Scott <dan@coffeecode.net>
6 Date: Sun May 27 22:52:23 2012 -0400
10 A summary of some of the highlights of the new release, for
11 functionality that has been added and deleted. Does not address bug
12 fixes such as the much more robust Perl child handling; perhaps
13 we should focus on those as well?
15 Signed-off-by: Dan Scott <dan@coffeecode.net>
17 89 0 doc/RELEASE_NOTES.txt
18 create mode 100644 doc/RELEASE_NOTES.txt
20 commit cdd0816c624ff0843ee5ab201346521ae91f474a
21 Author: Dan Scott <dan@coffeecode.net>
22 Date: Wed May 30 22:33:17 2012 -0400
24 Bump version numbers to help with library compatibility
26 By bumping the OpenSRF version numbers for Perl libs, Python libraries,
27 and the libtool versioning for the libopensrf library, projects that
28 build on OpenSRF will be able to flag the minimum required version and
29 bail out early if an older version of OpenSRF has been installed.
31 Signed-off-by: Dan Scott <dan@coffeecode.net>
33 2 2 src/libopensrf/Makefile.am
34 1 1 src/perl/lib/OpenSRF.pm
35 1 1 src/python/setup.py
38 commit ee2c79929aa63ff8d6749da7d10c15ab967d9fd5
39 Author: Dan Scott <dscott@laurentian.ca>
40 Date: Tue May 22 16:45:33 2012 -0400
42 Add "tar" to base prereqs to appease autotools
44 On a minimal install of Fedora 17, I was running into the perplexing
45 error message whilst running 'autoreconf -i':
47 libtoolize: can not copy `/usr/share/libtool/config/ltmain.sh' to `./'
49 This was confusing because a manual copy would, in fact, copy the file
52 http://lists.gnu.org/archive/html/libtool/2009-07/msg00030.html finally
53 lead to enlightenment: autotools uses "tar" to copy files, not "cp".
54 Thus, to avoid similar head-scratching install problems in the future,
55 add "tar" to the base prerequisites for building OpenSRF (both to the
56 DEBs list and the RPMs list).
58 Signed-off-by: Dan Scott <dscott@laurentian.ca>
60 3 1 src/extras/Makefile.install
62 commit 788a396a2b380c5950c09368f85e8d4a79ec2ca8
63 Author: Dan Scott <dan@coffeecode.net>
64 Date: Tue May 22 02:26:04 2012 -0400
66 Update OS support in README / Makefile.install
68 Kick Debian Lenny, Ubuntu Hardy, and RHEL 5 / CentOS 5 to the curb.
70 Also change the name of the README to the more generic & instructive
71 "Installing OpenSRF" rather than "README for OpenSRF #.#.#".
73 Signed-off-by: Dan Scott <dan@coffeecode.net>
79 Signed-off-by: Dan Scott <dan@coffeecode.net>
82 3 243 src/extras/Makefile.install
84 commit 3dd57f268b8b5d39f85139e4c4e5246bd9e2cda5
85 Author: Thomas Berezansky <tsbere@mvlc.org>
86 Date: Wed May 23 10:13:41 2012 -0400
88 Nagios Example Plugin for monitoring services
90 Does not check that all drones in a brick are fully up, just that the
91 entire brick will respond to each service, even if only one drone happens
92 to be running the listener properly (and said listener is responding).
94 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
95 Signed-off-by: Dan Scott <dan@coffeecode.net>
97 219 0 examples/nagios/check_osrf_services
98 create mode 100755 examples/nagios/check_osrf_services
100 commit e7431d6fa114c35d3dc5b430fbb4bdae99edaa88
101 Author: Bill Erickson <berick@esilibrary.com>
102 Date: Mon Apr 2 14:55:56 2012 -0400
104 Detect and repair multipart/mixed message delivery errors
106 For unknown reasons, the Content-Type header will occasionally be
107 included in the XHR.responseText for multipart/mixed messages. When
108 this happens, strip the header and newlines from the message body and
111 Signed-off-by: Bill Erickson <berick@esilibrary.com>
112 Signed-off-by: Dan Scott <dan@coffeecode.net>
114 33 1 src/javascript/opensrf.js
116 commit 832f166b38acc9c68c9c1fcea1432d2ca881316b
117 Author: Galen Charlton <gmc@esilibrary.com>
118 Date: Mon May 21 17:29:05 2012 -0400
120 fix up index/position type for calls of various osrfList* functions
122 osrfListSet, osrfListRemove, osrfListGetIndex, and osrfListExtract
123 all expect unsigned ints for the index/position parameter.
125 src/jserver is ignored by this commit as its removal is pending.
127 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
128 Signed-off-by: Dan Scott <dan@coffeecode.net>
130 1 1 src/gateway/osrf_http_translator.c
131 2 2 src/libopensrf/osrf_json_tools.c
132 1 1 src/libopensrf/osrf_list.c
133 1 1 src/libopensrf/string_array.c
134 1 1 src/router/osrf_router.c
136 commit bdc4cfe354051e4132d6ffa2da3e0942acb3f780
137 Author: Dan Scott <dan@coffeecode.net>
138 Date: Sat May 5 01:58:22 2012 -0400
140 Remove comparisons that can never evaluate to true
142 Using clang as the compiler results in 4 warnings like the following:
144 osrf_list.c:106:23: warning: comparison of unsigned expression < 0 is
145 always false [-Wtautological-compare]
146 if(!list || position < 0) return NULL;
149 (Explanation: "position" is an unsigned int; thus the comparison to < 0
150 can never evaluate to true).
152 Signed-off-by: Dan Scott <dan@coffeecode.net>
153 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
155 4 4 src/libopensrf/osrf_list.c
157 commit 3aabf1932f93bc6e1e6693001734a1f1bcdbdce0
158 Author: Dan Scott <dan@coffeecode.net>
159 Date: Sat May 5 01:32:25 2012 -0400
161 LP954059: Silence uninitialized var warning
163 Compiling osrf_utf8.c generates the following warning:
165 osrf_utf8.c:510:29: warning: utf8_char may be used uninitialized in this
166 function [-Wuninitialized]
168 So... initialize utf8_char when we declare it, and make the compiler
171 Signed-off-by: Dan Scott <dan@coffeecode.net>
172 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
174 1 1 src/libopensrf/osrf_utf8.c
176 commit 4fe1fdc7d4561e04212444786fd61d95eae69eb0
177 Author: Galen Charlton <gmc@esilibrary.com>
178 Date: Mon May 21 17:02:34 2012 -0400
180 LP# 953299 - defend against null and zero-length cache keys
182 Ignore undefined and zero-length (after key normalization) cache
185 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
186 Signed-off-by: Dan Scott <dan@coffeecode.net>
188 9 2 src/perl/lib/OpenSRF/Utils/Cache.pm
190 commit 3e97b0f69be04957eefa149d06e05111f3ad4291
191 Author: Dan Scott <dan@coffeecode.net>
192 Date: Mon May 21 12:18:41 2012 -0400
194 LP# 953299 - Prevent get/set of invalid cache keys
196 Clients of OpenSRF::Utils::Cache occasionally request cache keys that
197 contain invalid characters (a particular case is ISBNs that contain
198 spaces), so strip those out of incoming get/set requests to avoid ugly
201 Signed-off-by: Dan Scott <dan@coffeecode.net>
202 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
204 25 0 src/perl/lib/OpenSRF/Utils/Cache.pm
205 3 1 src/perl/t/09-Utils-Cache.t
207 commit c6cf4d9b6530f5b8b6bdf95c26db9986656fcce8
208 Author: Dan Scott <dan@coffeecode.net>
209 Date: Mon May 21 12:41:25 2012 -0400
211 .gitignore - ignore more built stuff in fewer lines
213 Use the power of glob to catch more built files that we want to ignore,
214 while simplifying the .gitignore file significantly.
216 Signed-off-by: Dan Scott <dan@coffeecode.net>
220 commit 2c0fb3a9f6aeea9c93846c573ced8d235ec03c7c
221 Author: Dan Scott <dan@coffeecode.net>
222 Date: Mon May 21 11:48:26 2012 -0400
224 Revert inadvertently introduced debugging code
226 In commit 91b8790c, several debugging lines were accidentally committed
227 to the OpenSRF caching utility. Revert that change.
229 Signed-off-by: Dan Scott <dan@coffeecode.net>
231 0 3 src/perl/lib/OpenSRF/Utils/Cache.pm
233 commit f6d38086a42cd6a60d7ed45461d99076cf4d9e5e
234 Author: Dan Scott <dan@coffeecode.net>
235 Date: Tue May 1 22:11:00 2012 -0400
237 Minor cleanups to Java dependency build process
239 While configure.ac still hardcodes the expected location of the Java
240 dependencies (JSON and Memcached classes), we can clean up some of the
241 lower-level challenges with the Java build.
243 * StAX and WSTX were rolled into the core Java environment long ago,
244 so there's no need to download them and even less need to verify
245 that the downloaded version exist.
246 * The Memcached class is now up to 2.0.1, per deps.sh, but the deps.inc
247 file was pointing at 1.5.1.
248 * Speaking of the deps.inc file, nothing seems to use it; delete it.
249 * The Makefile was dying because the variables for the Memcached and
250 JSON classes weren't defined. Define those at the top of the Makefile.
252 Signed-off-by: Dan Scott <dan@coffeecode.net>
254 4 3 src/java/Makefile.am
255 0 5 src/java/deps.inc
256 delete mode 100644 src/java/deps.inc
258 commit d9487c42a1e3432be9fa3da9b2fad2b42d24a645
259 Author: Dan Scott <dan@coffeecode.net>
260 Date: Tue May 1 22:08:23 2012 -0400
262 Clean up root directory: INSTALL, .gitignore, autoreconf
264 * Update the README to avoid running autoreconf with the "-f" flag.
265 * Make the INSTALL file a symbolic link to the README to avoid
266 creating a generic INSTALL file each time autoreconf is run.
267 * Add a .gitignore file that ignores all of the built files.
269 Signed-off-by: Dan Scott <dan@coffeecode.net>
274 create mode 100644 .gitignore
275 create mode 120000 INSTALL
277 commit c4c2d62cdf47ee7e5d02fac44cce5515a77c362c
278 Author: Dan Scott <dan@coffeecode.net>
279 Date: Tue May 1 21:31:38 2012 -0400
281 Change Java deps.sh to include . in CLASSPATH
283 Following the directions given by running deps.sh was a little bit
284 frustrating; we need to work in some documentation on how to use the
285 Java bits of OpenSRF - and perhaps look at a more standard option like
286 maven for dependencies.
288 Signed-off-by: Dan Scott <dan@coffeecode.net>
292 commit d7d8923e98a91c070668a529957d7ee7033529a7
293 Author: Bill Erickson <berick@esilibrary.com>
294 Date: Fri Mar 16 09:56:13 2012 -0400
296 Java Gateway interface improved exception handling
298 Handle any exceptions that should not reasonably occur in normal
299 operation under the covers. Bubble the rest up. Update test code with
302 Signed-off-by: Bill Erickson <berick@esilibrary.com>
303 Signed-off-by: Dan Scott <dscott@laurentian.ca>
305 57 51 src/java/org/opensrf/net/http/GatewayRequest.java
306 16 8 src/java/org/opensrf/net/http/HttpConnection.java
307 41 12 src/java/org/opensrf/net/http/HttpRequest.java
308 5 2 src/java/org/opensrf/net/http/HttpRequestHandler.java
309 50 30 src/java/org/opensrf/test/TestGateway.java
311 commit ad253eb0d67098b69c71141061563b1802f33f97
312 Author: Bill Erickson <berick@esilibrary.com>
313 Date: Thu Mar 15 17:26:16 2012 -0400
315 Java gateway interface test class
317 Signed-off-by: Bill Erickson <berick@esilibrary.com>
318 Signed-off-by: Dan Scott <dscott@laurentian.ca>
320 58 0 src/java/org/opensrf/test/TestGateway.java
321 create mode 100644 src/java/org/opensrf/test/TestGateway.java
323 commit 5b5e28f16be77d9b23a98579d10173103dd907ed
324 Author: Bill Erickson <berick@esilibrary.com>
325 Date: Mon Feb 27 18:05:07 2012 -0500
327 Java HTTP gateway interface
329 Supports sync and async requests. Async requests support onResponse,
330 onComplete, and onError handlers.
332 Supports a max-threads value to limit the number of activately
333 communicating threads over any connection. When max-threads is reached,
334 requests are queued and delivered as soon as there is room.
336 Note that since this is talking to the OpenSRF gateway and not the
337 translater, responses are simply collected and passed one at a time to
338 onResponse. They are not streamed. The goal of supporting onResponse
339 is to provide the same client API for both the gateway and translator.
341 Signed-off-by: Bill Erickson <berick@esilibrary.com>
342 Signed-off-by: Dan Scott <dscott@laurentian.ca>
344 129 0 src/java/org/opensrf/net/http/GatewayRequest.java
345 97 0 src/java/org/opensrf/net/http/HttpConnection.java
346 66 0 src/java/org/opensrf/net/http/HttpRequest.java
347 25 0 src/java/org/opensrf/net/http/HttpRequestHandler.java
348 create mode 100644 src/java/org/opensrf/net/http/GatewayRequest.java
349 create mode 100644 src/java/org/opensrf/net/http/HttpConnection.java
350 create mode 100644 src/java/org/opensrf/net/http/HttpRequest.java
351 create mode 100644 src/java/org/opensrf/net/http/HttpRequestHandler.java
353 commit 85830ce301654e2dfefcd186a2bd63bd3785a967
354 Author: Dan Scott <dscott@laurentian.ca>
355 Date: Mon Apr 23 14:17:35 2012 -0400
357 Remove GNU default INSTALL file
359 GNU autotools generate an INSTALL file that is generic and which
360 conflicts with the instructions given in the README. Installation is
361 already hard enough without conflicting instructions, so delete the
364 Signed-off-by: Dan Scott <dscott@laurentian.ca>
367 delete mode 100644 INSTALL
369 commit bc36b120e78f9fa995856a144b9054e2a0ab1f3e
370 Author: Dan Scott <dscott@laurentian.ca>
371 Date: Mon Apr 23 14:13:37 2012 -0400
373 autotools - do not explicitly include m4 directory
375 Some versions of autotools complain bitterly if an m4 include directory
376 is specified that does not exist.
378 Signed-off-by: Dan Scott <dscott@laurentian.ca>
383 commit 2bdd580e2bcc6660b073b6853dc1544d5c68a6fd
384 Author: Dan Scott <dscott@laurentian.ca>
385 Date: Mon Apr 23 13:45:14 2012 -0400
387 Name the bootstrapping steps in buildbot
389 Signed-off-by: Dan Scott <dscott@laurentian.ca>
391 10 6 examples/buildbot.cfg
393 commit f21b0a5aa647e7303cc0d6d3fb70cadf0e8fc812
394 Author: Dan Scott <dscott@laurentian.ca>
395 Date: Mon Apr 23 13:16:25 2012 -0400
397 Fix buildbot configuration
399 Need to define our tests before they're called; also, can't blindly
400 invoke a step out of the proper scope. Duh.
402 Signed-off-by: Dan Scott <dscott@laurentian.ca>
406 examples/buildbot.cfg
408 55 18 examples/buildbot.cfg
410 commit 4d58c3d24b65f96e0648e37a3f4da82051a58917
411 Author: Dan Scott <dscott@laurentian.ca>
412 Date: Mon Apr 23 12:52:57 2012 -0400
414 Switch to autoreconf instead of autogen.sh
416 Update the buildbot config accordingly to avoid erroneous errors of
419 Signed-off-by: Dan Scott <dscott@laurentian.ca>
423 12 4 examples/buildbot.cfg
424 delete mode 100755 autogen.sh
426 commit 5849a119bd363b152b41ed7a39c787f009412572
427 Author: Dan Scott <dscott@laurentian.ca>
428 Date: Mon Apr 2 16:48:15 2012 -0400
430 Bump version numbers for 2.1.0-RC1 release
432 Also update the ChangeLog with relevant entries.
434 Signed-off-by: Dan Scott <dscott@laurentian.ca>
437 1 1 src/perl/lib/OpenSRF.pm
440 commit 0ed34101e67dc04292f906945dd5752c73985412
441 Author: Dan Scott <dscott@laurentian.ca>
442 Date: Fri Mar 23 13:05:31 2012 -0400
444 Add trailing period, "localhost" to ejabberd.cfg example
446 Thanks to Yamil Suarez for noticing a discrepancy between the older wiki
447 instructions and the README.
449 Signed-off-by: Dan Scott <dscott@laurentian.ca>
453 commit cf4d4798c5949abaf6bc9a4c3a62bf9a6533977b
454 Author: Bill Erickson <berick@esilibrary.com>
455 Date: Wed Mar 14 11:38:18 2012 -0400
457 Prevent undef warnings on perl socket read nbytes test
459 Signed-off-by: Bill Erickson <berick@esilibrary.com>
460 Signed-off-by: Dan Scott <dan@coffeecode.net>
462 1 1 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
464 commit fff96812ff55cc50374d5a16e7c803fac2c2f2a5
465 Author: Dan Scott <dscott@laurentian.ca>
466 Date: Sun Mar 11 11:22:14 2012 -0400
468 Prepare 2.1.0-alpha1 for release
470 Signed-off-by: Dan Scott <dscott@laurentian.ca>
474 2 2 src/perl/lib/OpenSRF.pm
477 commit f470b55b86fd59f31dd142d8cb55fe812265892e
478 Author: Bill Erickson <berick@esilibrary.com>
479 Date: Mon Feb 20 14:40:30 2012 -0500
481 Detect remote disconnect in Perl XMPP reader
483 When the jabber server severs the connection, it leaves the Perl libs
484 with a socket that perpetually appears ready for reading, but always
485 returns 0 bytes. This produces a loop in the client code. This change
486 detects this situation, logs an error, and throws an exception.
488 Signed-off-by: Bill Erickson <berick@esilibrary.com>
489 Signed-off-by: Dan Scott <dscott@laurentian.ca>
491 13 2 src/perl/lib/OpenSRF/Transport/SlimJabber/XMPPReader.pm
493 commit 974d3a0dd4ddd134033b16bcd9e2fde34302ffd5
494 Author: Dan Wells <dbw2@calvin.edu>
495 Date: Tue Mar 6 15:08:33 2012 -0500
497 Protect gateway from format-string crashes in data
499 As a common security measure, printf-style formatting codes are
500 not allowed to be directly interpreted from a writable segment.
501 The gateway code currently has the following function call:
503 osrfLogActivity( OSRF_LOG_MARK, act->buf );
505 This is a variadic function which expects the 'act->buf' position
506 to contain a format string and any trailing arguments to be the
507 values passed to the formatter. Since act->buf is the value of
508 what we passed in, some data inadvertantly contains format strings,
509 and since it is a writable segment, the program crashes. Here is
510 an example of a crash-causing call:
512 http://localhost/osrf-gateway-v1?service=test&method=test¶m=%22%251n%22
514 The param is interpreted as "%1n" and abruptly fails.
516 The simple solution is to include a formatter so that our param gets
517 demoted to being mere data, i.e.:
519 osrfLogActivity( OSRF_LOG_MARK, "%s", act->buf );
521 Signed-off-by: Dan Wells <dbw2@calvin.edu>
522 Signed-off-by: Dan Scott <dscott@laurentian.ca>
524 1 1 src/gateway/osrf_json_gateway.c
526 commit fd92a859e2ba3eeeaafe4904cd04973eb8cd572b
527 Author: Thomas Berezansky <tsbere@mvlc.org>
528 Date: Wed Mar 7 16:42:21 2012 -0500
530 Stop warning about missing parentheses...
534 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
536 1 1 src/perl/lib/OpenSRF/Application/Validator.pm
538 commit 8cfa0ae50935176a1574e8f233c8d4d88442c0ad
539 Author: Bill Erickson <berick@esilibrary.com>
540 Date: Thu Feb 16 17:31:29 2012 -0500
542 Refresh child file handles on status read
544 If a child process dies while the parent is attempting to read status
545 information from the child, the pipe connecting the two will be cleaned
546 up. The parent mustn't attempt to read from the dead pipe or it will
547 result in a bad file descriptor error, culminating in a high-cpu
548 infinite loop on the parent (Listener) process.
550 Signed-off-by: Bill Erickson <berick@esilibrary.com>
551 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
552 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
554 4 3 src/perl/lib/OpenSRF/Server.pm
556 commit 37606bf64f2829258cc612e730782e081e2ac6bb
557 Author: Bill Erickson <berick@esilibrary.com>
558 Date: Fri Jan 13 10:57:59 2012 -0500
560 Python libs for OpenSRF ingress tracking
562 osrf.ses.Session.ingress(ingress)
564 This also set the "srfsh" ingress value for srfsh.py.
566 Signed-off-by: Bill Erickson <berick@esilibrary.com>
567 Signed-off-by: Mike Rylander <mrylander@gmail.com>
569 11 1 src/python/osrf/ses.py
570 2 0 src/python/osrf/stack.py
571 1 0 src/python/srfsh.py
573 commit 26c31a9d5728adbd884a1369034caff41471130b
574 Author: Bill Erickson <berick@esilibrary.com>
575 Date: Fri Jan 13 09:35:18 2012 -0500
577 Set OpenSRF ingress value for srfsh/gateways
579 Sets the "srfsh", "gateway-v1", and "translator-v1" ingress values
582 For the translater, it's necessary to stamp the unpacked messages with
583 the updated ingress, then re-serialize before sending the messages along.
585 Signed-off-by: Bill Erickson <berick@esilibrary.com>
586 Signed-off-by: Mike Rylander <mrylander@gmail.com>
588 18 21 src/gateway/osrf_http_translator.c
589 1 0 src/gateway/osrf_json_gateway.c
590 1 0 src/srfsh/srfsh.c
592 commit 7ec92808fea116ead923e475ad5242a54b688798
593 Author: Bill Erickson <berick@esilibrary.com>
594 Date: Fri Jan 13 09:15:05 2012 -0500
596 C libs for OpenSRF ingress tracking
598 osrfAppSessionSetIngress(<ingress>);
600 Signed-off-by: Bill Erickson <berick@esilibrary.com>
601 Signed-off-by: Mike Rylander <mrylander@gmail.com>
603 5 0 include/opensrf/osrf_app_session.h
604 5 0 include/opensrf/osrf_message.h
605 26 0 src/libopensrf/osrf_app_session.c
606 32 0 src/libopensrf/osrf_message.c
607 4 0 src/libopensrf/osrf_stack.c
609 commit b12de37f9480c68b1c8b033da18c3cc0d0ebc8f0
610 Author: Bill Erickson <berick@esilibrary.com>
611 Date: Thu Jan 12 16:36:16 2012 -0500
613 Perl libs for OpenSRF ingress tracking
615 Ingress is a free-form text value which represents the entry point for
616 the client into the opensrf network. The value is passed within opensrf
617 messages, similar to "locale". Clients should specify the ingress
618 before any opensrf communication occurs.
620 OpenSRF::AppSession->ingress($ingress);
622 Stock values include the following:
629 Signed-off-by: Bill Erickson <berick@esilibrary.com>
630 Signed-off-by: Mike Rylander <mrylander@gmail.com>
632 9 0 src/perl/lib/OpenSRF/AppSession.pm
633 20 1 src/perl/lib/OpenSRF/DomainObject/oilsMessage.pm
634 2 0 src/perl/lib/OpenSRF/Transport.pm
636 commit 67d4d5de8656128f32b20f4c04dbf81a1028e929
637 Author: Dan Scott <dscott@laurentian.ca>
638 Date: Wed Feb 29 10:48:38 2012 -0500
640 Copy opensrf_core.xml.example to a clean opensrf_core.xml file
642 Ben Shum with the assist again.
644 Also, add ~/.srfsh.xml to the definition list of interesting OpenSRF
647 Signed-off-by: Dan Scott <dscott@laurentian.ca>
651 commit 68025993b01cc95f66a0ca723841e1abb406709f
652 Author: Dan Scott <dscott@laurentian.ca>
653 Date: Wed Feb 29 10:42:58 2012 -0500
655 Include explicit instructions to copy the opensrf config files
657 Also noted by the sharp-eyed Ben Shum, we didn't tell people to actually
658 copy opensrf.xml.example / opensrf_core.xml.example, which could lead to
661 Signed-off-by: Dan Scott <dscott@laurentian.ca>
665 commit 75f27021d4b45eebbf52a89a35f96e775f92a207
666 Author: Dan Scott <dscott@laurentian.ca>
667 Date: Wed Feb 29 10:27:36 2012 -0500
669 Update max_user_sessions suggestion to 10000 to match wiki
671 Ben Shum noticed that the README still specified 1000 for
672 max_user_sessions in the ejabberd.cfg file, whereas current larger
673 OpenSRF systems with many services may blow past that limit. Update to
674 match the current wiki specification of 10000.
676 Signed-off-by: Dan Scott <dscott@laurentian.ca>
680 commit 61fdb582dc918a1003351ff25842a23aaff24f71
681 Author: Dan Scott <dscott@laurentian.ca>
682 Date: Wed Jan 4 15:21:36 2012 -0500
684 Remove reference to Fedora specific version in prereq installer
686 Fedora changes every 6 months, so it's probably silly to have a make
687 target of "fedora14" when that is no longer supported by the Fedora
688 project itself. As Fedora has packaged all of the OpenSRF dependencies
689 (thanks, Ben Webb!), in theory it should be supported by the latest
690 releases of Fedora in the future... as long as we don't introduce any
691 dependencies on deprecated versions of packages.
693 Signed-off-by: Dan Scott <dscott@laurentian.ca>
695 2 2 src/extras/Makefile.install
697 commit ba6d4c7cc2988dafb6ca8de2d1f2f93194dcf3b3
698 Author: Dan Scott <dscott@laurentian.ca>
699 Date: Wed Jan 4 15:17:48 2012 -0500
701 Update README to match Evergreen's format
703 Reference the various accounts in use consistently.
705 Correct reference to "fedora" target in Makefile.install.
707 Put the developer preamble up front.
709 Provide more Fedora examples.
711 Do not include leading "#" and "$" in bash examples, to make it easier
712 for people to copy and paste.
714 Include source highlighting instructions and titles for example
717 Signed-off-by: Dan Scott <dscott@laurentian.ca>
721 commit cc7a12f74a9ce4555d5abd8989dfab43290fb41c
722 Author: Bill Erickson <berick@esilibrary.com>
723 Date: Fri Feb 24 16:28:27 2012 -0500
725 Java dependencies update
727 As of Java 6, XML Stax parsing is natively supported. This change
728 removes the external Stax dependencies and updates how the JSON libs are
729 fetched (in deps.sh), which now come from github.
731 Signed-off-by: Bill Erickson <berick@esilibrary.com>
732 Signed-off-by: Dan Scott <dscott@laurentian.ca>
734 17 20 src/java/deps.sh
735 1 4 src/java/org/opensrf/net/xmpp/XMPPReader.java
736 1 4 src/java/org/opensrf/util/XMLFlattener.java
738 commit 07b2eff0a7dfc492afd8e67788eae159c5ab96b7
739 Author: Dan Scott <dscott@laurentian.ca>
740 Date: Tue Feb 21 09:55:57 2012 -0500
742 We're not in Subversion anymore, Dorothy
744 We're in git now, make the README reflect that accordingly. Thanks to
745 Warren Layton for the tip!
747 Signed-off-by: Dan Scott <dscott@laurentian.ca>
751 commit aeeb4acdc8695a640021dbc6902ab3279652583d
752 Author: Bill Erickson <berick@esilibrary.com>
753 Date: Tue Feb 14 09:10:58 2012 -0500
755 Perl parent/child write improvements
757 * Updated variable names for clarity
758 * Added more inline comments
759 * Added additional error logging
760 * For severe read errors, allow the child to gracefully skip the request
762 Signed-off-by: Bill Erickson <berick@esilibrary.com>
763 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
764 Signed-off-by: Mike Rylander <mrylander@gmail.com>
766 25 19 src/perl/lib/OpenSRF/Server.pm
768 commit 08ee4f993fe773e37233b139961cbcdae2fe93b8
769 Author: Bill Erickson <berick@esilibrary.com>
770 Date: Mon Feb 13 16:53:59 2012 -0500
772 Perl pipe reading overhaul : data size header
774 The lockfile mechanism for preventing premature end of reads on child
775 processes suffers from one serious flaw: if the data to write exceeds
776 the pipe buffer size, the parent will block on syswrite and the service
777 will lock up. It's also not as effecient (for the normal case) as the
778 code was without the lockfile, becasue the writes and reads are
781 This commit replaces the lockfile mechanism with a protocol header in
782 the data. The first X (currently 12) bytes of data written to the child
783 process will contain the full length of the data to be written (minus
784 the header size). The child now reads the data in parallel with the parent as
785 data is available. If the child reads all available data (in the pipe)
786 but not all of the expected data, the child will go back into a select()
787 wait pending more data from the parent. The process continues until all
790 This same mechanism is already used to commicate status info from child
791 processes to the parent.
793 Signed-off-by: Bill Erickson <berick@esilibrary.com>
794 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
795 Signed-off-by: Mike Rylander <mrylander@gmail.com>
797 49 73 src/perl/lib/OpenSRF/Server.pm
798 1 2 src/perl/lib/OpenSRF/System.pm
800 commit 04558f38c1c1d314acb978a37193dacb4a6eba31
801 Author: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
802 Date: Fri Jan 27 09:05:07 2012 -0500
804 JSON_v0 has been superseded, and it has insidious bugs anyway.
806 For example, you cannot round-trip this through JSON2js() and js2JSON()
807 in IE8: http://paste.lisp.org/display/127338
809 This will make Evergreen's build fail until the change specified in
810 LP #922609 is applied.
812 Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
813 Signed-off-by: Bill Erickson <berick@esilibrary.com>
816 0 135 src/javascript/JSON_v0.js
817 delete mode 100644 src/javascript/JSON_v0.js
819 commit 89f41c82798dbac56716fdd5beeb6c0de3e4ce2e
820 Author: Bill Erickson <berick@esilibrary.com>
821 Date: Mon Nov 7 17:30:44 2011 -0500
823 Sync parent/child write/read with lock file
825 Wrap parent writes to child socket and initial child reads of the
826 socket in file lock (via flock()) to prevent rare race condition
827 where child process reads to the end of the data before the parent
828 has written all bytes.
830 This create a new lock file on the system, which resides in the same
831 directory as the pid files. The lock file is created and destroyed by
832 the opensrf perl mods at service start up and shutdown.
834 See also https://bugs.launchpad.net/opensrf/+bug/883155
836 Signed-off-by: Bill Erickson <berick@esilibrary.com>
837 Signed-off-by: Dan Scott <dscott@laurentian.ca>
839 1 1 bin/opensrf-perl.pl.in
840 60 8 src/perl/lib/OpenSRF/Server.pm
841 3 2 src/perl/lib/OpenSRF/System.pm
843 commit 3d089bdfd067676f99807f7cb2014e122c4dbf72
844 Author: Dan Scott <dscott@laurentian.ca>
845 Date: Mon Dec 12 13:09:13 2011 -0500
847 Update Perl OpenSRF build and tests for O:A:Validator
849 Kickstarted by wanting to bring OpenSRF::Application::Validator into the
850 MANIFEST and testing coverage, I noticed a few other files that needed
851 to be added to the MANIFEST as well. This gets us closer to acceptable
852 according to "./Build distcheck"
854 Signed-off-by: Dan Scott <dscott@laurentian.ca>
856 1 0 src/perl/Build.PL
857 22 0 src/perl/MANIFEST
858 6 1 src/perl/t/01-Application.t
860 commit 5e1fbcc1c8ae2f969dbeac93fe1da80c008ca42b
861 Author: Thomas Berezansky <tsbere@mvlc.org>
862 Date: Fri Dec 9 15:19:12 2011 -0500
864 OpenSRF Validator Service
866 Add a new Validator service, and EmailAddress validators.
868 The service runs a chain of one or more validators, each one being fed the
869 normalized output of the previous one.
871 The return from each validator should be a hash of valid (0 or 1), the new
872 normalized output (the untouched input if invalid or nothing needed to be
873 changed), and if invalid an error string. Optionally, a validator can also
874 include an "additionals" hash of extra information to be included in the
877 The complete list of validators included is:
879 OpenSRF::Application::Validator::Base
880 The base validator. Always returns valid.
881 OpenSRF::Application::Validator::Invalid
882 Always returns invalid for testing purposes.
883 OpenSRF::Application::Validator::EmailAddress::Regex
884 Does a very basic regular expression check on email addresses.
885 OpenSRF::Application::Validator::EmailAddress::DNS
886 Uses Net::DNS to look up the domain on an email address
888 Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
889 Signed-off-by: Dan Scott <dscott@laurentian.ca>
891 40 0 examples/opensrf.xml.example
892 3 0 src/extras/Makefile.install
893 50 0 src/perl/lib/OpenSRF/Application/Validator.pm
894 12 0 src/perl/lib/OpenSRF/Application/Validator/Base.pm
895 96 0 src/perl/lib/OpenSRF/Application/Validator/EmailAddress/DNS.pm
896 23 0 src/perl/lib/OpenSRF/Application/Validator/EmailAddress/Regex.pm
897 16 0 src/perl/lib/OpenSRF/Application/Validator/Invalid.pm
898 create mode 100644 src/perl/lib/OpenSRF/Application/Validator.pm
899 create mode 100644 src/perl/lib/OpenSRF/Application/Validator/Base.pm
900 create mode 100644 src/perl/lib/OpenSRF/Application/Validator/EmailAddress/DNS.pm
901 create mode 100644 src/perl/lib/OpenSRF/Application/Validator/EmailAddress/Regex.pm
902 create mode 100644 src/perl/lib/OpenSRF/Application/Validator/Invalid.pm
904 commit b6b64deb16ed3f005d64f99365b0220a82d72431
905 Author: Jason Stephenson <jstephenson@mvlc.org>
906 Date: Wed Dec 7 15:08:42 2011 -0500
908 Support installation for Ubuntu 12.04 Precise Pangolin.
910 Update the README to include Precise Pangolin as a supported release.
912 Update src/extras/Makefile.install to install two new debs required on
915 Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
916 Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
919 15 1 src/extras/Makefile.install
921 commit 3a4ae77be13349fae180fdc81bcc23e5a93032b4
922 Author: Dan Scott <dscott@laurentian.ca>
923 Date: Fri Nov 4 09:42:50 2011 -0400
925 Add explicit chown command to README
927 Warren Layton noticed that there was no explicit command to change the
928 ownership of the files in the /<PREFIX> directory to be owned by
929 "opensrf", although there was a statement that the files needed to be
930 owned by "opensrf". To reduce the chance of failure, add the explicit
933 TODO (for a willing volunteer): teach the installer to change the
934 ownership at the time the files are installed!
936 Signed-off-by: Dan Scott <dscott@laurentian.ca>
940 commit a7be31f137ccf6e2f4522c9a4c690a23b5636db8
941 Author: Bill Erickson <berick@esilibrary.com>
942 Date: Fri Oct 28 11:33:24 2011 -0400
944 Add SIGPIPE retry handling to child data sysread
946 Similar to the SIGPIPE retry logic wrapped around the parent process'
947 syswrite call (for sending data to a child process), protect the child's
948 sysread call (as it reads data from the parent). In pre-2.0, the
949 sysread step was handled by Net::Server, but now we need to protect it
952 Signed-off-by: Bill Erickson <berick@esilibrary.com>
953 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
955 10 0 src/perl/lib/OpenSRF/Server.pm
957 commit 40a753b10a3db58baa9179d75a76df1266589ea1
958 Author: Dan Scott <dscott@laurentian.ca>
959 Date: Wed Oct 19 11:39:41 2011 -0400
961 LP878284: stop_osrf action should stop, not start, Perl
963 As reported by Vicent Mas <uvemas@gmail.com> to the Evergreen
964 developer's mailing list:
967 It seems I've found a small bug in the
968 /openils/bin/osrf_ctl.sh script. The line for the osrf_stop action is:
970 "stop_osrf") stop_python; stop_c; start_perl;;
974 "stop_osrf") stop_python; stop_c; stop_perl;;
977 Signed-off-by: Dan Scott <dscott@laurentian.ca>
979 1 1 bin/osrf_ctl.sh.in
981 commit 07b5a335656be741353ab70c1d4717dacdbebc1b
982 Author: Bill Erickson <berick@esilibrary.com>
983 Date: Tue Oct 18 09:17:10 2011 -0400
985 Warn when sending very large messages
987 Depending on configuration, messages of a certain size sent through a
988 Jabber server will cause the jabber server to disconnect the client.
989 This change allows admins to configure a message size warning threshold.
990 When a message meets or exceeds the size threshold, a warning is issued
991 to the logs with the message size (in bytes) and the message recipient.
992 It does not prevent the message from being delivered. It's purely
995 Use 1 800 000 as the default threhold.
997 Signed-off-by: Bill Erickson <berick@esilibrary.com>
998 Signed-off-by: Galen Charlton <gmc@esilibrary.com>
1000 3 0 examples/opensrf_core.xml.example
1001 11 1 src/perl/lib/OpenSRF/Transport/SlimJabber/Client.pm
1003 commit ffb8bb73a2f505cfda9d8b97fab1f82aa3fb7097
1004 Author: Dan Scott <dscott@laurentian.ca>
1005 Date: Sat Sep 10 12:22:08 2011 -0400
1007 Fix README typo: 'mod_offlinex'
1009 mod_offline is not that x-treme.
1011 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1015 commit 0725d1ddced0f16c351a5953f5fd3c14714cda1a
1016 Author: Dan Scott <dan@coffeecode.net>
1017 Date: Thu Aug 25 11:41:19 2011 -0400
1019 Don't define a variable inside a conditional block
1021 ./configure --disable-core --enable-javascript was dying with an error
1022 due to CHECK_TESTS not being defined; move it outside the conditional
1023 block so that we can ensure that it is defined as either yes or no.
1025 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1029 commit b24e90f1a1b1f2309ca3cdf0728cdd54f7822597
1030 Author: Dan Scott <dan@coffeecode.net>
1031 Date: Mon Aug 22 09:49:45 2011 -0400
1033 Make distro targets in README match Makefile.install
1035 Swap ubuntu-karmic for ubuntu-lucid and pull fedora14 as it is really
1036 close to end of life.
1038 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1042 commit 7b3de495c337468e5c3fed68795a9dfa9eb12609
1043 Author: Dan Scott <dan@coffeecode.net>
1044 Date: Fri Aug 19 09:45:16 2011 -0400
1046 Add a 0 to max_stanza_size in README instructions
1048 Yes, that should be 2000000, not 200000 for max_stanza_size. Symptoms
1049 included "Text of error message received from Jabber: XML stanza is too
1050 big" in error logs and crashing OpenSRF processes.
1053 http://list.georgialibraries.org/pipermail/open-ils-dev/2011-August/007494.html
1055 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1059 commit f9648c10fb745f366d0181b96bb60a3a79bb972a
1060 Author: Ben Webb <bjwebb67@googlemail.com>
1061 Date: Mon Jul 25 21:40:40 2011 +0100
1063 LP 799718: Pass the DESTDIR variable to setup.py
1065 This allows python modules to be built when creating packages.
1067 Per comment from Dan Scott on the LP bug:
1069 http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_266
1070 says "Multiple successive slashes are considered to be the same as one
1071 slash." so in theory "--root=$(DESTDIR)/" should be just as safe as
1072 "--root=$(DESTDIR)///", but why not go the distance and use 3 slashes to
1073 avoid any possibility of some oddball POSIX implementation that treats 2
1074 slashes differently for some reason?
1076 Signed-off-by: Ben Webb <bjwebb67@googlemail.com>
1077 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1079 1 1 src/python/Makefile.am
1081 commit ba3ca0546553e756af81c921f7ceb50738e76aa7
1082 Author: Dan Scott <dan@coffeecode.net>
1083 Date: Wed Jul 6 10:49:04 2011 -0400
1085 Change "Scheduler" to "SingleBranchScheduler" per 0.8.4
1087 In buildbot 0.8.4, the Scheduler becomes a SingleBranchScheduler to make
1088 way for other kinds of Schedulers: see
1089 http://buildbot.net/buildbot/docs/current/SingleBranchScheduler.html
1091 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1093 8 8 examples/buildbot.cfg
1095 commit b2d3c5a55617aa4fa21fa6a98d381ceca1489447
1096 Author: Ben Webb <bjwebb67@googlemail.com>
1097 Date: Mon Jun 13 13:29:36 2011 +0100
1099 Respect DESTDIR during the build process
1101 Replace instances of make with the generic $(MAKE)
1102 Add $(DESTDIR) to paths it is currently missing from
1103 Manually specify the apxs2 install location so that DESTDIR can be prepended
1104 Attempt to create the apache directory if it does not exist
1106 Signed-off-by: Ben Webb <bjwebb67@googlemail.com>
1107 Signed-off-by: Dan Scott <dan@coffeecode.net>
1111 4 2 src/gateway/Makefile.am
1112 1 1 src/perl/Makefile.am
1114 commit 91b8790cc785036b2d48a10df3d8b8c2632f1f23
1115 Author: Dan Scott <dan@coffeecode.net>
1116 Date: Wed May 25 00:02:33 2011 -0400
1118 Move the buildbot workdirs to a non-volatile directory
1120 /tmp/ is a good directory for throwing temporary things,
1121 but not so good for things you want to keep around for a relatively
1122 long time. Especially on Ubuntu, which has a default policy of
1123 deleting files in /tmp/ on reboot - meaning that the git repos
1124 that form the basis of the repository have all of their files
1125 wiped - greatly confusing the buildbot, which tries to run
1126 'git reset --head' in an empty directory and fails miserably
1129 So - ensure that WORKDIR is set to something that exists and
1130 which will exist for the duration of your CI server, and you'll
1133 Signed-off-by: Dan Scott <dan@coffeecode.net>
1135 7 2 examples/buildbot.cfg
1136 3 0 src/perl/lib/OpenSRF/Utils/Cache.pm
1138 commit b9a3ff2ca433f0863cae8e0bf6d5dc213450a534
1139 Author: Dan Scott <dan@coffeecode.net>
1140 Date: Wed May 18 14:38:19 2011 -0400
1142 Turn on email and IRC notification about build breaks
1144 Buildbot can notify us when a build breaks via email and IRC.
1146 Now that everything is green on testing.evergreen-ils.org, let's
1147 turn that capability on. As configured, we should only be notified
1148 when a build goes from success to failure, the first time; and
1149 then again, when a build goes from failure to success.
1151 Email notification should go to "interested users" - all of the
1152 email addresses in the collected signed-off-by / author tags in
1153 the commits for a given build.
1155 Signed-off-by: Dan Scott <dan@coffeecode.net>
1157 20 6 examples/buildbot.cfg
1159 commit 4e7f49aded2368f656c36518ad937f0918d4cc23
1160 Author: Dan Scott <dan@coffeecode.net>
1161 Date: Wed May 18 10:23:18 2011 -0400
1163 Teach Perl Makefile to build Build for every target
1165 With the previous Perl Makefile.am, running "make check" before
1166 running "make all" would fail on the Perl directory because it
1167 assumed that Build would have been created from Build.PL. Factoring out
1168 the build of Build from Build.PL and making that a prereq of the
1169 pertinent targets avoids that problem on a clean checkout of the
1172 Signed-off-by: Dan Scott <dan@coffeecode.net>
1174 7 5 src/perl/Makefile.am
1176 commit 58e75cc909158e7ddadd39f22c633f711f31a1b4
1177 Author: Dan Scott <dan@coffeecode.net>
1178 Date: Mon May 16 18:11:59 2011 -0400
1180 Specify explicit branches for each builder, lazy-style
1182 SVNPoller was able to rely on change filters to look at every
1183 commit to the repository and hand them off to the scheduler
1184 accordingly; GitPoller, however, looks at one branch per
1185 poller, so we need to instantiate one poller per branch of
1186 interest. This gives us an opportunity to refactor our approach
1187 to be more programmatic.
1189 Signed-off-by: Dan Scott <dan@coffeecode.net>
1191 20 16 examples/buildbot.cfg
1193 commit 47d4ebfc5f1c8d0ccb126eda20e3cb69dd885211
1194 Author: Dan Scott <dan@coffeecode.net>
1195 Date: Mon May 16 16:01:37 2011 -0400
1197 Comment on why we're pulling in version.m4
1199 Commenting code is helpful, I've been told that it is the best
1200 way to reduce bugs in a project. To that end, make the connection
1201 between VERSION_NUMBER and PACKAGE_VERSION in configure.ac
1203 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1207 commit 19431b88f288f785b840887e4f663af5a5f0edbe
1208 Author: Dan Scott <dan@coffeecode.net>
1209 Date: Mon May 16 15:08:04 2011 -0400
1211 Define version number in one place
1213 Adding the version.m4 macro defines VERSION_NUMBER for us in
1214 one place so that we can simplify package releases (and fix
1215 'osrf_config --version' output so that it does not always
1218 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1222 create mode 100644 version.m4
1224 commit f3cdc028e6ffcc794db3d53e6d29206f91ad05cb
1225 Author: Dan Scott <dan@coffeecode.net>
1226 Date: Mon May 16 14:52:40 2011 -0400
1228 Typo fix: deprecasted -> deprecated
1230 It's an annoying typo, and it helps test out the buildbot
1233 Signed-off-by: Dan Scott <dscott@laurentian.ca>
1235 1 1 src/libopensrf/osrf_app_session.c
1237 commit a537043af9e607e8cd7976e2464dc773f64e897a
1238 Author: Dan Scott <dan@coffeecode.net>
1239 Date: Sun May 15 17:38:46 2011 -0400
1241 Remove 'branches' reference in Buildbot branches test
1243 We can just check for the branch directly now that we are
1244 in git. Some things really are simpler with git!
1246 Signed-off-by: Dan Scott <dan@coffeecode.net>
1248 3 3 examples/buildbot.cfg
1250 commit 3a439d12874170d4b947e498694e8b9d2ec6d01c
1251 Author: Dan Scott <dan@coffeecode.net>
1252 Date: Sun May 15 16:23:32 2011 -0400
1254 Add a workdir for each GitPoller source repository
1256 Not 100% sure, but with two GitPollers using the same working
1257 directory, I suspect that there was a conflict between the
1258 underlying repos as to which commit was the newest. Give
1259 each of them an explicit working directory in the attempt
1262 Signed-off-by: Dan Scott <dan@coffeecode.net>
1264 8 6 examples/buildbot.cfg
1266 commit a408589d648c5960798e571d9cb3518ea176a696
1267 Author: Dan Scott <dan@coffeecode.net>
1268 Date: Sun May 15 15:25:33 2011 -0400
1270 Teach Buildbot to poll the new git repos
1272 We're now using GitPoller to check for commits to the branches
1273 of interest in Evergreen and OpenSRF on the default interval
1276 Also, some syntax cleanups following the last refactoring.
1278 Signed-off-by: Dan Scott <dan@coffeecode.net>
1280 45 53 examples/buildbot.cfg
1282 commit d5143074012ec71b443c4eaa5d074b8d91468de8
1283 Author: dbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
1284 Date: Mon May 9 17:10:19 2011 +0000
1286 Inline TestObject for net_obj_test.py as well
1288 Signed-off-by: Dan Scott <dan@coffeecode.net>
1291 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2246 9efc2488-bf62-4759-914b-345cdb29e865
1293 11 0 src/python/tests/net_obj_test.py
1295 commit 9cb591294f7cee0b406261df1bd30792908c7018
1296 Author: dbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
1297 Date: Mon May 9 13:53:30 2011 +0000
1299 Fix unit tests for Python in a twistd instance
1301 twistd could not find testobj; just inline it.
1303 Signed-off-by: Dan Scott <dan@coffeecode.net>
1306 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2245 9efc2488-bf62-4759-914b-345cdb29e865
1308 15 1 src/python/tests/json_test.py
1309 4 1 src/python/tests/net_obj_test.py
1310 0 11 src/python/tests/testobj.py
1311 delete mode 100644 src/python/tests/testobj.py
1313 commit 5b68d6827f2ea4cee385df7b5ec8a42d7e7cb2a9
1314 Author: dbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
1315 Date: Mon May 9 05:19:51 2011 +0000
1317 Add Python unit testing and coverage report to "make check"
1319 If --enable-python is included in the arguments to configure, "make check"
1320 runs all Python unit tests using nosetests and generates a testing coverage
1321 report for all Python code.
1323 The original json_test.py is factored out to provide a separate file for
1324 testing osrf.net_obj vs. osrf.json vs. osrf.*, when we eventually get there.
1326 Signed-off-by: Dan Scott <dan@coffeecode.net>
1329 git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2244 9efc2488-bf62-4759-914b-345cdb29e865
1331 3 0 src/python/Makefile.am
1332 1 1 src/python/osrf/net_obj.py
1333 1 28 src/python/tests/json_test.py
1334 61 0 src/python/tests/net_obj_test.py
1335 30 0 src/python/tests/test_coverage.py
1336 11 0 src/python/tests/testobj.py
1337 create mode 100644 src/python/tests/net_obj_test.py
1338 create mode 100644 src/python/tests/test_coverage.py
1339 create mode 100644 src/python/tests/testobj.py