Patch version increase
This commit is contained in:
parent
6c1ff3562b
commit
9f1763ec1c
@ -1 +1 @@
|
||||
0.9.0
|
||||
0.9.1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{application,zx,
|
||||
[{description,"An Erlang development tool and Zomp user client"},
|
||||
{vsn,"0.9.0"},
|
||||
{vsn,"0.9.1"},
|
||||
{applications,[stdlib,kernel]},
|
||||
{modules,[zx,zx_auth,zx_conn,zx_conn_sup,zx_daemon,zx_key,
|
||||
zx_lib,zx_local,zx_net,zx_peer,zx_peer_man,
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@ -24,7 +24,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behavior(application).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -9,7 +9,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_auth).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -7,7 +7,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_conn).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -5,7 +5,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_conn_sup).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behavior(supervisor).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -138,7 +138,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_daemon).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behavior(gen_server).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -1952,16 +1952,16 @@ do_register_key2(Realm, UC = #{keys := Keys}, KeyData = {KeyHash, _, _}) ->
|
||||
|
||||
do_register_key3(Realm, {KeyHash, none, {_, Key}}) ->
|
||||
ok = zx_key:save_bin(private, {Realm, KeyHash}, Key),
|
||||
tell(info, "Imported user record locally, including a PRIVATE key.");
|
||||
tell(info, "Imported record locally, including a PRIVATE key.");
|
||||
do_register_key3(Realm, {KeyHash, {_, Pub}, none}) ->
|
||||
ok = zx_key:save_bin(public, {Realm, KeyHash}, Pub),
|
||||
tell(info, "Imported user record locally, including a public key.");
|
||||
tell(info, "Imported record locally, including a public key.");
|
||||
do_register_key3(Realm, {KeyHash, {_, Pub}, {_, Key}}) ->
|
||||
ok = zx_key:save_bin(public, {Realm, KeyHash}, Pub),
|
||||
ok = zx_key:save_bin(private, {Realm, KeyHash}, Key),
|
||||
tell(info, "Imported user record locally, including public and PRIVATE keys.");
|
||||
tell(info, "Imported record locally, including public and PRIVATE keys.");
|
||||
do_register_key3(_, {_, none, none}) ->
|
||||
tell(info, "Imported user record locally, but the record included NO keys.").
|
||||
tell(info, "Imported record locally, but the record included NO keys.").
|
||||
|
||||
|
||||
-spec do_get_key(Type, KeyID) -> Result
|
||||
@ -8,7 +8,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_key).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -10,7 +10,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_lib).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -6,7 +6,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_local).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -944,7 +944,9 @@ import_realm2(Data) ->
|
||||
ConfPath = zx_lib:realm_conf(Realm),
|
||||
ok = zx_lib:write_terms(ConfPath, maps:to_list(RealmConf)),
|
||||
KeyHash = maps:get(key, RealmConf),
|
||||
ok = zx_daemon:register_key(Realm, {KeyHash, {none, PubBin}, none}),
|
||||
UserName = element(1, maps:get(sysop, RealmConf)),
|
||||
Sysop = {Realm, UserName},
|
||||
ok = zx_daemon:register_key(Sysop, {KeyHash, {none, PubBin}, none}),
|
||||
tell("Added realm ~ts.", [Realm]);
|
||||
error ->
|
||||
{error, "Invalid .zrf file.", 84}
|
||||
@ -5,7 +5,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_net).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -8,7 +8,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_peer).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -9,7 +9,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_peer_man).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behavior(gen_server).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -6,7 +6,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_peer_sup).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behaviour(supervisor).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -10,7 +10,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_peers).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behavior(supervisor).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -5,7 +5,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_proxy).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -5,7 +5,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_sup).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-behavior(supervisor).
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
@ -6,7 +6,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_tty).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -5,7 +5,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_userconf).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -7,7 +7,7 @@
|
||||
%%% @end
|
||||
|
||||
-module(zx_zsp).
|
||||
-vsn("0.9.0").
|
||||
-vsn("0.9.1").
|
||||
-author("Craig Everett <zxq9@zxq9.com>").
|
||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||
-license("GPL-3.0").
|
||||
@ -9,7 +9,7 @@
|
||||
{license,"MIT"}.
|
||||
{modules,[]}.
|
||||
{name,"zx"}.
|
||||
{package_id,{"otpr","zx",{0,9,0}}}.
|
||||
{package_id,{"otpr","zx",{0,9,1}}}.
|
||||
{prefix,"zx_"}.
|
||||
{repo_url,"https://gitlab.com/zxq9/zx"}.
|
||||
{tags,["tools","package manager","erlang"]}.
|
||||
Loading…
x
Reference in New Issue
Block a user