diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2012-03-10 16:14:09 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2012-03-10 16:14:09 -0800 |
commit | 5c33fbc34acca869ec9fe80c4f470edfe560d9a0 (patch) | |
tree | fd9006057a3bfc69496cdcb937162ea7427507e6 /etc | |
parent | 216ffc02a31cc4ee5c01c836def8d497ee5c5764 (diff) | |
download | layman-5c33fbc34acca869ec9fe80c4f470edfe560d9a0.tar.gz layman-5c33fbc34acca869ec9fe80c4f470edfe560d9a0.tar.bz2 layman-5c33fbc34acca869ec9fe80c4f470edfe560d9a0.zip |
Add news reporting capability to meet GLEP 42 requirement.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/layman.cfg | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/layman.cfg b/etc/layman.cfg index 1b74f96..7f7baab 100644 --- a/etc/layman.cfg +++ b/etc/layman.cfg @@ -81,6 +81,32 @@ nocheck : yes #umask : 0022 #----------------------------------------------------------- +# News reporting settings +# +# This is for when layman is adding/syncing overlays. +# It is required for GLEP 42. +# Currently there are 3 possible values: +# portage, pkgcore, custom +# +# portage: uses portage to report news only from overlay(s) in +# versions >=2.2.0_alpha72 or >=2.1.10.32 +# or all repositories (including gentoo) for older portage versions. +# pkgcore: does not yet support glep 42, no news is reported +# custom: requires that you provide a suitable python function +# to 'custom_news_func' using the api's config.set_option() +# or define the python package to import it from in custom_news_pkg + +news_reporter: portage + +#----------------------------------------------------------- +# News reporting custom function setting +# +# the pkg name that contains the layman_news_function() +# for it to import and use. It must be found in PYTHONPATH + +#custom_news_pkg : + +#----------------------------------------------------------- # Command overrides # # You can have commands point to either a binary at a different |