Now that the 0.3 series is published, it has the finale structure:
- split between daemon and server. Calls are done via GRPC over an Unix socket.
- use polkit for authorization with various levels of actions. Full spec is at
https://docs.google.com/document/d/1oV5-ef-fqzML4MGd2LAHRcLdR0USKkOmrJW-AP0CmC4/edit#heading=h.dsunaoafgyat
(page 23/24/25). We use SO_PEERCRED on the unix socket to get uid and pid of
caller. All this is covered by tests.
- man page autogenerated and updated when updating the pacakge
- advanced shell completion (meaning: autogenerated, even complete hidden
commands subcommands once fully typed)
- updated README on the upstream project
- i18n support.
On the vendoring question, note that with go 1.13, we can know which are the
real dependencies for the binary (exact commit):
$ go version -m zsysd
...
dep github.com/bicomsystems/go-libzfs
v0.2.2-0.20190807094932-e50663fa5901
h1:+aBHo0MRYykwJKlV35t/PpU+P4LAgxaAUQKKWueHWlg=
dep github.com/coreos/go-systemd
v0.0.0-20190719114852-fd7a80b32e1f
h1:JOrtw2xFKzlg+cbHpyrpLDmnN1HqhBfnX7WDiW7eG2c=
dep github.com/godbus/dbus/v5 v5.0.3
h1:ZqHaoEF7TBzh4jzPmqVhE/5A1z9of6orkAe5uHoAeME=
dep github.com/golang/protobuf v1.3.2
h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs=
dep github.com/k0kubun/pp v3.0.1+incompatible
h1:3tqvf7QgUnZ5tXO6pNAZlrvHgl6DvifjDrd9g2S9Z40=
dep github.com/mattn/go-colorable v0.1.2
h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
dep github.com/mattn/go-isatty v0.0.8
h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
dep github.com/sirupsen/logrus v1.4.2
h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
dep github.com/snapcore/go-gettext
v0.0.0-20190812090936-a77afd68d2bd
h1:U17xEhsgCRqPKZAad3eyuHIb6zEkhCBf1auyeCgzWHM=
dep github.com/spf13/cobra v0.0.5
h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s=
dep github.com/spf13/pflag v1.0.3
h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
dep golang.org/x/net v0.0.0-20191002035440-2ec189313ef0
h1:2mqDk8w/o6UmeUCu5Qiq2y7iMf6anbx+YA8d1JFoFrs=
dep golang.org/x/sys v0.0.0-20191002091554-b397fe3ad8ed
h1:5TJcLJn2a55mJjzYk0yOoqN8X1OdvBDUnaZaKKyQtkY=
dep golang.org/x/text v0.3.2
h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
dep google.golang.org/genproto
v0.0.0-20191002211648-c459b9ce5143
h1:tikhlQEJeezbnu0Zcblj7g5vm/L7xt6g1vnfq8mRCS4=
dep google.golang.org/grpc v1.24.0
h1:vb/1TCsVn3DcJlQ0Gs1yB1pKI6Do2/QNwxdKqmc/b0s=
So, while the debian packaging system will make us MIR more than 60
packages (due to dependencies of dependencies, even if not used in
finale binary), the real binary only use 16 of them (quite well known
and maintained). We require specific version of them due to bug fixes,
like dbus v5, go-libzfs specific commit, and so on.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839271
Title:
[MIR] zsys
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsys/+bug/1839271/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs