From 15af685fd348972e4b44eb93c640a65986d098e7 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Wed, 25 Dec 2019 17:36:10 +0900 Subject: [PATCH] Add back features --- zomp/etc/version.txt | 2 +- zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/Emakefile | 0 zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/LICENSE | 0 zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/ebin/zx.app | 4 +- .../zx/{0.4.1 => 0.5.0}/include/zx_logger.hrl | 0 zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/make_zx | 0 zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx.erl | 15 +++- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_auth.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_conn.erl | 2 +- .../zx/{0.4.1 => 0.5.0}/src/zx_conn_sup.erl | 2 +- .../zx/{0.4.1 => 0.5.0}/src/zx_daemon.erl | 14 +++- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_key.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_lib.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_local.erl | 84 +++++++++++++------ .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_net.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_peer.erl | 2 +- .../zx/{0.4.1 => 0.5.0}/src/zx_peer_man.erl | 2 +- .../zx/{0.4.1 => 0.5.0}/src/zx_peer_sup.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_peers.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_proxy.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_sup.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_tty.erl | 2 +- .../zx/{0.4.1 => 0.5.0}/src/zx_userconf.erl | 2 +- .../otpr/zx/{0.4.1 => 0.5.0}/src/zx_zsp.erl | 2 +- .../zx/{0.4.1 => 0.5.0}/templates/Emakefile | 0 .../templates/boringlib/funfile.erl | 0 .../zx/{0.4.1 => 0.5.0}/templates/escript | 0 .../templates/example_server/appmod.erl | 0 .../templates/example_server/client.erl | 0 .../templates/example_server/client_man.erl | 0 .../templates/example_server/client_sup.erl | 0 .../templates/example_server/clients.erl | 0 .../templates/example_server/src/client.erl | 0 .../example_server/src/client_man.erl | 0 .../example_server/src/client_sup.erl | 0 .../templates/example_server/src/clients.erl | 0 .../templates/example_server/src/sup.erl | 0 .../templates/example_server/sup.erl | 0 .../zx/{0.4.1 => 0.5.0}/templates/gitignore | 0 .../templates/hellowx/appmod.erl | 0 .../templates/hellowx/src/con.erl | 0 .../templates/hellowx/src/gui.erl | 0 .../templates/hellowx/src/sup.erl | 0 .../templates/licenses/apache2.txt | 0 .../templates/licenses/bsd2.txt | 0 .../templates/licenses/bsd3.txt | 0 .../templates/licenses/cc0.txt | 0 .../templates/licenses/gpl3.txt | 0 .../templates/licenses/lgpl3.txt | 0 .../templates/licenses/mit.txt | 0 .../templates/licenses/mpl2.txt | 0 .../{0.4.1 => 0.5.0}/templates/simplecli.erl | 0 zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/zomp.meta | 6 +- 53 files changed, 104 insertions(+), 51 deletions(-) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/Emakefile (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/LICENSE (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/ebin/zx.app (76%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/include/zx_logger.hrl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/make_zx (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx.erl (98%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_auth.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_conn.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_conn_sup.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_daemon.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_key.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_lib.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_local.erl (97%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_net.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_peer.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_peer_man.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_peer_sup.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_peers.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_proxy.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_sup.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_tty.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_userconf.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/src/zx_zsp.erl (99%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/Emakefile (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/boringlib/funfile.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/escript (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/appmod.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/client.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/client_man.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/client_sup.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/clients.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/src/client.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/src/client_man.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/src/client_sup.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/src/clients.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/src/sup.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/example_server/sup.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/gitignore (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/hellowx/appmod.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/hellowx/src/con.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/hellowx/src/gui.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/hellowx/src/sup.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/apache2.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/bsd2.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/bsd3.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/cc0.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/gpl3.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/lgpl3.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/mit.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/licenses/mpl2.txt (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/templates/simplecli.erl (100%) rename zomp/lib/otpr/zx/{0.4.1 => 0.5.0}/zomp.meta (67%) diff --git a/zomp/etc/version.txt b/zomp/etc/version.txt index 267577d..8f0916f 100644 --- a/zomp/etc/version.txt +++ b/zomp/etc/version.txt @@ -1 +1 @@ -0.4.1 +0.5.0 diff --git a/zomp/lib/otpr/zx/0.4.1/Emakefile b/zomp/lib/otpr/zx/0.5.0/Emakefile similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/Emakefile rename to zomp/lib/otpr/zx/0.5.0/Emakefile diff --git a/zomp/lib/otpr/zx/0.4.1/LICENSE b/zomp/lib/otpr/zx/0.5.0/LICENSE similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/LICENSE rename to zomp/lib/otpr/zx/0.5.0/LICENSE diff --git a/zomp/lib/otpr/zx/0.4.1/ebin/zx.app b/zomp/lib/otpr/zx/0.5.0/ebin/zx.app similarity index 76% rename from zomp/lib/otpr/zx/0.4.1/ebin/zx.app rename to zomp/lib/otpr/zx/0.5.0/ebin/zx.app index 151843f..c3cd6eb 100644 --- a/zomp/lib/otpr/zx/0.4.1/ebin/zx.app +++ b/zomp/lib/otpr/zx/0.5.0/ebin/zx.app @@ -1,6 +1,6 @@ {application,zx, - [{description,"A Zomp user client"}, - {vsn,"0.4.1"}, + [{description,"An Erlang development tool and Zomp user client"}, + {vsn,"0.5.0"}, {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, diff --git a/zomp/lib/otpr/zx/0.4.1/include/zx_logger.hrl b/zomp/lib/otpr/zx/0.5.0/include/zx_logger.hrl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/include/zx_logger.hrl rename to zomp/lib/otpr/zx/0.5.0/include/zx_logger.hrl diff --git a/zomp/lib/otpr/zx/0.4.1/make_zx b/zomp/lib/otpr/zx/0.5.0/make_zx similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/make_zx rename to zomp/lib/otpr/zx/0.5.0/make_zx diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx.erl b/zomp/lib/otpr/zx/0.5.0/src/zx.erl similarity index 98% rename from zomp/lib/otpr/zx/0.4.1/src/zx.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx.erl index 1ef632f..c4e2288 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx.erl @@ -24,7 +24,7 @@ %%% @end -module(zx). --vsn("0.4.1"). +-vsn("0.5.0"). -behavior(application). -author("Craig Everett "). -copyright("Craig Everett "). @@ -199,6 +199,12 @@ do(["set", "version", VersionString]) -> do(["provides", Module]) -> ok = zx_daemon:connect(), done(zx_local:provides(Module)); +do(["search"]) -> + done(help(user)); +do(["search" | Terms]) -> + ok = zx_daemon:connect(), + Strings = string:join(Terms, " "), + done(zx_local:search(Strings)); do(["update", "meta"]) -> done(zx_local:update_meta()); do(["update", ".app"]) -> @@ -809,8 +815,11 @@ execute(cli, PackageID, Meta, Dir, RunArgs) -> AppTag = list_to_atom(Name), {ok, _} = application:ensure_all_started(AppTag), case maps:get(mod, Meta, none) of - none -> {error, "No executable module"}; - Mod -> Mod:start(RunArgs) + none -> + {error, "No executable module"}; + ModName -> + Mod = list_to_atom(ModName), + Mod:start(RunArgs) end; execute(Type, PackageID, Meta, Dir, RunArgs) -> {ok, PackageString} = zx_lib:package_string(PackageID), diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_auth.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_auth.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_auth.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_auth.erl index a2fcbd2..6c3d361 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_auth.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_auth.erl @@ -9,7 +9,7 @@ %%% @end -module(zx_auth). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_conn.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_conn.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_conn.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_conn.erl index 8185720..8cd08fb 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_conn.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_conn.erl @@ -7,7 +7,7 @@ %%% @end -module(zx_conn). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_conn_sup.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_conn_sup.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_conn_sup.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_conn_sup.erl index 7ed9046..6bd4eed 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_conn_sup.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_conn_sup.erl @@ -5,7 +5,7 @@ %%% @end -module(zx_conn_sup). --vsn("0.4.1"). +-vsn("0.5.0"). -behavior(supervisor). -author("Craig Everett "). -copyright("Craig Everett "). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_daemon.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_daemon.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_daemon.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_daemon.erl index 2fb68aa..8743535 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_daemon.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_daemon.erl @@ -138,7 +138,7 @@ %%% @end -module(zx_daemon). --vsn("0.4.1"). +-vsn("0.5.0"). -behavior(gen_server). -author("Craig Everett "). -copyright("Craig Everett "). @@ -148,7 +148,7 @@ -export([pass_meta/3, argv/0, subscribe/1, unsubscribe/1, list/0, list/1, list/2, list/3, latest/1, - describe/1, provides/2, list_deps/1, + describe/1, provides/2, list_deps/1, search/2, list_sysops/1, fetch/1, install/1, build/1, wait_result/1, wait_results/1]). @@ -489,6 +489,15 @@ provides(Realm, Module) -> request({provides, Realm, Module}). +-spec search(Realm, String) -> {ok, RequestID} + when Realm :: zx:realm(), + String :: string(), + RequestID :: integer(). + +search(Realm, String) -> + request({search, Realm, String}). + + -spec list_deps(PackageID) -> {ok, RequestID} when PackageID :: zx:package_id(), RequestID :: integer(). @@ -1366,6 +1375,7 @@ local_request(R, {latest, N}) -> zomp_realm:latest(R, N); local_request(R, {latest, N, V}) -> zomp_realm:latest(R, {N, V}); local_request(R, {describe, N, V}) -> zomp_realm:describe(R, {N, V}); local_request(R, {provides, M}) -> zomp_realm:provides(R, M); +local_request(R, {search, S}) -> zomp_realm:search(R, S); local_request(R, {list_deps, N, V}) -> zomp_realm:list_deps(R, {N, V}); local_request(R, {list_sysops}) -> zomp_realm:list_sysops(R). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_key.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_key.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_key.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_key.erl index f0db252..09b9e8f 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_key.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_key.erl @@ -8,7 +8,7 @@ %%% @end -module(zx_key). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_lib.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_lib.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_lib.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_lib.erl index 81d9280..26ae69e 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_lib.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_lib.erl @@ -10,7 +10,7 @@ %%% @end -module(zx_lib). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_local.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_local.erl similarity index 97% rename from zomp/lib/otpr/zx/0.4.1/src/zx_local.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_local.erl index 829fa58..dbc69ab 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_local.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_local.erl @@ -6,14 +6,14 @@ %%% @end -module(zx_local). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). -export([initialize/0, set_version/1, list_realms/0, list_packages/1, list_versions/1, - latest/1, describe/1, provides/1, + latest/1, describe/1, provides/1, search/1, list_sysops/1, set_dep/1, list_deps/0, list_deps/1, drop_dep/1, verup/1, package/1, update_meta/0, update_app_file/0, @@ -89,7 +89,7 @@ initialize(P = #project{type = lib, id = none}) -> initialize(P#project{id = ask_package_id()}); initialize(P = #project{id = none}) -> ID = {_, Name, _} = ask_package_id(), - initialize(P#project{id = ID, appmod = list_to_atom(Name)}); + initialize(P#project{id = ID, appmod = Name}); initialize(P = #project{prefix = none}) -> initialize(P#project{prefix = ask_prefix()}); initialize(P = #project{type = app, appmod = none}) -> @@ -202,7 +202,7 @@ initialize(P = #project{type = Type, "[ 7] Copyright Holder's Email: ~ts~n" "[ 8] License : ~ts~n" "[ 9] Prefix : ~ts~n" - "[10] AppMod : ~tw~n" + "[10] AppMod : ~ts~n" "[11] Repo URL : ~ts~n" "[12] Website URL : ~ts~n" "[13] Description : ~ts~n" @@ -279,7 +279,7 @@ zompify(P = #project{type = Type, appmod = AM, module = Module, deps = Deps}) -> - ok = initialize_app_file(ID, AM, Type, Desc), + ok = initialize_app_file(ID, list_to_atom(AM), Type, Desc), Simple = #{type => Type, package_id => ID, @@ -432,7 +432,6 @@ initialize_app_file({_, Name, Version}, AppMod, Type, Desc) -> end, Grep = "grep -oP '^-module\\(\\K[^)]+' src/* | cut -d: -f2", Modules = [list_to_atom(M) || M <- string:lexemes(os:cmd(Grep), "\n")], - tell("AppMod: ~p", [AppMod]), Properties = case (Type == cli) or (Type == lib) of true -> @@ -823,15 +822,50 @@ provides(Module) -> {ok, ID} = zx_daemon:provides(Realm, Module), ID end, - IDs = [MakeRequest(R) || R <- Realms], + Index = [{MakeRequest(R), R} || R <- Realms], + IDs = [element(1, I) || I <- Index], case zx_daemon:wait_results(IDs) of - {ok, Results} -> - Packages = lists:append([R || {_, {ok, R}} <- Results]), - lists:foreach(fun print_packages/1, Packages); - Error -> - Error + {ok, Results} -> provides2(lists:sort(Index), lists:sort(Results)); + Error -> Error end. +provides2([{ID, Realm} | Index], [{ID, {ok, Packages}} | Results]) -> + FormID = fun({Name, Version}) -> {Realm, Name, Version} end, + ok = lists:foreach(fun print_packages/1, lists:map(FormID, lists:sort(Packages))), + provides2(Index, Results); +provides2([{ID, Realm} | Index], [{ID, Error} | Results]) -> + ok = tell(warning, "Received weird result from ~p: ~p", [Realm, Error]), + provides2(Index, Results); +provides2([], []) -> + ok. + + +search(String) -> + Realms = zx_lib:list_realms(), + MakeRequest = + fun(Realm) -> + {ok, ID} = zx_daemon:search(Realm, String), + ID + end, + Index = [{MakeRequest(R), R} || R <- Realms], + IDs = [element(1, I) || I <- Index], + case zx_daemon:wait_results(IDs) of + {ok, Results} -> search2(lists:sort(Index), lists:sort(Results)); + Error -> Error + end. + +search2([{ID, Realm} | Index], [{ID, {ok, Packages}} | Results]) -> + FormIDs = fun({Name, Versions}) -> [{Realm, Name, V} || V <- Versions] end, + Print = fun(PackageIDs) -> lists:foreach(fun print_packages/1, PackageIDs) end, + ok = lists:foreach(Print, lists:map(FormIDs, lists:sort(Packages))), + search2(Index, Results); +search2([{ID, Realm} | Index], [{ID, Error} | Results]) -> + ok = tell(warning, "Received weird result from ~p: ~p", [Realm, Error]), + search2(Index, Results); +search2([], []) -> + ok. + + print_packages(PackageID) -> {ok, PackageString} = zx_lib:package_string(PackageID), io:format("~ts~n", [PackageString]). @@ -1127,10 +1161,10 @@ create(P = #project{type = escript, id = none}) -> create(P#project{id = ask_script_name()}); create(P = #project{type = lib, id = none}) -> ID = {_, Module, _} = ask_package_id(), - create(P#project{id = ID, module = list_to_atom(Module)}); + create(P#project{id = ID, module = Module}); create(P = #project{id = none}) -> ID = {_, AppMod, _} = ask_package_id(), - create(P#project{id = ID, appmod = list_to_atom(AppMod)}); + create(P#project{id = ID, appmod = AppMod}); create(P = #project{prefix = none}) -> create(P#project{prefix = ask_prefix()}); create(P = #project{type = app, appmod = none}) -> @@ -1187,7 +1221,7 @@ create(P = #project{type = lib, "[ 7] Copyright Holder's Email: ~ts~n" "[ 8] License : ~ts~n" "[ 9] Prefix : ~ts~n" - "[10] Module : ~tw~n" + "[10] Module : ~ts~n" "[11] Repo URL : ~ts~n" "[12] Website URL : ~ts~n" "[13] Description : ~ts~n" @@ -1242,7 +1276,7 @@ create(P = #project{type = cli, "[ 7] Copyright Holder's Email: ~ts~n" "[ 8] License : ~ts~n" "[ 9] Prefix : ~ts~n" - "[10] Module : ~tw~n" + "[10] Module : ~ts~n" "[11] Repo URL : ~ts~n" "[12] Website URL : ~ts~n" "[13] Description : ~ts~n" @@ -1336,7 +1370,7 @@ create(P = #project{type = Type, "[ 7] Copyright Holder's Email: ~ts~n" "[ 8] License : ~ts~n" "[ 9] Prefix : ~ts~n" - "[10] AppMod : ~tw~n" + "[10] AppMod : ~ts~n" "[11] Repo URL : ~ts~n" "[12] Website URL : ~ts~n" "[13] Description : ~ts~n" @@ -1447,13 +1481,13 @@ munge_sources(#project{type = lib, {ok, ProjectDir} = file:get_cwd(), Substitutions = [{"〘\*PROJECT NAME\*〙", Name}, - {"〘\*MODULE\*〙", atom_to_list(Module)}, + {"〘\*MODULE\*〙", Module}, {"〘\*AUTHOR\*〙", author(Credit, AEmail)}, {"〘\*COPYRIGHT\*〙", copyright(Holder, CEmail)}, {"〘\*LICENSE\*〙", license(Title)}], TemplateDir = filename:join([os:getenv("ZX_DIR"), "templates", "boringlib"]), ok = file:set_cwd("src"), - ModFile = atom_to_list(Module) ++ ".erl", + ModFile = Module ++ ".erl", {ok, RawMod} = file:read_file(filename:join(TemplateDir, "funfile.erl")), UTF8Mod = unicode:characters_to_list(RawMod, utf8), CookedMod = substitute(UTF8Mod, Substitutions), @@ -1472,13 +1506,13 @@ munge_sources(#project{type = cli, {ok, ProjectDir} = file:get_cwd(), Substitutions = [{"〘\*PROJECT NAME\*〙", Name}, - {"〘\*MODULE\*〙", atom_to_list(Module)}, + {"〘\*MODULE\*〙", Module}, {"〘\*AUTHOR\*〙", author(Credit, AEmail)}, {"〘\*COPYRIGHT\*〙", copyright(Holder, CEmail)}, {"〘\*LICENSE\*〙", license(Title)}], TemplateDir = filename:join([os:getenv("ZX_DIR"), "templates"]), ok = file:set_cwd("src"), - ModFile = atom_to_list(Module) ++ ".erl", + ModFile = Module ++ ".erl", {ok, RawMod} = file:read_file(filename:join(TemplateDir, "simplecli.erl")), UTF8Mod = unicode:characters_to_list(RawMod, utf8), CookedMod = substitute(UTF8Mod, Substitutions), @@ -1499,7 +1533,7 @@ munge_sources(#project{type = Type, Substitutions = [{"〘\*PROJECT NAME\*〙", Name}, {"〘\*PREFIX\*〙", Prefix}, - {"〘\*APP MOD\*〙", atom_to_list(AppMod)}, + {"〘\*APP MOD\*〙", AppMod}, {"〘\*AUTHOR\*〙", author(Credit, AEmail)}, {"〘\*COPYRIGHT\*〙", copyright(Holder, CEmail)}, {"〘\*LICENSE\*〙", license(License)}], @@ -1510,7 +1544,7 @@ munge_sources(#project{type = Type, end, TemplateDir = filename:join([os:getenv("ZX_DIR"), "templates", Template]), ok = file:set_cwd("src"), - AppModFile = atom_to_list(AppMod) ++ ".erl", + AppModFile = AppMod ++ ".erl", {ok, RawAppMod} = file:read_file(filename:join(TemplateDir, "appmod.erl")), UTF8AppMod = unicode:characters_to_list(RawAppMod, utf8), CookedAppMod = substitute(UTF8AppMod, Substitutions), @@ -1691,7 +1725,7 @@ ask_appmod() -> "~nAPPLICATION MODULE~n" "Enter the name of your main/start interface module where the application " "callback start/2 has been defined.~n", - list_to_atom(zx_tty:get_lower0_9(Instructions)). + zx_tty:get_lower0_9(Instructions). -spec ask_module() -> atom() | no_return(). @@ -1700,7 +1734,7 @@ ask_module() -> Instructions = "~nINTERFACE MODULE~n" "Enter the name of the library's initial interface module.~n", - list_to_atom(zx_tty:get_lower0_9(Instructions)). + zx_tty:get_lower0_9(Instructions). -spec package_exists(zx:package_id()) -> boolean(). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_net.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_net.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_net.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_net.erl index 01a0a1f..ccaff5a 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_net.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_net.erl @@ -5,7 +5,7 @@ %%% @end -module(zx_net). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_peer.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_peer.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_peer.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_peer.erl index 91303f7..794dccc 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_peer.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_peer.erl @@ -8,7 +8,7 @@ %%% @end -module(zx_peer). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_peer_man.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_peer_man.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_peer_man.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_peer_man.erl index 94db313..1ed9141 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_peer_man.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_peer_man.erl @@ -9,7 +9,7 @@ %%% @end -module(zx_peer_man). --vsn("0.4.1"). +-vsn("0.5.0"). -behavior(gen_server). -author("Craig Everett "). -copyright("Craig Everett "). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_peer_sup.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_peer_sup.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_peer_sup.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_peer_sup.erl index b76c922..cfafee0 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_peer_sup.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_peer_sup.erl @@ -6,7 +6,7 @@ %%% @end -module(zx_peer_sup). --vsn("0.4.1"). +-vsn("0.5.0"). -behaviour(supervisor). -author("Craig Everett "). -copyright("Craig Everett "). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_peers.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_peers.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_peers.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_peers.erl index ce6fafc..ddff3c3 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_peers.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_peers.erl @@ -10,7 +10,7 @@ %%% @end -module(zx_peers). --vsn("0.4.1"). +-vsn("0.5.0"). -behavior(supervisor). -author("Craig Everett "). -copyright("Craig Everett "). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_proxy.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_proxy.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_proxy.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_proxy.erl index 5d2862e..099cf92 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_proxy.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_proxy.erl @@ -5,7 +5,7 @@ %%% @end -module(zx_proxy). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_sup.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_sup.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_sup.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_sup.erl index e37dec5..20339b0 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_sup.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_sup.erl @@ -5,7 +5,7 @@ %%% @end -module(zx_sup). --vsn("0.4.1"). +-vsn("0.5.0"). -behavior(supervisor). -author("Craig Everett "). -copyright("Craig Everett "). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_tty.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_tty.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_tty.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_tty.erl index 5ae4599..2623705 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_tty.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_tty.erl @@ -6,7 +6,7 @@ %%% @end -module(zx_tty). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_userconf.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_userconf.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_userconf.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_userconf.erl index b225a4c..fa00db6 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_userconf.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_userconf.erl @@ -5,7 +5,7 @@ %%% @end -module(zx_userconf). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/src/zx_zsp.erl b/zomp/lib/otpr/zx/0.5.0/src/zx_zsp.erl similarity index 99% rename from zomp/lib/otpr/zx/0.4.1/src/zx_zsp.erl rename to zomp/lib/otpr/zx/0.5.0/src/zx_zsp.erl index 8e4d209..8e7597a 100644 --- a/zomp/lib/otpr/zx/0.4.1/src/zx_zsp.erl +++ b/zomp/lib/otpr/zx/0.5.0/src/zx_zsp.erl @@ -7,7 +7,7 @@ %%% @end -module(zx_zsp). --vsn("0.4.1"). +-vsn("0.5.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("GPL-3.0"). diff --git a/zomp/lib/otpr/zx/0.4.1/templates/Emakefile b/zomp/lib/otpr/zx/0.5.0/templates/Emakefile similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/Emakefile rename to zomp/lib/otpr/zx/0.5.0/templates/Emakefile diff --git a/zomp/lib/otpr/zx/0.4.1/templates/boringlib/funfile.erl b/zomp/lib/otpr/zx/0.5.0/templates/boringlib/funfile.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/boringlib/funfile.erl rename to zomp/lib/otpr/zx/0.5.0/templates/boringlib/funfile.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/escript b/zomp/lib/otpr/zx/0.5.0/templates/escript similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/escript rename to zomp/lib/otpr/zx/0.5.0/templates/escript diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/appmod.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/appmod.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/appmod.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/appmod.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/client.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/client.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/client.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/client.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/client_man.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/client_man.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/client_man.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/client_man.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/client_sup.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/client_sup.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/client_sup.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/client_sup.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/clients.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/clients.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/clients.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/clients.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/src/client.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/src/client.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/src/client.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/src/client.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/src/client_man.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/src/client_man.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/src/client_man.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/src/client_man.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/src/client_sup.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/src/client_sup.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/src/client_sup.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/src/client_sup.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/src/clients.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/src/clients.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/src/clients.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/src/clients.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/src/sup.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/src/sup.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/src/sup.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/src/sup.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/example_server/sup.erl b/zomp/lib/otpr/zx/0.5.0/templates/example_server/sup.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/example_server/sup.erl rename to zomp/lib/otpr/zx/0.5.0/templates/example_server/sup.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/gitignore b/zomp/lib/otpr/zx/0.5.0/templates/gitignore similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/gitignore rename to zomp/lib/otpr/zx/0.5.0/templates/gitignore diff --git a/zomp/lib/otpr/zx/0.4.1/templates/hellowx/appmod.erl b/zomp/lib/otpr/zx/0.5.0/templates/hellowx/appmod.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/hellowx/appmod.erl rename to zomp/lib/otpr/zx/0.5.0/templates/hellowx/appmod.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/hellowx/src/con.erl b/zomp/lib/otpr/zx/0.5.0/templates/hellowx/src/con.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/hellowx/src/con.erl rename to zomp/lib/otpr/zx/0.5.0/templates/hellowx/src/con.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/hellowx/src/gui.erl b/zomp/lib/otpr/zx/0.5.0/templates/hellowx/src/gui.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/hellowx/src/gui.erl rename to zomp/lib/otpr/zx/0.5.0/templates/hellowx/src/gui.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/hellowx/src/sup.erl b/zomp/lib/otpr/zx/0.5.0/templates/hellowx/src/sup.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/hellowx/src/sup.erl rename to zomp/lib/otpr/zx/0.5.0/templates/hellowx/src/sup.erl diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/apache2.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/apache2.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/apache2.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/apache2.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/bsd2.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/bsd2.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/bsd2.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/bsd2.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/bsd3.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/bsd3.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/bsd3.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/bsd3.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/cc0.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/cc0.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/cc0.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/cc0.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/gpl3.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/gpl3.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/gpl3.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/gpl3.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/lgpl3.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/lgpl3.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/lgpl3.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/lgpl3.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/mit.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/mit.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/mit.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/mit.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/licenses/mpl2.txt b/zomp/lib/otpr/zx/0.5.0/templates/licenses/mpl2.txt similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/licenses/mpl2.txt rename to zomp/lib/otpr/zx/0.5.0/templates/licenses/mpl2.txt diff --git a/zomp/lib/otpr/zx/0.4.1/templates/simplecli.erl b/zomp/lib/otpr/zx/0.5.0/templates/simplecli.erl similarity index 100% rename from zomp/lib/otpr/zx/0.4.1/templates/simplecli.erl rename to zomp/lib/otpr/zx/0.5.0/templates/simplecli.erl diff --git a/zomp/lib/otpr/zx/0.4.1/zomp.meta b/zomp/lib/otpr/zx/0.5.0/zomp.meta similarity index 67% rename from zomp/lib/otpr/zx/0.4.1/zomp.meta rename to zomp/lib/otpr/zx/0.5.0/zomp.meta index 8903a19..fbeb084 100644 --- a/zomp/lib/otpr/zx/0.4.1/zomp.meta +++ b/zomp/lib/otpr/zx/0.5.0/zomp.meta @@ -3,14 +3,14 @@ {c_email,"zxq9@zxq9.com"}. {copyright,"Craig Everett"}. {deps,[]}. -{desc,"A Zomp user client"}. +{desc,"An Erlang development tool and Zomp user client"}. {key_name,none}. {license,"MIT"}. {modules,[]}. {name,"zx"}. -{package_id,{"otpr","zx",{0,4,1}}}. +{package_id,{"otpr","zx",{0,5,0}}}. {prefix,"zx_"}. {repo_url,"https://gitlab.com/zxq9/zx"}. -{tags,["package manager","erlang"]}. +{tags,["tools","package manager","erlang"]}. {type,app}. {ws_url,"https://zxq9.com/projects/zomp/"}.