Compare commits

..

2 Commits

Author SHA1 Message Date
fdda47e8a2 Bump version to 0.9.72 2023-09-01 16:34:45 -04:00
a5ffe373cd Add default node values to commands 2023-09-01 16:33:26 -04:00
7 changed files with 19 additions and 9 deletions

View File

@ -1 +1 @@
0.9.71
0.9.72

View File

@ -1,5 +1,9 @@
## PVC Changelog
###### [v0.9.72](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.72)
* [CLI] Restores old functionality for default node value
###### [v0.9.71](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.71)
* [API] Adds API support for Debian Bookworm

View File

@ -27,7 +27,7 @@ from ssl import SSLContext, TLSVersion
from distutils.util import strtobool as dustrtobool
# Daemon version
version = "0.9.71"
version = "0.9.72"
# API version
API_VERSION = 1.0

View File

@ -569,7 +569,7 @@ def cli_node():
short_help="Set node as primary coordinator.",
)
@connection_req
@click.argument("node")
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
@click.option(
"-w",
"--wait",
@ -619,7 +619,7 @@ NOTE: There are currently {len(tasks_retdata)} active or queued provisioner task
short_help="Set node as secondary coordinator.",
)
@connection_req
@click.argument("node")
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
@click.option(
"-w",
"--wait",
@ -671,7 +671,7 @@ NOTE: There are currently {len(tasks_retdata)} active or queued provisioner task
short_help="Take node out of service.",
)
@connection_req
@click.argument("node")
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
@click.option(
"-w",
"--wait",
@ -709,7 +709,7 @@ def cli_node_flush(
short_help="Restore node to service.",
)
@connection_req
@click.argument("node")
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
@click.option(
"-w",
"--wait",
@ -747,7 +747,7 @@ def cli_node_ready(
short_help="View node daemon logs.",
)
@connection_req
@click.argument("node")
@click.argument("node", default=DEFAULT_NODE_HOSTNAME)
@click.option(
"-l",
"--lines",

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="pvc",
version="0.9.71",
version="0.9.72",
packages=["pvc.cli", "pvc.lib"],
install_requires=[
"Click",

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pvc (0.9.72-0) unstable; urgency=high
* [CLI] Restores old functionality for default node value
-- Joshua M. Boniface <joshua@boniface.me> Fri, 01 Sep 2023 16:34:45 -0400
pvc (0.9.71-0) unstable; urgency=high
* [API] Adds API support for Debian Bookworm

View File

@ -49,7 +49,7 @@ import re
import json
# Daemon version
version = "0.9.71"
version = "0.9.72"
##########################################################