How to contribute
Ask questions
Yes, asking a question is a form of contribution that helps the author to improve documentation.
Feel free to ask questions by sending a mail to the author
Log a bug
Please report issue on https://github.com/dod38fr/config-model-systemd/issues
Source code structure
The main parts of this modules are:
contrib/parse-man.pl: analyses Systemd documentation generates Systemd model.lib/Config/Model/system.d/: declares the applications thatcmecan configure with this package. The name collision between Systemd and this directory is unfortunate.lib/Config/Model/Systemd.pm: the "main" file of the Perl package. Mostly contains docuementation.lib/Config/Model/models/*.pl: Main classes of Systemd model (not generated)lib/Config/Model/models/[Common|Section]/*.pl: Systemd model generated bycontrib/parse-man.plfrom Systemd doc. These files can be viewed withcme meta editcommand. See the end of parse-man.pl to tweak the generated model. The model structure can be viewed withcme meta gen-dotanddot -Tps model.dot > model.pslib/Config/Model/models/**.pod: the doc of the above models. Can be re-generated withcme gen_class_podt: test files. Run the tests withprove -l tt/model_tests.dtest the application delivered with this module using Config::Model::Tester. Useprove -l t/model_test.tcommand to run only model tests.
Edit source code from github
If you have a github account, you can clone a repo and prepare a pull-request.
You can:
- run 
git clone https://github.com/dod38fr/config-model-systemd/ - edit files
 - run 
prove -l tto run non-regression tests 
There's no need to worry about dzil, Dist::Zilla or dist.ini
files. These are useful to prepare a new release, but not to fix bugs.
Edit source code from Debian source package
You can also prepare a patch using Debian source package:
For instance:
- download and unpack 
apt-get source libconfig-model-systemd-perl - jump in 
cd libconfig-model-systemd-perl-0.xxx - useful to create a patch later: 
git init - commit all files: 
git add -A ; git commit -m"committed all" - edit files
 - run 
prove -l tto run non-regression tests - run 
git diffand send the output to the author 
Edit source code from Debian source package or CPAN tarball
Non Debian users can also prepare a patch using CPAN tarball:
- Download tar file from http://search.cpan.org
 - unpack tar file with something like 
tar axvf Config-Model-Systemd-2.xxx.tar.gz - jump in 
cd Config-Model-Systemd-2.xxx - useful to create a patch later: 
git init - commit all files: 
git add -A ; git commit -m"committed all" - edit files
 - run 
prove -l tto run non-regression tests - run 
git diffand send the output to the author 
Provide feedback
Feedback is important. Please take a moment to rate, comment or add stars to this project: