mirror of
https://gitlab.com/khumba/nvd.git
synced 2024-11-23 13:21:46 +01:00
Fix SIGPIPE handling; bump to v0.1.1.
This commit is contained in:
parent
050f6ff2e3
commit
304918bade
4 changed files with 11 additions and 4 deletions
|
@ -1,6 +1,10 @@
|
|||
# nvd changelog
|
||||
|
||||
## 0.1.0
|
||||
## 0.1.1 (2021-05-16)
|
||||
|
||||
- Fix handling of SIGPIPE to exit cleanly.
|
||||
|
||||
## 0.1.0 (2021-05-16)
|
||||
|
||||
- Add a mandatory action argument to the CLI. The existing diff functionality
|
||||
is under the `diff` command. A new `list` command is now implemented as well
|
||||
|
|
|
@ -4,7 +4,7 @@ let
|
|||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "nvd";
|
||||
version = "0.1.0";
|
||||
version = "0.1.1";
|
||||
|
||||
src = nix-gitignore.gitignoreSourcePure [ ./.gitignore ] ./src;
|
||||
|
||||
|
|
5
src/nvd
5
src/nvd
|
@ -45,10 +45,13 @@ import subprocess
|
|||
import sys
|
||||
from collections import namedtuple
|
||||
from pathlib import Path
|
||||
from signal import SIGPIPE, SIG_DFL, signal
|
||||
from subprocess import PIPE
|
||||
from typing import Dict, List, Optional, Tuple, Union
|
||||
|
||||
NVD_VERSION = "0.1.0"
|
||||
signal(SIGPIPE, SIG_DFL) # Python handles SIGPIPE improperly by default.
|
||||
|
||||
NVD_VERSION = "0.1.1"
|
||||
|
||||
USE_COLOUR = False
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.TH nvd 1 2021-05-16 nvd-0.1.0 "User Commands"
|
||||
.TH nvd 1 2021-05-16 nvd-0.1.1 "User Commands"
|
||||
.SH NAME
|
||||
nvd \- Nix/NixOS package version diff tool
|
||||
.SH SYNOPSIS
|
||||
|
|
Loading…
Reference in a new issue