Fix SIGPIPE handling; bump to v0.1.1.

This commit is contained in:
Bryan Gardiner 2021-05-16 18:04:37 -07:00
parent 050f6ff2e3
commit 304918bade
No known key found for this signature in database
GPG key ID: 53EFBCA063E6183C
4 changed files with 11 additions and 4 deletions

View file

@ -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

View file

@ -4,7 +4,7 @@ let
in
stdenv.mkDerivation {
pname = "nvd";
version = "0.1.0";
version = "0.1.1";
src = nix-gitignore.gitignoreSourcePure [ ./.gitignore ] ./src;

View file

@ -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

View file

@ -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