blob: 89daacab783e7fe2b9db9cd4c33a5cce846d1b9a [file] [log] [blame]
martin f. krafft8acd49d2013-08-26 21:22:25 +02001==================
2Hacking on reclass
3==================
4
5Installation
6------------
7If you just want to run |reclass| from source, e.g. because you are going to be
8making and testing changes, install it in "development mode"::
9
10 python setup.py develop
11
12Now the ``reclass`` script, as well as the adapters, will be available in
13``/usr/local/bin``, and you can also invoke them directly from the source
14tree.
15
16To uninstall::
17
18 python setup.py develop --uninstall
19
20Discussing reclass
21------------------
martin f. krafft0b157d62013-08-27 18:52:47 +020022If you want to talk about |reclass|, use the `mailing list`_ or to find me on
23IRC, in ``#reclass`` on ``irc.oftc.net``.
martin f. krafft8acd49d2013-08-26 21:22:25 +020024
martin f. krafft0b157d62013-08-27 18:52:47 +020025.. _mailing list: http://lists.pantsfullofunix.net/listinfo/reclass
martin f. krafft8acd49d2013-08-26 21:22:25 +020026
27Contributing to reclass
28-----------------------
29|reclass| is currently maintained `on Github
30<http://github.com/madduck/reclass>`_.
31
32Conttributions to |reclass| are very welcome. Since I prefer to keep a somewhat
33clean history, I will not just merge pull request.
34
35You can submit pull requests, of course, and I'll rebase them onto ``HEAD``
36before merging. Or send your patches using ``git-format-patch`` and
martin f. krafft5a8d02f2013-08-28 12:04:22 +020037``git-send-e-mail`` to `the mailing list
38<reclass@lists.pantsfullofunix.net>`_.
martin f. krafft8acd49d2013-08-26 21:22:25 +020039
40I have added rudimentary unit tests, and it would be nice if you could submit
41your changes with appropriate changes to the tests. To run tests, invoke
42
43::
44
45 $ make tests
46
47in the top-level checkout directory. The tests are rather inconsistent, some
48using mock objects, and only the datatypes-related code is covered. If you are
49a testing expert, I could certainly use some help here to improve the
50consistency of the existing tests, as well as their coverage.
51
52Also, there is a Makefile giving access to PyLint and ``coverage.py`` (running
53tests). If you run that, you can see there is a lot of work to be done
54cleaning up the code. If this is the sort of stuff you want to do — by all
55means — be my guest! ;)
56
martin f. krafftcc8851d2013-08-27 13:43:16 +020057There are a number of items on the :doc:`to-do list <todo>`, so if you are
58bored…
59
martin f. krafft8acd49d2013-08-26 21:22:25 +020060If you have larger ideas, I'll be looking forward to discuss them with you.
61
62.. include:: substs.inc