mirror of
https://gitlab.com/khumba/nvd.git
synced 2024-11-23 13:21:46 +01:00
Add 'history' command to changelog; tweak ProfileVersion.__eq__().
- Add mention of the new history command to the changelog. - Make ProfileVersion.__eq__() compare version but not path, so that it lines up with what __lt__() does, for simplicity.
This commit is contained in:
parent
d9ad4964f5
commit
f72ab902f7
2 changed files with 6 additions and 3 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
## 0.2.4 (unreleased)
|
||||
|
||||
- Added an `nvd history` command for diffing successive generations of a
|
||||
profile, issue #18. Big thanks to Felix Uhl for the idea and implementation!
|
||||
|
||||
- Added `--sort` option for controlling the order packages are listed in, for
|
||||
issue #17.
|
||||
|
||||
|
|
2
src/nvd
2
src/nvd
|
@ -126,7 +126,7 @@ class ProfileVersion:
|
|||
if not isinstance(other, ProfileVersion):
|
||||
return NotImplemented
|
||||
|
||||
return self._version == other._version and self._path == other._path
|
||||
return self._version == other._version
|
||||
|
||||
def path(self):
|
||||
return self._path
|
||||
|
|
Loading…
Reference in a new issue