Commit graph

892 commits

Author SHA1 Message Date
宋文武
57be6956ee
gnu: gitile: Fix build.
* gnu/packages/version-control.scm (gitile)[arguments]: Don't refer to
nonexistent 'install-bin' phase.

Change-Id: I6532e5366cc617eff5a5dad2fc65f5d7b37b45ed
2024-08-31 10:45:16 +02:00
Janneke Nieuwenhuizen
0570c7e7d7
gnu: git-minimal: Fix cross build.
This is a follow-up to

    aae7b00d52
    gnu: git: Remove labels and use gexps.

* gnu/packages/version-control.scm (git-minimal)[arguments]: Use #+ to access
native-inputs for bash-minimal and bash.

Change-Id: I6b4cb18123d6f98bda84726b99531c88542be12d
2024-08-31 10:44:23 +02:00
Hilton Chain
3db653a2c2
gnu: gitless: Fix definition.
This is a follow-up of 04031f4c16 (gnu: gitless:
Add bash-minimal to inputs, use gexps.).

gnu/packages/version-control.scm(gitless)[arguments] Move #~ to #:phases.

Change-Id: Ibe3cdbd24fc0b27a15a880a2a45cb0cd8cfde84d
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-08-31 10:42:46 +02:00
Maxim Cournoyer
eb4c2f63f6
gnu: tkrev: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (tkrev)
[inputs]: Add bash-minimal.

Change-Id: If63f4fa6da46ce0fd322201b78feaece426100ba
2024-08-31 10:42:27 +02:00
Maxim Cournoyer
7b2d3fe5f5
gnu: diff-so-fancy: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (diff-so-fancy)
[inputs]: Add bash-minimal.

Change-Id: I30b13f9353aa8eae401a05e033cea9621c3f55fe
2024-08-31 10:42:27 +02:00
Maxim Cournoyer
781953823e
gnu: git-open: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (git-open)
[inputs]: Add bash-minimal.

Change-Id: Ibfc05caa95c42d6daa0355fd2b0f126d9cbfe669
2024-08-31 10:42:27 +02:00
Maxim Cournoyer
0434cac8c0
gnu: git-imerge: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (git-imerge)
[arguments]: Remove trailing #t.
[inputs]: Add bash-minimal.

Change-Id: Ic699a7bbb27fd509cd03d969d9d396f2deaaec08
2024-08-31 10:42:27 +02:00
Maxim Cournoyer
312364b739
gnu: git-when-merged: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (git-when-merged)
[arguments]: Remove trailing #t.
[inputs]: Add bash-minimal.

Change-Id: I7157e12c52d2ff7197bf02ed878eb8bbe6a5523a
2024-08-31 10:42:27 +02:00
Maxim Cournoyer
68d26688ea
gnu: src: Add bash-minimal to inputs, use gexps.
* gnu/packages/version-control.scm (src)
[arguments]: Use gexps.
[inputs]: Add bash-minimal.

Change-Id: I122b0c496792a5dea731c2e70d32cba7286df0b1
2024-08-31 10:42:27 +02:00
Maxim Cournoyer
0f0ec73ac8
gnu: myrepos: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (myrepos)
[inputs]: Add bash-minimal.

Change-Id: I97feb4f5d8ad03fcde2bd8579c5a133d89904c8a
2024-08-31 10:42:26 +02:00
Maxim Cournoyer
60f9054958
gnu: gitile: Add bash-minimal to inputs, use gexps.
* gnu/packages/version-control.scm (gitile)
[inputs]: Add bash-minimal.

Change-Id: I376d525b09b8fb5d32d5a1e97ea8b2ab7e7e90f2
2024-08-31 10:42:26 +02:00
Maxim Cournoyer
9185812a96
gnu: gitless: Add bash-minimal to inputs, use gexps.
* gnu/packages/version-control.scm (gitless)
[arguments]: Use gexps.
[inputs]: Add bash-minimal.

Change-Id: I6f9c8661b739493ff48e114b6b063ecf12b8236a
2024-08-31 10:42:26 +02:00
Maxim Cournoyer
70398d7473
gnu: git: Add bash-minimal to inputs.
* gnu/packages/version-control.scm (git) [inputs]: Add bash-minimal.

Change-Id: I2df7891650ebd7c300de79d4cdf6b4cfc7cf1cad
2024-08-31 10:42:26 +02:00
Maxim Cournoyer
f59df1aa3c
build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-modules.
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.

The renaming was automated via the command:

  $ git grep -l %gnu-build-system-modules
    | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i

* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this.  Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.

Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
2024-08-31 10:42:16 +02:00
Maxim Cournoyer
29d5767343
gnu: git-minimal: Avoid depending on (guix search-paths).
This is a follow up commit to 48e528a26f, following discussions in
<https://issues.guix.gnu.org/65924#96>.

