[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44800] [PATCH v2 0/3] publish: Add Avahi support.
From: |
Mathieu Othacehe |
Subject: |
[bug#44800] [PATCH v2 0/3] publish: Add Avahi support. |
Date: |
Tue, 24 Nov 2020 14:21:42 +0100 |
Hello,
Here's a v2 that now provides a complete chain. "guix publish" services that
are started with "--enable-avahi" will be discovered by the "guix-daemon" when
the "--use-local-publish" option is passed.
A new "guix discover" script is used to discover publish services in the
background. I have tested this setup by starting a guix-publish server in a
VM.
As suggested here:
https://guix.gnu.org/blog/2017/reproducible-builds-a-status-update/ the local
publish servers are prefixed to the substitute-url list, so that the daemon
will try to use substitute from the local network first, before falling back
to the CI build farm.
Thanks,
Mathieu
Mathieu Othacehe (3):
Add Avahi support.
publish: Add avahi support.
Use substitute servers on the local network.
Makefile.am | 2 +
configure.ac | 6 +
doc/guix.texi | 13 +++
gnu/packages/package-management.scm | 5 +-
gnu/services/base.scm | 17 ++-
guix/avahi.scm | 170 ++++++++++++++++++++++++++++
guix/scripts/discover.scm | 158 ++++++++++++++++++++++++++
guix/scripts/publish.scm | 24 ++++
guix/scripts/substitute.scm | 11 +-
guix/self.scm | 9 +-
nix/libstore/globals.cc | 1 +
nix/libstore/globals.hh | 4 +
nix/nix-daemon/guix-daemon.cc | 20 ++++
13 files changed, 433 insertions(+), 7 deletions(-)
create mode 100644 guix/avahi.scm
create mode 100644 guix/scripts/discover.scm
--
2.29.2
[bug#44800] [PATCH v2 2/3] publish: Add avahi support., Mathieu Othacehe, 2020/11/24
[bug#44800] [PATCH v2 3/3] Use substitute servers on the local network., Mathieu Othacehe, 2020/11/24