virt-manager/HACKING

27 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-04-03 17:41:32 -05:00
HACKING
=======
2009-06-18 09:53:09 -05:00
We use glade-3 for building virt-manager's UI. It is recommended you have
a fairly recent version of glade-3: if a small UI change seems to rewrite the
entire glade file, you likely have a too old (or too new :) glade version.
2013-04-03 17:41:32 -05:00
The following commands will be useful for anyone writing patches:
python setup.py test : Run local unit test suite
python setup.py pylint : Run a pylint script against the codebase
2013-04-15 12:22:19 -05:00
Any patches shouldn't change the output of 'test' or 'pylint'. The
'pylint' requires pylint and python-pep8 to be installed.
2013-04-03 17:41:32 -05:00
Our pylint script uses a blacklist rather than a whitelist approach,
so it could throw some false positives or useless messages. If you think
your patch exposes one of these, bring it up on the mailing list.
If 'python-coverage' is installed, you can run 'coverage -r' after 'test'
to see a code coverage report.
'test*' have a --debug option if you are hitting problems.
2013-04-15 12:22:19 -05:00
For translations, please sign up for transifex.com and contribute to the
virt-manager project.