* gnu/packages/version-control.scm (git-minimal)
[arguments] <imported-modules>: Remove.
<modules>: Remove (guix search-paths); add (ice-9 format).
<phases>: Rewrite PATH-variable-definition in the patch-commands
phase to avoid the use of (guix search-paths).

Suggested-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I01a3c4be780f11434200c6f47739dc52a75ea51a
2024-08-31 10:42:15 +02:00
Maxim Cournoyer
4ed3e46715
gnu: git-minimal/pinned: Update to 2.41.0.
* gnu/packages/version-control.scm (git-minimal/pinned): Update to 2.41.0.

Change-Id: I019bcd3943c727581782645bad646192affa8672
2024-08-31 10:42:15 +02:00
Bruno Victal
ea6595badf
gnu: git: Drop docbook workarounds.
* gnu/packages/version-control.scm (git)[arguments]<#:phases>: Drop
docbook-xsl related substitution.
[native-inputs]: Add docbook-xml-4.5.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:13 +02:00
Bruno Victal
653c40aedd
gnu: git-crypt: Remove docbook workarounds.
* gnu/packages/version-control.scm (git-crypt)[arguments]: Use G-Expressions.
<#:phases>: Refactored into …
<#:make-flags>: … here.
[native-inputs]: Add docbook-xml-4.2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:11 +02:00
Liliana Marie Prikler
6da03fcc45
gnu: git: Install zsh completions and git-prompt.
* gnu/packages/version-control.scm (git)[#:phases]<install-shell-completion>:
Also install git-prompt and zsh _git site function.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I76c45e117715a13db96ef0dda4ad6ea9af3a1882
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
bd20ad3eb2
gnu: git-minimal: Add coreutils and sed to PATH.
Fixes <https://issues.guix.gnu.org/65924>.

* gnu/packages/version-control.scm (git-minimal)
[arguments] <imported-modules>: New field.
<modules>: Augment with (ice-9 match), (ice-9 textual-ports) and (guix
search-paths).
<phases>: Add patch-commands phase.
[inputs]: Add coreutils-minimal and sed.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Change-Id: I8e3dbbd24ef7f8fa98a392a36617b07fe632cd15
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
59505384c3
gnu: git: Invert inheritance relationship.
It's simpler to add features on top of a minimal variant than to remove them,
and helps avoiding mistakenly changing git-minimal, which has many dependents.

* gnu/packages/version-control.scm (git-minimal): Move above git and severe
inheritance.  Remove input label.  Repatriate most fields from...
(git): ... here.  Define as package/inherit to inherit from git-minimal.
Extend minimal values instead of overriding them whole.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Change-Id: Ia0ef0e7e4f007c2fafad3550344638b6661a408b
2024-08-31 10:42:06 +02:00
Maxim Cournoyer
f288604428
gnu: git: Remove labels and use gexps.
* gnu/packages/version-control.scm (git)
[native-inputs, inputs]: Remove labels.
[arguments]: Use gexps.  Use gexp variables input searching procedures where
it makes sense.

Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Change-Id: I1c5d0bb5eb9639342c11af94dca2ae2174496459
2024-08-31 10:42:06 +02:00
Ludovic Courtès
591972dfa1
gnu: libgit2@1.8: Fix use of uninitialized value.
* gnu/packages/patches/libgit2-uninitialized-proxy-settings.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/version-control.scm (libgit2-1.8)[source]: Use it.

Change-Id: I6b0f009d352ddadfcc57b945baea0dcc1bac0589
2024-08-28 16:37:31 +02:00
Zheng Junjie
2a64eb8064
gnu: stagit: Add a comment for source.
* gnu/packages/version-control.scm (stagit): Add comment for why use git
protocol.

Change-Id: I748a85e252f6ad9f4de444bd176c5ad2b5f1023c
2024-08-28 10:33:15 +08:00
Zheng Junjie
b40c808f96
gnu: stagit: Fix cross-compiling.
* gnu/packages/version-control.scm (stagit)[arguments]: Use G-expressions.

Change-Id: I7de0449d0709d554095df7532c92cb589d328b4c
2024-08-28 10:05:42 +08:00
Lilah Tascheter via Guix-patches
ce233d1f2b
gnu: stagit: Update to 1.2.
* gnu/packages/version-control.scm (stagit): Update to 1.2.

Change-Id: I4da6e85303d3591b61eeb6c90738171a17f0a81e
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-08-28 09:55:23 +08:00
jgart
2e7236a4c2
gnu: Add python-klaus.
* gnu/packages/version-control.scm (python-klaus): New variable.

Change-Id: I1b7c31deb799e0ea5195eda109740fdb90e5fabd
2024-08-20 19:14:27 -05:00
Ashish SHUKLA
d3832de763
gnu: libgit2-1.8: Update to 1.8.1.
* gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.1.
  [source]: deps/http-parser does not exist so update the list
  [arguments]: semantics of -DUSE_HTTP_PARSER has changed, so
  update configure-flags to reflect the same

Change-Id: Ifd9694a93326f7c3d368bd354a5fadf4e4b93119
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-08-19 12:30:26 +02:00
Evgeny Pisemsky
edb54d378d
gnu: gitile: Replace outdated dependency.
* gnu/packages/version-control.scm (gitile): Replace outdated dependency.
* gnu/packages/guile-xyz.scm (guile-syntax-highlight-for-gitile): Remove.

Change-Id: I24295a24d0dfef08d5161c206757996ccdd881fd
2024-08-19 13:36:56 +08:00
Tomas Volf
9a2ddcc8f5
gnu: cgit: Update to 1.2.3-5.9811bf0.
* gnu/packages/version-control.scm (cgit): Update to 1.2.3-5.9811bf0.

Change-Id: Ifa8d731b7a7e1217becb2179d1009e8051137293
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-08-01 10:47:14 +01:00
Suhail Singh
dae712644d
gnu: Add git-tools.
* gnu/packages/version-control.scm (git-tools): New variable.

Change-Id: I0ac65c24f787714fe0ef234fce639c6ec561600d
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-07-31 07:54:11 +08:00
Efraim Flashner
4be051fffb
gnu: stgit-2: Allow building with newer dependencies.
* gnu/packages/version-control.scm (stgit-2)[source]: Add snippet to
allow building with newer dependencies.

Change-Id: Ia1309c0656a3f0df2529f52e2ddd4bfbd59e163d
2024-07-19 00:45:08 +03:00
Sharlatan Hellseher
30bd3168f4
gnu: ghq: Update to 1.6.2.
* gnu/packages/version-control.scm (ghq): Update to 1.6.2.

Change-Id: Ie9b8d82b27364d183ba29c2673a9679cda671568
2024-07-15 12:17:51 +01:00
Sharlatan Hellseher
8f70fb90a2
gnu: packages/golang: Set default go version to 1.21.
Golang versions 1.17 (02 Aug 2022), 1.18 (01 Feb 2023), 1.19 (06 Sep
2023) and 1.20 (06 Feb 2024) are EOL <https://endoflife.date/go>.

These changes set preferable default version to the minimal currently
maintained one e.g. 1.21

* gnu/packages/golang.scm (go): Set default to go-1.21, add annotation
for the future maintenance.

Remove field <#:go> setting Golang version to go-1.18, go-1.19, 1.20 and
1.21:
* gnu/packages/admin.scm
* gnu/packages/configuration-management.scm
* gnu/packages/databases.scm
* gnu/packages/disk.scm
* gnu/packages/education.scm
* gnu/packages/file-systems.scm
* gnu/packages/finance.scm
* gnu/packages/golang-check.scm
* gnu/packages/golang-crypto.scm
* gnu/packages/golang-web.scm
* gnu/packages/golang-xyz.scm
* gnu/packages/golang.scm
* gnu/packages/high-availability.scm
* gnu/packages/ipfs.scm
* gnu/packages/irc.scm
* gnu/packages/messaging.scm
* gnu/packages/networking.scm
* gnu/packages/syncthing.scm
* gnu/packages/textutils.scm
* gnu/packages/time.scm
* gnu/packages/version-control.scm
* gnu/packages/video.scm

Change-Id: Ieba6a5d7a18423f838d14c02ad55a2ba9c8559eb
2024-07-15 12:17:48 +01:00
Sharlatan Hellseher
afbc1cc8b3
gnu: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/golang-build.scm (go-golang.org-x-sync-semaphore): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/version-control.scm (git-lfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-semaphore; add go-golang-org-x-sync.

Change-Id: Icf3edfc46696c8b9af79787ff77f7e65852bfef4
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
9708590d20
gnu: Remove go-golang.org-x-sync-errgroup.
* gnu/packages/golang-build.scm (go-golang.org-x-sync-errgroup): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (gotestsum): Likewise.
[native-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (go-github-com-prometheus-procfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/version-control.scm (ghq): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.

Change-Id: If64c30da47ed9cd043798f427f2927b76394f3c4
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
dbf3b5daf5
gnu: Remove go-golang-org-x-net-html.
golang.org/x/net is distributed as a single module according to provided
go.mod file. This changes remove the last reference to
golang.org/x/net/html.

* gnu/packages/golang-build.scm (go-golang-org-x-net) [propagated-inputs]: Add
go-golang-org-x-sys, go-golang-org-x-term and go-golang-org-x-text.
(go-golang-org-x-net-html): Remove variable.

* gnu/packages/version-control.scm (ghq) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.

* gnu/packages/textutils.scm (vale) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.

Change-Id: Ic275f2f7ccd145edfd376d65bd24599a550e849a
2024-06-29 09:36:56 +01:00
Ashish SHUKLA
03459ca165
gnu: git: Update to 2.45.2.
* gnu/packages/version-control.scm (git): Update to 2.45.2.

Change-Id: I6bcbc5f0f12a50cbfc0fdc51c30b26e765005d28
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-26 14:54:57 -04:00
Leo Famulari
1b2e139624
Revert "gnu: git: Update to 2.45.2."
This partially reverts commit 26c0ff98cf,
removing some extraneous changes that were added by mistake.

This is a followup to commit 26c0ff98cf

Change-Id: I907cfb98414ec8aeb1bbfc7b1b3d41fd36e8d309
2024-06-26 10:35:46 -04:00
Ashish SHUKLA
26c0ff98cf
gnu: git: Update to 2.45.2.
* gnu/packages/version-control.scm (git): Update to 2.45.2.

Change-Id: I6bcbc5f0f12a50cbfc0fdc51c30b26e765005d28
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-24 08:51:42 -04:00
Andy Tai
e57eff3d29
gnu: subversion: Update to 1.14.3.
* gnu/packages/version-control.scm (subversion): Update to 1.14.3.

Change-Id: I2d94d32065959d0bcf5b17922af2a62e3f743121
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-06-24 08:51:40 -04:00
Timotej Lazar
4569350e66
gnu: tig: Update package style.
* gnu/packages/version-control.scm (tig)[arguments]: Switch to gexps. Move
above input fields.

Change-Id: I32976ccd3f5602e847b1573695356c7e4e6dd9d7
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-06-18 08:41:01 +03:00
Timotej Lazar
a998d660bf
gnu: tig: Update to 2.5.10.
* gnu/packages/version-control.scm (tig): Update to 2.5.10.
[source]: Switch to git. Drop unbundling snippet.
[native-inputs]: Add autoconf, automake, docbook-xsl, libxml2, pkg-config.

Change-Id: I79d8239e7d0d83bfef42263718e8d2d3a2c83252
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-06-18 08:40:58 +03:00
Tomas Volf
65f6bc6199
gnu: cgit: Update to 1.2.3-4.b2c939a.
* gnu/packages/version-control.scm (cgit): Update to 1.2.3-4.b2c939a.

Change-Id: Ief3b27a4fc7cfa1d4341b951957d8cd08892696b
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-06-15 17:15:05 +01:00
Ashish SHUKLA
09690a2b0c
gnu: git: Update to 2.45.1 [security fixes].
* gnu/packages/version-control.scm (git): Update to 2.45.1.

Change-Id: Ia0634c6b0a4a3b5cc5c584ca064bbeb62b207c3e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-05-30 11:35:13 -04:00
Maxim Cournoyer
997445fe7c
gnu: Add libgit2-1.8.
* gnu/packages/version-control.scm (libgit2-1.8): New variable.

Change-Id: I6400e5699a363ba500d1fa1939fa0e2b7fdac285
2024-05-29 21:15:38 -04:00
Tomas Volf
b8c0bdea4e
gnu: cgit: Update to 1.2.3-3.dbadd85.
* gnu/packages/version-control.scm (cgit): Update to 1.2.3-3.dbadd85.

Change-Id: I41827d1d97f28be71af5532b554d6b7a5e1123cc
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-13 19:31:20 +01:00
Oleg Pykhalov
757bbaaf14
gnu: gource: Update to 0.54.
* gnu/packages/version-control.scm (gource)[version]: Update to 0.54.
[arguments]<#:disallowed-references>: Add tzdata-for-tests.
<#:phases>: Unbundle tinyxml. Set TZDIR environment variable.
<#:configure-flags>: Add --with-tinyxml argument.
[native-inputs]: Add tzdata-for-tests.
[inputs]: Replace pcre with pcre2. Add tinyxml.

Change-Id: I67c2a1ee74582ed3e0a4ec5e6d229c948f9d5265
2024-05-01 09:11:05 +03:00
Christopher Baines
99e7a93d57
gnu: Add comment to the bottom of version-control.scm.
This will hopefully discourage patches which add new packages to the bottom of
files, as this increases the likelihood of conflicts when applying patches.

If there are more specific ways that packages should be arranged in specific
modules, this message can be updated accordingly.

* gnu/packages/version-control.scm: Add comment at end of file.

Change-Id: I3d20a6fd957d9cfee9d7b4a4c7979c4202a0fe3a
2024-04-16 22:50:06 +01:00
Ashish SHUKLA
a45b2c7c63
gnu: Add fnc.
* gnu/packages/version-control.scm (fnc): New variable.

Change-Id: Idf1cb254c3ae18bacb86bf020511a5d34e2d3684
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-16 22:45:30 +01:00