Enum debian_watch::VersionPolicy
source · pub enum VersionPolicy {
Debian,
Version(Version),
Same,
Previous,
Ignore,
Group,
Checksum,
}Variants§
Debian
Version(Version)
Requires the upstream tarball to be newer than specified version
Same
Requires the downloaded version of the secondary tarballs to be exactly the same as the one for the first upstream tarball downloaded
Previous
Restricts the version of the seignature file (used with pgpmode=previous)
Ignore
Does not restrict the version of the secondary tarballs
Group
Requires the downloading upstream tarball to be newer than the version obtained from debian/changelog. Package version is the concatenation of all “group” upstream version.
Checksum
Requires the downloading upstream tarball to be newer than the version obtained from debian/changelog. Package version is the concatenation of the version of the main tarball, followed by a checksum of all the tarballs using the checksum version system. At least the main upstream source has to be declared as group.
Trait Implementations§
source§impl Clone for VersionPolicy
impl Clone for VersionPolicy
source§fn clone(&self) -> VersionPolicy
fn clone(&self) -> VersionPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VersionPolicy
impl Debug for VersionPolicy
source§impl Default for VersionPolicy
impl Default for VersionPolicy
source§fn default() -> VersionPolicy
fn default() -> VersionPolicy
source§impl FromStr for VersionPolicy
impl FromStr for VersionPolicy
source§impl Hash for VersionPolicy
impl Hash for VersionPolicy
source§impl Ord for VersionPolicy
impl Ord for VersionPolicy
source§fn cmp(&self, other: &VersionPolicy) -> Ordering
fn cmp(&self, other: &VersionPolicy) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for VersionPolicy
impl PartialEq for VersionPolicy
source§fn eq(&self, other: &VersionPolicy) -> bool
fn eq(&self, other: &VersionPolicy) -> bool
self and other values to be equal, and is used
by ==.source§impl PartialOrd for VersionPolicy
impl PartialOrd for VersionPolicy
source§fn partial_cmp(&self, other: &VersionPolicy) -> Option<Ordering>
fn partial_cmp(&self, other: &VersionPolicy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more