logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Config::Model::models::Approx - Configuration class Approx

Author

       Dominique Dumont

Description

       Configuration classes used by Config::Model

       Configuration model for Approx

Elements

cache-approxcachedirectory
       Specifies the location of the approx cache directory (default: /var/cache/approx). It and all its
       subdirectories must be owned by the approx server (see also the $user and $group parameters, below.)
       Optional.Typeuniline.

       upstream_default value :
           /var/cache/approx

   interval-filecacheexpirationinminutes
       Specifies  the  time  in  minutes after which a cached file will be considered too old to deliver without
       first checking with the remote repository for a newer version.  Optional.Typeinteger.

       upstream_default value :
           720

   max_rate-maximumdownloadratefromremoterepositories
       Specifies the maximum download rate from remote repositories, in bytes per second  (default:  unlimited).
       The  value  may  be  suffixed  with  "K",  "M", or "G" to indicate kilobytes, megabytes, or gigabytes per
       second, respectively.  Optional.Typeuniline.max_redirects-maximumnumberofHTTPredirections
       Specifies the maximum number of HTTP redirections that will be followed when downloading a  remote  file.
       Optional.Typeinteger.

       upstream_default value :
           5

   user-userthatownsthefilesintheapproxcacheOptional.Typeuniline.

       upstream_default value :
           approx

   group-groupthatownsthefilesintheapproxcacheOptional.Typeuniline.

       upstream_default value :
           approx

   syslog-syslog(3)facilitytousewhenloggingOptional.Typeuniline.

       upstream_default value :
           daemon

   pdiffs-supportIndexFilediffsOptional.Typeboolean.

       upstream_default value :
           1

   offline-usecachedfileswhenoffline
       Specifies  whether  to  deliver  (possibly  out-of-date) cached files when they cannot be downloaded from
       remote repositories.  Optional.Typeboolean.

       upstream_default value :
           0

   max_wait-maxwaitforconcurrentfiledownload
       Specifies how many seconds an approx(8) process will  wait  for  a  concurrent  download  of  a  file  to
       complete, before attempting to download the file itself.  Optional.Typeinteger.

       upstream_default value :
           10

   verbose
       Specifies whether informational messages should be printed in the log.  Optional.Typeboolean.

       upstream_default value :
           0

   debug
       Specifies whether debug messages should be printed in the log.  Optional.Typeboolean.

       upstream_default value :
           0

   distributions-remoterepositories
       The other name/value pairs are used to map distribution names to remote repositories. For example,

         debian     =>   http://ftp.debian.org/debian
         security   =>   http://security.debian.org/debian-security

       Use  the distribution name as the key of the hash element and the URL as the value .  Optional.Typehashofuniline.

License

       LGPL-2.1+

perl v5.36.0                                       2022-10-14                 Config::Model::models::Approx(3pm)

Name

       Config::Model::models::Approx - Configuration class Approx

See Also

       •   cme

See Also