Setup Options Configuration File
reprepro
prepares a conf/options
file for recording the default arguments. As you're aware, reprepro
relies heavily on many arguments to the point that it is best to parse it via file.
Location
The options file is located inside the conf/
directory of your configuration directory. Here is an example of the directory mapping:
confDir : /path/to
configurations directory: conf/
filename : options
options path : /path/to/conf/options
Adding Options
These are the steps to add options into the file. reprepro
recognizes the full name arguments without the double dash (--
). Example:
--verbose --> verbose
--basedir /path/to/base --> basedir /path/to/base
Hence, you need to refer to the arguments list and fill in your option accordingly.
Rules of Engagement
Although there are many ways to deliver the options into the operations, there is a set of rules of engagement by priority reprepro
adhere with. Here are the rules, where the first source will overwrite the subsequent source when an option is available in both or many of them:
- command-line argument
- environment variables
conf/options
file
That's all about conf/options
file.