MRTG-CONTRIB(1)
๐ MRTG-CONTRIB(1) ๐
okay bestie, gather round โ this is the contribution guide for mrtg, section 1 of the manual. If you've got something to give back, this is your moment. โจ
๐ธ NAME ๐ธ
mrtg-contrib โ Contribution Guidelines for MRTG ๐ซถ
๐ฆ DESCRIPTION ๐ฆ
So here's the vibe: if you've written an extension to mrtg, or you've cooked up a bug fix, please consider contributing it to the project. The thing is, a lot of contributions land in the inbox every single week, so there are a few guidelines here explaining how to submit your stuff โ the whole point is that the maintainer can actually use your contribution without too much additional work. Lowkey the nicest gift you can give. ๐
๐ Translations ๐
MRTG messages have already been translated into a bunch of languages, but there are still many which have not been covered yet. If you want to add yours, go into the mrtg-2.17.10/translate directory and follow the instructions given in the README file. no cap, it's that easy. ๐
๐ Patches ๐
When you've created your modification or extension to mrtg and want to submit it, please create a patch for the files which you have modified. Do not send entire files unless they are new. (like, nobody wants the whole file bestie, just the diff ๐)
To create a patch, get hold of a copy of GNU diff โ many Unix systems will have this installed already. In the NT world you might want to grab http://sources.redhat.com/cygwin/ to get all the nice GNU tools available. ๐ป
Then type:
diff --unified --ignore-space-change old-file new-file > simple.patch
or, if you have modified several files, do:
diff --recursive --unified --ignore-space-change old-dir/ new-dir/ >long.patch
(yes the second one is long.patch, no space, that's not a typo, that's just how it is ๐ง)
๐ Documentation ๐
All documentation of mrtg is done with the perl POD system. If you want to learn about it, type:
perldoc perlpod
and read the instructions. If you have bugfixes or additions to the existing documents, make sure you modify the POD files and not the html or txt versions. fr fr, the POD is the source of truth. ๐
I take documentation very seriously. ๐ค Whenever you create a new feature formrtgwhich you want to get included in the official release, your patch must also contain modifications for the relevant pod file in thedoctree, or for the documentation sections ofcfgmakerandindexmaker.
๐ ADDRESS ๐
Send your patches, translations and contributions to Tobias Oetiker <tobi@oetiker.ch> ๐ฎ
๐ AUTHOR ๐
Tobias Oetiker <tobi@oetiker.ch> ๐
and that's the whole page, bestie โ go forth and contribute, you're gonna ate ๐ โจ
this was mrtg manual page MRTG-CONTRIB(1), version 2.17.10, dated 2022-01-19. mwah ๐
๐ฆ where this page comes from
- alpine 3.22: mrtg-doc 2.17.10-r1 ยท GPL-2.0-or-later
- alpine 3.23: mrtg-doc 2.17.10-r1 ยท GPL-2.0-or-later
- alpine 3.24: mrtg-doc 2.17.10-r2 ยท GPL-2.0-or-later
- centos-stream 10: mrtg 2.17.10-13.el10 ยท GPL-2.0-or-later
- debian bookworm: mrtg 2.17.10-5+deb12u2 ยท GPL-2.0-or-later
- debian trixie: mrtg 2.17.10-13+deb13u2 ยท GPL-2.0-or-later
- fedora 43: mrtg 2.17.10-12.fc43 ยท GPL-2.0-or-later
- fedora 43: mrtg 2.17.10-13.fc43 ยท GPL-2.0-or-later
- fedora 44: mrtg 2.17.10-13.fc44 ยท GPL-2.0-or-later
- fedora 44: mrtg 2.17.10-14.fc44 ยท GPL-2.0-or-later
- nixos 26.05: mrtg 2.17.10
- nixpkgs unstable: mrtg 2.17.10
- ubuntu jammy: mrtg 2.17.10-3 ยท GPL-2.0-or-later
- ubuntu noble: mrtg 2.17.10-12 ยท GPL-2.0-or-later
- ubuntu questing: mrtg 2.17.10-13
- ubuntu resolute: mrtg 2.17.10-14 ยท GPL-2.0-or-later
- ubuntu stonking: mrtg 2.17.10-16 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms