diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-21 09:28:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-21 09:28:52 +0200 |
commit | 6fed384f9bdc86fa9bb13d87753d14a886f4f87e (patch) | |
tree | 67c10caec6871102551c74956dd9346fa80f234d /bpkg/package | |
parent | 108c54f8ae62453a76d05e31ad477efd3559e65a (diff) |
Add support for held packages, package versions
Diffstat (limited to 'bpkg/package')
-rw-r--r-- | bpkg/package | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bpkg/package b/bpkg/package index 12079f6..a17a860 100644 --- a/bpkg/package +++ b/bpkg/package @@ -348,6 +348,16 @@ namespace bpkg version_type version; package_state state; + // The hold flags indicate whether this package and/or version + // should be retained in the configuration. A held package will + // not be automatically removed. A held version will not be + // automatically upgraded. Note also that the two flags are + // orthogonal: we may want to keep a specific version of the + // package as long as it has dependents. + // + bool hold_package; + bool hold_version; + // Repository from which this package came. Note that it is not // a pointer to the repository object because it could be wiped // out (e.g., as a result of rep-fetch). We call such packages |