aboutsummaryrefslogtreecommitdiff
path: root/guix/build/svn.scm
Commit message (Collapse)AuthorAge
* svn-download: Do not expand keywords.Timothy Sample2023-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subversion keyword expansion is potentially non-reproducible as some of them expand time strings relative to the local time zone: https://issues.guix.gnu.org/43442#18 In practice this is not a problem in Guix since Subversion checkouts happen in an isolated environment using the "default timezone" (UTC). However, Software Heritage disables keyword expansion for this very reason. By following suit, we make sure content can be retrieved from there. * guix/build/svn.scm (svn-fecth): Pass "--ignore-keywords" to Subversion. * guix/build-system/texlive.scm (%texlive-date): New variable. * gnu/packages/java.scm (java-geronimo-xbean-reflect) (java-geronimo-genesis-2.1): Update the source hash. * gnu/packages/machine-learning.scm (ghmm): Likewise. * gnu/packages/video.scm (libsmpeg, libsmpeg-with-sdl1): Likewise. * gnu/packages/tex.scm (texlive-bin): Update the hash of the "texlive-scripts" input, and a add a new phase that imitates Subversion keyword expansion for scripts that need it. (texlive-latex-base): Update the hash of the "texlive-luatexconfig" native input. (texlive-hyphen-base, texlive-dvipdfmx, texlive-dvips, texlive-cm) (texlive-tex-plain, texlive-kpathsea, texlive-latexconfig) (texlive-tetex, texlive-pdftex, texlive-xetex): Update the source hash. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* guix: Strip #:use-module lists.Ludovic Courtès2023-03-13
| | | | | | | | | | | | This was obtained by setting up this environment: guix shell -D guix --with-input=guile@3.0.9=guile-next \ --with-commit=guile-next=e2ed33ef0445c867fe56c247054aa67e834861f2 -- make -j5 then adding 'unused-module' to (@@ (guix build compiler) %warnings), building, and checking all the "unused module" warnings and removing those that were definitely unused.
* svn-download, hg-download: Use 'report-invoke-error'.Ludovic Courtès2020-10-10
| | | | | | * guix/build/hg.scm (hg-fetch): Use 'report-invoke-error' instead of 'format'. * guix/build/svn.scm (svn-fetch): Likewise.
* build: svn: Fix handle fetch errors.zimoun2020-10-08
| | | | | | | | This fixes the revert 1ec67d5220b0ebac20263b44f4fefaf51ba8fdbb. * guix/build/svn.scm (svn-fetch): Add 'guard' to handle errors. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* Revert "build: svn: Handle fetch errors."Paul Garlick2020-10-06
| | | | | | | | This reverts commit 2fb12dd1bb725592e1561ac8f4b32fb68accb161, which causes the 'svn export' command to fail with: svn: E155000: Destination directory exists; please remove the directory or use --force to overwrite
* build: svn: Handle fetch errors.zimoun2020-10-06
| | | | | | * guix/build/svn.scm (svn-fetch): Add 'guard' to handle errors. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* guix: svn: Allow dropping externals.Julien Lepiller2019-11-13
| | | | | | * guix/build/svn.scm (svn-fetch): Allow to ignore externals. * guix/svn-download.scm (svn-reference, svn-multi-reference): Add recursive? field.
* Revert "guix: svn: Allow dropping externals."Tobias Geerinckx-Rice2019-10-24
| | | | | | | This reverts commit 51395c84fdbf8daed6392951a973ad750cf3eefa, fixing <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37896>. Reported by <o.rojon@posteo.net>.
* guix: svn: Allow dropping externals.Julien Lepiller2019-10-23
| | | | | | * guix/build/svn.scm (svn-fetch): Allow to ignore externals. * guix/svn-download.scm (svn-reference, svn-multi-reference): Add recursive? field.
* build: svn-fetch: Use "svn export".Ricardo Wurmus2019-07-23
| | | | | | * guix/build/svn.scm (svn-fetch): Use "svn export" instead of "svn checkout" because it does not include the .svn directory and allows us to fetch single files.
* guix: svn: Remove all .svn folders.Julien Lepiller2018-08-19
| | | | | * guix/build/svn.scm (svn-fetch): Remove all .svn folders as they contain timestamps.
* svn-download: Use invoke instead of system*.Mark H Weaver2018-03-16
| | | | * guix/build/svn.scm (svn-fetch): Use invoke and remove vestigial plumbing.
* guix: Support authentication when fetching from SVN.Ricardo Wurmus2016-07-03
| | | | | | | | * guix/svn-download.scm (<svn-reference>): Add fields for optional credentials. (svn-fetch): Pass credentials to build-side "svn-fetch". * guix/build/svn.scm (svn-fetch): Pass optional credentials to svn command.
* Add (guix svn-download).Sree Harsha Totakura2014-03-27
* guix/svn-download.scm, guix/build/svn.scm: New files. * Makefile.am (MODULES): Add them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>