guix-devel/guix
Ludovic Courtès 9fe3f11398
serialization: 'restore-file' errors out upon non-convertible file names.
Fixes <https://bugs.gnu.org/33603>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* guix/serialization.scm (port-conversion-strategy): New variable.
(restore-file): Parameterize it.
* tests/nar.scm ("restore-file with non-UTF8 locale"): New test.
2019-01-18 17:51:34 +01:00
..
build syscalls: 'device-in-use?' returns #f upon EINVAL. 2019-01-17 14:04:28 +01:00
build-system guix: scons: Fix module reference. 2019-01-15 18:15:07 +01:00
import import: github: Do not update URI for packages using git-fetch. 2019-01-16 20:49:14 +05:30
scripts scripts: Fix typo. 2019-01-17 17:58:35 +01:00
store database: Use "write-ahead log" mode and set a long "busy timeout". 2018-12-21 23:50:13 +01:00
tests tests: Support multiple HTTP server instances. 2017-10-12 23:47:48 +02:00
base16.scm utils: Move base16 procedures to (guix base16). 2017-03-16 22:50:14 +01:00
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm base64: Turn into a regular Guile module. 2017-05-25 14:25:17 +02:00
build-system.scm
cache.scm cache: Work around 'time-monotonic' bug in Guile 2.2.2. 2017-04-22 14:42:15 +02:00
channels.scm channels: Compute a package cache and use it. 2019-01-15 20:24:09 +01:00
ci.scm ci: Add procedures to access evaluations. 2018-11-10 23:33:46 +01:00
combinators.scm Add (guix memoization). 2017-01-28 18:55:20 +01:00
config.scm.in build: Remove checks for 'nix-instantiate'. 2018-06-18 23:19:51 +02:00
cpio.scm
cve.scm cve: Update feed URL. 2018-08-26 01:47:40 +02:00
cvs-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
deprecation.scm Add (guix deprecation). 2019-01-10 14:59:22 +01:00
derivations.scm derivations: Add properties. 2018-11-28 10:39:58 +01:00
describe.scm Add 'guix describe'. 2018-09-07 11:40:22 +02:00
discovery.scm discovery: Add 'fold-module-public-variables*'. 2019-01-15 20:24:09 +01:00
docker.scm docker: Hide scary-looking but harmless tar failure messages. 2018-11-29 09:30:00 +01:00
download.scm download: 'built-in-builders*' relies on the functional cache. 2018-12-19 23:52:25 +01:00
elf.scm
ftp-client.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
gexp.scm gexp: 'gexp->script' does not emit load-path expression when unnecessary. 2019-01-07 23:50:56 +01:00
git-download.scm git-download: Download from Software Heritage as a last resort. 2018-11-26 11:10:20 +01:00
git.scm git: Nicely report '--with-commit' errors. 2018-11-30 17:03:04 +01:00
glob.scm glob: Add an extra glob pattern compilation stage. 2018-03-18 22:57:17 +01:00
gnu-maintenance.scm gnu-maintenance: Base kernel.org updater on HTML directory listings. 2018-11-10 23:33:46 +01:00
gnupg.scm gnupg: Change default keyserver. 2018-09-25 18:45:50 +02:00
grafts.scm grafts: Mark as non substitutable. 2018-12-04 10:57:56 +01:00
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
hg-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
http-client.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
inferior.scm inferior: Add 'gexp->derivation-in-inferior'. 2019-01-15 20:24:09 +01:00
licenses.scm Correct name and Email for ng0. 2018-03-20 17:17:58 +01:00
man-db.scm profiles: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
memoization.scm memoization: Add 'invalidate-memoization!. 2017-12-13 23:11:53 +01:00
modules.scm modules: Report the search path in &missing-dependency-error. 2018-04-08 17:41:08 +02:00
monad-repl.scm
monads.scm monads: Add a template and specialization mechanism for monadic procedures. 2017-05-02 23:41:13 +02:00
nar.scm nar: Access the database instead of connecting to the daemon. 2018-11-13 14:59:45 +01:00
packages.scm packages: Turn 'cache!' into a single-value-return cache. 2018-12-19 23:52:24 +01:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
profiles.scm guix: Add guard to texlive-configuration profile hook. 2019-01-18 16:15:33 +00:00
profiling.scm profiling: Add a "gc" profiling component. 2019-01-15 20:24:08 +01:00
progress.scm progress: Do not display the last 0B transfer when size is unknown. 2018-11-16 14:53:44 +01:00
records.scm records: Adjust to test changes in 'record-abi-mismatch-error'. 2018-08-31 17:26:56 +02:00
scripts.scm scripts: Suggest running 'guix gc' when we're short on disk space. 2018-10-23 01:04:39 +02:00
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm installer: Move everything to the build side. 2019-01-17 14:04:21 +01:00
serialization.scm serialization: 'restore-file' errors out upon non-convertible file names. 2019-01-18 17:51:34 +01:00
sets.scm
ssh.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
status.scm status: Distinguish 'package-cache' profile hook. 2019-01-15 20:24:09 +01:00
store.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
svn-download.scm guix: Add download-svn-to-store. 2017-06-15 17:03:14 +02:00
swh.scm swh: Export 'save-origin' and related bindings. 2018-11-27 12:12:33 +01:00
tests.scm tests: Check file canonicalization for 'restore-file-set'. 2018-11-13 14:59:46 +01:00
ui.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
upstream.scm refresh: Suggest input changes when updating. 2019-01-12 23:35:11 +01:00
utils.scm utils: Memoize 'absolute-dirname'. 2018-12-19 23:52:25 +01:00
workers.scm workers: Display backtrace in pre-unwind handler. 2017-11-17 10:47:56 +01:00
zlib.scm zlib: Fix race condition when closing gzip ports. 2017-11-19 23:09:01 +01:00