Commit graph

102342 commits

Author SHA1 Message Date
Lars-Dominik Braun
9943bbfaa1
etc: teams: Define python team scope.
* etc/teams.scm.in (python): Define it.
2022-09-25 12:42:11 +02:00
Lars-Dominik Braun
b6aef666d9
etc: teams: Define haskell team scope.
* etc/teams.scm.in (haskell): Define it.
2022-09-25 12:42:11 +02:00
Mathieu Othacehe
e842aeb8c1
doc: Turn example to lisp.
* doc/guix.texi (System Images): Turn example snippets to lisp snippets.
2022-09-25 11:38:11 +02:00
Mathieu Othacehe
506e0aa438
doc: Remove an extra dot.
* doc/guix.texi (System Images): Remove it.
2022-09-25 11:35:09 +02:00
Mathieu Othacehe
2e0fa826c9
etc: installer: Define installer team scope.
* etc/teams.scm.in (installer): Define it.
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
7ca846c8c9
etc: teams: Define core team scope.
* etc/teams.scm.in (core): Define it.
2022-09-25 09:27:59 +02:00
Liliana Marie Prikler
b1a7a5723b
etc: teams: Add regular expression support to scopes.
* etc/teams.scm (find-teams-by-scope): Differentiate between raw strings
and regexps.  Make raw string matches strict.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
2a66304535
etc: teams: Add scope support.
Add a scope list to each team.  This list defines all the files and
directories that are mentored by the team.

Also add a cc-members command that takes two Git revision strings as input,
add returns the members that should be CC'ed given the files impacted between
the two revisions.

* etc/teams.scm.in (<team>)[scope]: New field.
(team, list-teams): Adapt those procedures.
(find-team-by-scope, diff-revisions): New procedures.
(main): Add a "cc-members" command.
* doc/contributing.texi ("Teams"): Document it.
("Sending a Patch Series"): Adapt it.
2022-09-25 09:27:59 +02:00
Mathieu Othacehe
2784fcf14d
system: images: Add a TODO comment.
* gnu/system/image.scm (system-tarball-image): Add it.
2022-09-25 09:27:35 +02:00
Nicolas Goaziou
b79bdbe2ec
gnu: emacs-piem: Do not propagate B4.
* gnu/packages/emacs-xyz.scm (emacs-piem)[arguments]: Add CONFIGURE phase to
avoid propagating B4.
[inputs]: Add B4.
[propagated-inputs]: Remove B4.
2022-09-24 21:05:11 +02:00
Nicolas Goaziou
ffa8a7129f
gnu: emacs-piem: Fix license.
* gnu/packages/emacs-xyz.scm (emacs-piem)[license]: Set to GPL3+.
2022-09-24 20:58:19 +02:00
conses
f5f8a21cc9
gnu: emacs-slack: Update to ff46d88.
* gnu/packages/emacs-xyz.scm (emacs-slack): Update to ff46d88.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-09-24 20:51:16 +02:00
zimoun
f63696a007
gnu: Add emacs-piem.
* gnu/packages/emacs-xyz.scm (emacs-piem): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-09-24 20:51:16 +02:00
Nicolas Goaziou
30088cab99
gnu: emacs-perspective: Update to 2.18.
* gnu/packages/emacs-xyz.scm (emacs-perspective): Update to 2.18.
2022-09-24 20:51:15 +02:00
Nicolas Goaziou
54e5449df5
gnu: emacs-ement: Update to 0.2.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.2.
2022-09-24 20:51:15 +02:00
Nicolas Goaziou
475c0b6c71
gnu: emacs-mentor: Update to 0.4.
* gnu/packages/emacs-xyz.scm (emacs-mentor): Update to 0.4.
2022-09-24 20:51:15 +02:00
Nicolas Goaziou
829b07cd32
gnu: emacs-subed: Update to 1.0.10.
* gnu/packages/emacs-xyz.scm (emacs-subed): Update to 1.0.10.
2022-09-24 20:51:09 +02:00
Garek Dyszel
d46e955d93
gnu: Add python-icdiff.
* gnu/packages/python-xyz.scm (python-icdiff): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 20:24:52 +02:00
Garek Dyszel
13c1ed6a19
gnu: Add python-editables.
* gnu/packages/python-build.scm (python-editables): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 20:24:50 +02:00
Garek Dyszel
142cccef63
gnu: Add python-version.
* gnu/packages/python-xyz.scm (python-version): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 20:24:49 +02:00
Garek Dyszel
501072af86
gnu: Add coq-mathcomp-bigenough.
* gnu/packages/coq.scm (coq-mathcomp-bigenough): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 20:24:47 +02:00
Garek Dyszel
17098178c1
gnu: Add coq-mathcomp-finmap.
* gnu/packages/coq.scm (coq-mathcomp-finmap): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 20:24:45 +02:00
Garek Dyszel
8371ad6408
gnu: Add ocaml-ansiterminal.
* gnu/packages/ocaml.scm (ocaml-ansiterminal): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 20:24:37 +02:00
Artyom V. Poptsov
fc07082fe3
gnu: Add maven-sisu-plugin.
* gnu/packages/maven.scm (maven-sisu-plugin): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-09-24 19:04:07 +02:00
Ludovic Courtès
b814bdf441
Update NEWS. 2022-09-24 18:08:05 +02:00
kiasoc5
3165c1dd5c
gnu: avizo: Update to 1.2.1.
* gnu/packages/wm.scm (avizo): Update to 1.2.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:06 +02:00
zimoun
7ab5c85f4c
gnu: emacs-lua-mode: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-buttercup-1.25): New variable.
(emacs-lua-mode): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Maxime Devos
736bda211b
gnu: go-ipfs: Unbundle many dependencies.
Tested with "./pre-inst-env guix build go-ipfs" and "make check-system
TESTS=ipfs".

