aboutsummaryrefslogtreecommitdiff
# GNU Guix --- Functional package management for GNU
# Copyright © 2018, 2019, 2020, 2022 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of GNU Guix.
#
# GNU Guix is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at
# your option) any later version.
#
# GNU Guix is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

#
# Test 'guix build --with-branch'.
#

guix build --version

# 'guix build --with-branch' requires access to the network to clone the
# Git repository below.

if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null
then
    # Skipping.
    exit 77
fi

orig_drv="`guix build guile-gcrypt -d`"
latest_drv="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -d`"
test -n "$latest_drv"
test "$orig_drv" != "$latest_drv"

# FIXME: '-S' currently doesn't work with non-derivation source.
# checkout="`guix build guile-gcrypt --with-branch=guile-gcrypt=master -S`"
checkout="`guix gc --references "$latest_drv" | grep guile-gcrypt | grep -v -E '(-builder|\.drv)'`"
test -d "$checkout"
test -f "$checkout/COPYING"

orig_drv="`guix build guix -d`"
latest_drv="`guix build guix --with-branch=guile-gcrypt=master -d`"
guix gc -R "$latest_drv" | grep guile-gcrypt-git.master
test "$orig_drv" != "$latest_drv"

v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=9e3eacdec1d -d`"
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-git.9e3eacd
test "$v0_1_0_drv" != "$latest_drv"
test "$v0_1_0_drv" != "$orig_drv"

v0_1_0_drv="`guix build guix --with-commit=guile-gcrypt=v0.1.0 -d`"
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-0.1.0
guix gc -R "$v0_1_0_drv" | grep guile-gcrypt-9e3eacd
test "$v0_1_0_drv" != "$latest_drv"
test "$v0_1_0_drv" != "$orig_drv"

guix build guix --with-commit=guile-gcrypt=000 -d && false

exit 0
5:22 +0100'>2023-03-10gnu: krita: Update to 5.1.5....* gnu/packages/kde.scm (krita): Update to 5.1.5. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Z572 via Guix-patches via 2023-02-04gnu: okular: Add wayland support....* gnu/packages/kde.scm (okular)[inputs]: Add qtwayland-5. Andrew Tropin 2022-12-05gnu: kdenlive: Update to 22.08.3....* gnu/packages/kde.scm (kdenlive): Update to 22.08.3. Vinicius Monego 2022-11-27gnu: kdevelop: Build with QtWebEngine instead of QtWebKit....* gnu/packages/kde.scm (kdevelop)[inputs]: Change from QTWEBKIT to QTWEBENGINE. Marius Bakke 2022-11-21gnu: Add kosmindoormap....* gnu/packages/kde.scm (kosmindoormap): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Add kopeninghours....* gnu/packages/kde.scm (kopeninghours): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Add libqaccessibilityclient....* gnu/packages/kde.scm (libqaccessibilityclient): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Add kirigami-addons....* gnu/packages/kde.scm (kirigami-addons): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Add kio-fuse....* gnu/packages/kde.scm (kio-fuse): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Add kio-extras....* gnu/packages/kde.scm (kio-extras): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Add kpublictransport....* gnu/packages/kde-utils.scm (kpublictransport): New variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: KDE: Update to 22.08.1....* gnu/packages/kde.scm (baloo-widgets, grantleetheme, akregator, kdenlive, kdevelop, libkomparediff2, kpmcore, kdeconnect, labplot, kdf, kcachegrind, libkdegames, marble-qt, okular, poxml, kdegraphics-mobipocket, libkexiv2): Update to 22.08.1. (kdeconnect)[inputs]: Add plasma-wayland-protocols. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: grantleetheme: Update to 22.08.1....* gnu/packages/kde.scm (grantleetheme): Update to 22.08.1. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: Remove kqtquickcharts....* gnu/packages/kde.scm (kqtquickcharts): Remove variable. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-21gnu: akregator: Remove kqtquickcharts form inputs....* gnu/packages/kde.scm (akregator) [inputs]: Remove kqtquickcharts. Add kquickcharts. Signed-off-by: Marius Bakke <marius@gnu.org> Petr Hodina 2022-11-04gnu: Fix various synopsis issues....* gnu/packages/crates-io.scm (rust-rug-1)[synopsis]: Shorten. (rust-simplelog-0.11)[synopsis]: Fix case. (rust-tikv-jemalloc-ctl-0.4)[synopsis]: Fix case. (rust-ucd-util-0.1)[synopsis]: Fix case. * gnu/packages/kde.scm (kuserfeedback)[synopsis]: Shorten. * gnu/packages/tex.scm (texlive-generic-pdfescape)[synopsis]: Reword to fix case issue. Vagrant Cascadian