diff options
Diffstat (limited to 'mod/options.cli')
-rw-r--r-- | mod/options.cli | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mod/options.cli b/mod/options.cli index 97453a7..62a339d 100644 --- a/mod/options.cli +++ b/mod/options.cli @@ -572,7 +572,21 @@ namespace brep // Package name wildcard. An empty value is treated the same way as *. // - string name | pn; + // We used to generate URLs like: + // + // https://cppget.org/?builds&pn=bbot + // + // This looked a bit verbose, so now we produce URLs like: + // + // https://cppget.org/?builds=bbot + // + // To support the already distributed URLs the name_legacy (pn) parameter + // overrides the name (builds) parameter, if present. Note that the + // builds parameter is renamed to '_' by the root handler (see the + // request_proxy class for details). + // + string name | _; + string name_legacy | pn; // Package version. If empty or *, then no version constraint is applied. // Otherwise the build package version must match the value exactly. |