1
by Robert Collins
Minimal bootstrap. |
1 |
==========================
|
2 |
README for oops-repository |
|
3 |
==========================
|
|
4 |
||
5 |
OOPS repository is a storage and reporting system for the server fault reports |
|
6 |
- 'OOPSes' that Launchpad and other systems at Canonical use. |
|
7 |
||
8 |
OOPS repository is maintained by the Launchpad |
|
9 |
<https://launchpad.net/launchpad> team @ Canonical <http://www.canonical.com>. |
|
10 |
The project uses Python 2.6 as its main development language, Cassandra for |
|
11 |
scalable storage. |
|
12 |
||
13 |
Runtime Dependencies |
|
14 |
====================
|
|
15 |
||
16 |
* Cassandra (0.7) |
|
6
by Robert Collins
Schema creation is possible. |
17 |
* python-pycassa |
18 |
* python-thrift 0.5 (for pycassa) |
|
1
by Robert Collins
Minimal bootstrap. |
19 |
* Python |
20 |
||
21 |
Build Dependencies |
|
22 |
==================
|
|
23 |
||
24 |
* python-fixtures |
|
25 |
* python-testtools |
|
3
by Robert Collins
Iterate towards tests. |
26 |
* testrepository |
1
by Robert Collins
Minimal bootstrap. |
27 |
|
28 |
Home page, code etc |
|
29 |
===================
|
|
30 |
||
31 |
https://launchpad.net/oops-repository has the project bug tracker, source code, |
|
32 |
FAQs etc. |
|
33 |
||
34 |
The code can be branch using bzr:: |
|
35 |
||
36 |
$ bzr branch lp:oops-repository |
|
2
by Robert Collins
More docs. |
37 |
|
6
by Robert Collins
Schema creation is possible. |
38 |
Getting started |
39 |
===============
|
|
40 |
||
41 |
Install cassanda. Choose a keyspace for oopsrepository and export OOPS_KEYSPACE |
|
42 |
with that value. For instance:: |
|
43 |
||
44 |
$ export OOPS_KEYSPACE=oopses |
|
45 |
||
46 |
Create the schema:: |
|
47 |
||
48 |
$ python -m oopsrepository.schema |
|
49 |
||
2
by Robert Collins
More docs. |
50 |
Code structure |
51 |
==============
|
|
52 |
||
53 |
Tests are in oopsrepository/tests. |
|
54 |
Test helpers are in oopsrepository/testing. |
|
55 |
Actual code is in oopsrepository. |
|
56 |
||
57 |
Enjoy! |