go-github-com-blang-semver is currently out-of-date, so it cannot be unbundled
yet (at least, the build process seems to complain about the version).

* gnu/packages/ipfs.scm (go-ipfs)[source]: Add snippet removing many
bundled dependencies.
[inputs]: Add many inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Maxime Devos
9e4d8c7518
build-system/go: Respect #:imported-modules when cross-compiling.
Previously, #:imported-modules was ignored, causing cross-compilation
failures.  This bug seems seems to have been introduced in
e37dcf63dc.

After this commit, there remain other cross-compilation problems,
e.g. <https://issues.guix.gnu.org/51981> fixes one of them.

* guix/build-system/go.scm (go-cross-build)[builder]: Wrap in
with-imported-modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
M
1cf39c41cf
gnu: Add rot8.
* gnu/packages/rust-apps.scm (rot8): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
M
870422a15e
gnu: Add batsignal.
* gnu/packages/monitoring.scm (batsignal): New variable.

Co-authored-by: ( <paren@disroot.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Wiktor Żelazny
9b4d2147c7
gnu: Add texlive-latex-sidecap.
* gnu/packages/tex.scm (texlive-latex-sidecap): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Wiktor Żelazny
beec17a724
gnu: Add texlive-latex-frankenstein.
* gnu/packages/tex.scm (texlive-latex-frankenstein): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-24 17:59:05 +02:00
Ludovic Courtès
00d5bb5d7f
linux-container: Mark socket pair as SOCK_CLOEXEC.
* gnu/build/linux-container.scm (run-container): Pass SOCK_CLOEXEC to
'socketpair'.
2022-09-24 17:59:04 +02:00
Ludovic Courtès
08023bcab3
substitute: Test behavior with unroutable substitute server addresses.
* tests/substitute.scm (%unroutable-substitute-url): New variable.
("query narinfo signed with authorized key, unroutable URL first")
("substitute, authorized key, first substitute URL is unroutable"): New
tests.
2022-09-24 17:59:04 +02:00
Ludovic Courtès
95e06bc3e1
narinfo: Fix misleading docstring.
The misleading docstring had been here from the start, in commit
cdea30e061.

* guix/narinfo.scm (valid-narinfo?): Fix docstring.
2022-09-24 17:59:04 +02:00
Mathieu Othacehe
20fbc0bb08
gnu: openvswitch: Disable tests.
On berlin the following test fails:

;; 25. bfd.at:268: 25. bfd - bfd decay (bfd.at:268): FAILED (bfd.at:397)

while this one fails on hydra-114:

1040. dpif-netdev - meters (dpif-netdev.at:269): FAILED (dpif-netdev.at:376)

Disable the tests for now.

* gnu/packages/networking.scm (openvswitch)[arguments]: Disable them.
2022-09-24 15:11:35 +02:00
Alex Griffin
c8112f3bd9
system: images: Add wsl2 module.
* gnu/system/images/wsl2.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-24 14:49:09 +02:00
Alex Griffin
233cf9f036
system: image: Add wsl2 support.
* gnu/image.scm (<image>)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image->root-file-system): Add wsl2 image support.
(system-image): Ditto.
2022-09-24 14:49:09 +02:00
Alex Griffin
8757c3f293
system: image: Add tarball support.
* gnu/image.scm (<image>)[fields]: Add tarball to the supported formats.
* gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
(system-tarball-image): New procedure.
(image->root-file-system): Add tarball image support.
(system-image): Ditto.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-24 14:49:09 +02:00
Mathieu Othacehe
ebe9d660a5
gnu: Add compression module.
Move the compression record to a dedicated module so that it can be used
outside (guix scripts pack) module.

