Skip to content

Commit

Permalink
meta: release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pffont committed Feb 29, 2024
1 parent a9e2f55 commit b7e0fd6
Show file tree
Hide file tree
Showing 21 changed files with 68 additions and 20 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ brew install tonarino/innernet/innernet

```sh
# to install innernet:
cargo install --git https://github.com/tonarino/innernet --tag v1.6.1 client
cargo install --git https://github.com/tonarino/innernet --tag v2.0.0 client

# to install innernet-server:
cargo install --git https://github.com/tonarino/innernet --tag v1.6.1 server
cargo install --git https://github.com/tonarino/innernet --tag v2.0.0 server
```

Note that you'll be responsible for updating manually.
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "client"
publish = false
readme = "README.md"
repository = "https://github.com/tonarino/innernet"
version = "1.6.1"
version = "2.0.0"

[[bin]]
name = "innernet"
Expand Down
4 changes: 2 additions & 2 deletions doc/innernet-server.8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH INNERNET-SERVER "8" "December 2023" "innernet-server 1.6.1" "System Administration Utilities"
.TH INNERNET-SERVER "8" "February 2024" "innernet-server 2.0.0" "System Administration Utilities"
.SH NAME
innernet-server \- manual page for innernet-server 1.6.1
innernet-server \- manual page for innernet-server 2.0.0
.SH SYNOPSIS
.B innernet-server
[\fI\,OPTIONS\/\fR] \fI\,<COMMAND>\/\fR
Expand Down
Binary file modified doc/innernet-server.8.gz
Binary file not shown.
12 changes: 10 additions & 2 deletions doc/innernet-server.completions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,16 @@ _innernet-server() {
return 0
;;
innernet__server__disable__peer)
opts="-h --help <INTERFACE>"
opts="-h --name --yes --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
Expand All @@ -233,12 +237,16 @@ _innernet-server() {
return 0
;;
innernet__server__enable__peer)
opts="-h --help <INTERFACE>"
opts="-h --name --yes --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet-server.completions.elvish
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,14 @@ set edit:completion:arg-completer[innernet-server] = {|@words|
cand --help 'Print help'
}
&'innernet-server;disable-peer'= {
cand --name 'Name of peer to enable/disable'
cand --yes 'Bypass confirmation'
cand -h 'Print help'
cand --help 'Print help'
}
&'innernet-server;enable-peer'= {
cand --name 'Name of peer to enable/disable'
cand --yes 'Bypass confirmation'
cand -h 'Print help'
cand --help 'Print help'
}
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet-server.completions.fish
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l invite-
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l auto-ip -d 'Auto-assign the peer the first available IP within the CIDR'
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -l yes -d 'Bypass confirmation'
complete -c innernet-server -n "__fish_seen_subcommand_from add-peer" -s h -l help -d 'Print help'
complete -c innernet-server -n "__fish_seen_subcommand_from disable-peer" -l name -d 'Name of peer to enable/disable' -r
complete -c innernet-server -n "__fish_seen_subcommand_from disable-peer" -l yes -d 'Bypass confirmation'
complete -c innernet-server -n "__fish_seen_subcommand_from disable-peer" -s h -l help -d 'Print help'
complete -c innernet-server -n "__fish_seen_subcommand_from enable-peer" -l name -d 'Name of peer to enable/disable' -r
complete -c innernet-server -n "__fish_seen_subcommand_from enable-peer" -l yes -d 'Bypass confirmation'
complete -c innernet-server -n "__fish_seen_subcommand_from enable-peer" -s h -l help -d 'Print help'
complete -c innernet-server -n "__fish_seen_subcommand_from rename-peer" -l name -d 'Name of peer to rename' -r
complete -c innernet-server -n "__fish_seen_subcommand_from rename-peer" -l new-name -d 'The new name of the peer' -r
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet-server.completions.powershell
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ Register-ArgumentCompleter -Native -CommandName 'innernet-server' -ScriptBlock {
break
}
'innernet-server;disable-peer' {
[CompletionResult]::new('--name', 'name', [CompletionResultType]::ParameterName, 'Name of peer to enable/disable')
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help')
break
}
'innernet-server;enable-peer' {
[CompletionResult]::new('--name', 'name', [CompletionResultType]::ParameterName, 'Name of peer to enable/disable')
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help')
break
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet-server.completions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,17 @@ _arguments "${_arguments_options[@]}" \
;;
(disable-peer)
_arguments "${_arguments_options[@]}" \
'--name=[Name of peer to enable/disable]:NAME: ' \
'--yes[Bypass confirmation]' \
'-h[Print help]' \
'--help[Print help]' \
':interface:' \
&& ret=0
;;
(enable-peer)
_arguments "${_arguments_options[@]}" \
'--name=[Name of peer to enable/disable]:NAME: ' \
'--yes[Bypass confirmation]' \
'-h[Print help]' \
'--help[Print help]' \
':interface:' \
Expand Down
4 changes: 2 additions & 2 deletions doc/innernet.8
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH INNERNET "8" "December 2023" "innernet 1.6.1" "System Administration Utilities"
.TH INNERNET "8" "February 2024" "innernet 2.0.0" "System Administration Utilities"
.SH NAME
innernet \- manual page for innernet 1.6.1
innernet \- manual page for innernet 2.0.0
.SH SYNOPSIS
.B innernet
[\fI\,OPTIONS\/\fR] [\fI\,COMMAND\/\fR]
Expand Down
Binary file modified doc/innernet.8.gz
Binary file not shown.
12 changes: 10 additions & 2 deletions doc/innernet.completions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,16 @@ _innernet() {
return 0
;;
innernet__disable__peer)
opts="-h --help <INTERFACE>"
opts="-h --name --yes --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
Expand All @@ -329,12 +333,16 @@ _innernet() {
return 0
;;
innernet__enable__peer)
opts="-h --help <INTERFACE>"
opts="-h --name --yes --help <INTERFACE>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet.completions.elvish
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,14 @@ set edit:completion:arg-completer[innernet] = {|@words|
cand --help 'Print help'
}
&'innernet;disable-peer'= {
cand --name 'Name of peer to enable/disable'
cand --yes 'Bypass confirmation'
cand -h 'Print help'
cand --help 'Print help'
}
&'innernet;enable-peer'= {
cand --name 'Name of peer to enable/disable'
cand --yes 'Bypass confirmation'
cand -h 'Print help'
cand --help 'Print help'
}
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet.completions.fish
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ complete -c innernet -n "__fish_seen_subcommand_from delete-cidr" -l yes -d 'Byp
complete -c innernet -n "__fish_seen_subcommand_from delete-cidr" -s h -l help -d 'Print help'
complete -c innernet -n "__fish_seen_subcommand_from list-cidrs" -s t -l tree -d 'Display CIDRs in tree format'
complete -c innernet -n "__fish_seen_subcommand_from list-cidrs" -s h -l help -d 'Print help'
complete -c innernet -n "__fish_seen_subcommand_from disable-peer" -l name -d 'Name of peer to enable/disable' -r
complete -c innernet -n "__fish_seen_subcommand_from disable-peer" -l yes -d 'Bypass confirmation'
complete -c innernet -n "__fish_seen_subcommand_from disable-peer" -s h -l help -d 'Print help'
complete -c innernet -n "__fish_seen_subcommand_from enable-peer" -l name -d 'Name of peer to enable/disable' -r
complete -c innernet -n "__fish_seen_subcommand_from enable-peer" -l yes -d 'Bypass confirmation'
complete -c innernet -n "__fish_seen_subcommand_from enable-peer" -s h -l help -d 'Print help'
complete -c innernet -n "__fish_seen_subcommand_from add-association" -l yes -d 'Bypass confirmation'
complete -c innernet -n "__fish_seen_subcommand_from add-association" -s h -l help -d 'Print help'
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet.completions.powershell
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,15 @@ Register-ArgumentCompleter -Native -CommandName 'innernet' -ScriptBlock {
break
}
'innernet;disable-peer' {
[CompletionResult]::new('--name', 'name', [CompletionResultType]::ParameterName, 'Name of peer to enable/disable')
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help')
break
}
'innernet;enable-peer' {
[CompletionResult]::new('--name', 'name', [CompletionResultType]::ParameterName, 'Name of peer to enable/disable')
[CompletionResult]::new('--yes', 'yes', [CompletionResultType]::ParameterName, 'Bypass confirmation')
[CompletionResult]::new('-h', 'h', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('--help', 'help', [CompletionResultType]::ParameterName, 'Print help')
break
Expand Down
4 changes: 4 additions & 0 deletions doc/innernet.completions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,17 @@ _arguments "${_arguments_options[@]}" \
;;
(disable-peer)
_arguments "${_arguments_options[@]}" \
'--name=[Name of peer to enable/disable]:NAME: ' \
'--yes[Bypass confirmation]' \
'-h[Print help]' \
'--help[Print help]' \
':interface:' \
&& ret=0
;;
(enable-peer)
_arguments "${_arguments_options[@]}" \
'--name=[Name of peer to enable/disable]:NAME: ' \
'--yes[Bypass confirmation]' \
'-h[Print help]' \
'--help[Print help]' \
':interface:' \
Expand Down
2 changes: 1 addition & 1 deletion netlink-request/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "netlink-request"
version = "1.6.1"
version = "2.0.0"
edition = "2021"

[target.'cfg(target_os = "linux")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "server"
publish = false
readme = "README.md"
repository = "https://github.com/tonarino/innernet"
version = "1.6.1"
version = "2.0.0"

[[bin]]
name = "innernet-server"
Expand Down
2 changes: 1 addition & 1 deletion shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
license = "MIT"
name = "shared"
publish = false
version = "1.6.1"
version = "2.0.0"

[dependencies]
anyhow = "1"
Expand Down
2 changes: 1 addition & 1 deletion wireguard-control/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "LGPL-2.1-or-later"
name = "wireguard-control"
readme = "README.md"
repository = "https://github.com/tonarino/innernet"
version = "1.6.1"
version = "2.0.0"

[dependencies]
base64 = "0.13.1"
Expand Down

0 comments on commit b7e0fd6

Please sign in to comment.