guix/guix
Ludovic Courtès e475211869
database: Reset timestamps to one second after the Epoch.
Previously, store items registered in the database by this code (for
instance, store items retrieved by 'guix offload' and passed to
'restore-file-set') would have an mtime of 0 instead of 1.

This would cause problems for things like .go files: Guile would
consider them to be older than the corresponding .scm file, and
consequently it would ignore them and possibly use another (incorrect)
.go file.

Reported by Ricardo Wurmus.

* guix/store/database.scm (reset-timestamps): Pass 1, not 0, to
'utime'.
* tests/store-database.scm ("register-path"): Check the mtime of FILE
and REF.
2018-07-20 15:01:33 +02:00
..
build build-system/go: Use invoke instead of system*. 2018-07-19 19:12:54 -04:00
build-system build-system/meson: Really skip the 'fix-runpath' phase on armhf. 2018-07-02 12:07:58 +02:00
import import: hackage: Fix typo. 2018-07-13 15:23:40 +02:00
scripts pull: Display new/upgraded packages upon completion. 2018-07-13 17:28:40 +02:00
store database: Reset timestamps to one second after the Epoch. 2018-07-20 15:01:33 +02:00
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
ci.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: 'imported-files/derivation' can copy files instead of symlinking. 2018-07-19 11:48:04 +02:00
git-download.scm
git.scm git: Call 'url-cache-directory' outside 'update-cached-checkout'. 2018-07-13 16:24:48 +03:00
glob.scm
gnu-maintenance.scm gnu-maintenance: Get GNU metadata from rec files. 2018-07-11 16:07:04 +02:00
gnupg.scm
grafts.scm
graph.scm
hash.scm hash: sha256 port now implements 'port-position'. 2018-07-19 17:08:53 +02:00
hg-download.scm
http-client.scm
i18n.scm
inferior.scm Add (guix inferior) and (guix scripts repl). 2018-07-13 17:28:39 +02:00
licenses.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm gexp: 'imported-files' no longer creates a derivation by default. 2018-07-19 11:48:04 +02:00
pk-crypto.scm
pki.scm
profiles.scm guix package: Use relative symlinks to generations. 2018-07-13 17:28:39 +02:00
profiling.scm
progress.scm
records.scm
scripts.scm
search-paths.scm
self.scm self: Use the new 'imported-files'. 2018-07-19 11:48:04 +02:00
serialization.scm serialization: Add 'write-file-tree'. 2018-07-19 11:48:04 +02:00
sets.scm
ssh.scm
store.scm store: Add 'add-file-tree-to-store'. 2018-07-19 11:48:04 +02:00
svn-download.scm
tests.scm
ui.scm ui: Fix typo. 2018-07-11 00:53:04 +02:00
upstream.scm
utils.scm utils: Really clean up temporary directories. 2018-07-13 17:33:45 -04:00
workers.scm
zlib.scm