* guix/scripts/pack.scm (<compressor>, %compressors, lookup-compressor): Move
it to ...
* gnu/compression.scm: ... this new file.
* gnu/ci.scm: Adapt it.
* local.mk (GNU_SYSTEM_MODULES): Add it.
2022-09-24 14:49:09 +02:00
Mathieu Othacehe
a13f5ead02
doc: Add a "System Images" chapter.
* doc/guix.texi ("System Images"): New chapter.
2022-09-24 14:49:09 +02:00
Mathieu Othacehe
61bf25bb4e
doc: Add a "Platforms" chapter.
* doc/guix.texi ("Platforms"): New chapter.
("Porting"): Link it.
2022-09-24 14:49:08 +02:00
Mathieu Othacehe
08a7eb187f
platforms: x86: Rename Hurd hurd to i586-gnu.
* guix/platforms/x86.scm (hurd): Rename it to ...
(i586-gnu): ... this variable.
* gnu/system/images/hurd.scm (hurd-disk-image, hurd-barebones-disk-image,
hurd-barebones-qcow2-image): Adapt those.
2022-09-24 14:49:07 +02:00
Mathieu Othacehe
c009c286a2
image: Make the operating-system field mandatory.
Make the operating-system field mandatory as creating an image without it
makes no sense. Introduce a new macro, image-without-os for the specific cases
where the image is only created to be inherited from afterwards.

* gnu/image.scm (<image>)[operating-system]: Make it mandatory.
* gnu/system/image.scm (image-without-os): New macro.
(efi-disk-image, efi32-disk-image, iso9660-image, docker-image,
raw-with-offset-disk-image): Use it.
* gnu/system/images/hurd.scm (hurd-disk-image): Ditto.
2022-09-24 14:20:36 +02:00
Mathieu Othacehe
f38e91a84c
installer: tests: Fix typo.
* gnu/installer/tests.scm (edit-configuration-file): Fix it.
2022-09-24 14:15:47 +02:00
Lars-Dominik Braun
dc7191302e
Revert "gnu: samba: Add avahi to inputs."
This reverts commit 4cbc162296.

samba/fixed inherits from samba, which causes ~9000 rebuilds.
2022-09-24 13:15:42 +02:00
Mathieu Othacehe
fe4663ae24
installer: Fix configuration edition during testing.
When the configuration is edited, it looks like there are some leftover
fragments from the input configuration:

Example content of config.scm after edition:

  #:imported-modules
  '((gnu services herd)
    (guix build utils)
    (guix combinators)))

unted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.

...

This is strange because call-with-output-file uses the O_TRUNC flag which
resets the file size to zero. Remove the configuration file before writing it
as a work-around.

* gnu/installer/tests.scm (edit-configuration-file): Remove the configuration
file before re-writing it.
2022-09-24 12:48:16 +02:00
Simon Streit
e1ce100915
services: Add wsdd service.
* doc/guix.texi: Add documentation for wsdd service.
* gnu/services/samba.scm (<wsdd-configuration>): New record.
(wsdd-service-type): New variable.
(wsdd-shepherd-services): New procedure.
* gnu/tests/samba.scm (%wsdd-os): Add variable.
(run-wsdd-test): New procedure.
(%test-wsdd): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00
Simon Streit
14359befa9
gnu: Add wsdd.
* gnu/packages/samba.scm (wsdd): New variable.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2022-09-24 09:41:24 +02:00