From 06a32b319f065550efe0d2a9ff10ca6bdc32b893 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 23 Jul 2022 20:15:18 +0200 Subject: [PATCH] operon: hopefully better fix for flaky mtime tests copy the mtime after we write everything, so there is no chance of it changing before we note the initial value. --- quodlibet/operon/commands.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/quodlibet/operon/commands.py b/quodlibet/operon/commands.py index e0a5ef33a..af2dcfa8b 100644 --- a/quodlibet/operon/commands.py +++ b/quodlibet/operon/commands.py @@ -227,16 +227,16 @@ class EditCommand(Command): # write to tmp file fd, path = tempfile.mkstemp(suffix=".txt") - # XXX: copy mtime here so we can test for changes in tests by - # setting a out of date mtime on the source song file - copy_mtime(args[0], path) - try: try: os.write(fd, dump) finally: os.close(fd) + # XXX: copy mtime here so we can test for changes in tests by + # setting a out of date mtime on the source song file + copy_mtime(args[0], path) + # only parse the result if the editor returns 0 and the mtime has # changed old_mtime = mtime(path) -- 2.39.2 ba6208aa42815863853ec522352e6'>commitdiff
path: root/gnu/packages/backup.scm
AgeCommit message (Expand)Author
2024-04-15gnu: borg: Update to 1.2.8....* gnu/packages/backup.scm (borg): Update to 1.2.8. [arguments]: Remove a variety of workarounds that have been obviated by changes upstream and in the Python package build tools. Reviewed-by: Dale Mellor <guix-devel-0brg6a@rdmp.org> Signed-off-by: Christopher Baines <mail@cbaines.net> Change-Id: I031bb4e6ac2f562a3e387a5e815b31416367766f Leo Famulari
2024-04-12gnu: restic-rest-server: Refresh package style....* gnu/packages/backup.scm (restic-rest-server): Use G-expressions. [arguments] <#:phases>: Swap back to standard 'check phase and add 'set-tmpdir phase. [native-inputs]: Swap from propagated-inputs to native-inputs, sort alphabetically. Change-Id: I5010a2dd81b887d8ef10fa27b3ffcb228e08fade Sharlatan Hellseher
2024-04-06gnu: packages: backup: Sort use-module alphabetically....* gnu/packages/backup.scm: Sort use-module alphabetically to ease maintenance. Change-Id: Ibe5288440edbe74d34f528a5867184d551f49e80 Sharlatan Hellseher
2024-04-03gnu: libarchive: Fix a potential security issue....https://github.com/libarchive/libarchive/pull/2101 * gnu/packages/backup.scm (libarchive)[replacement]: New field. (libarchive/fixed): New variable. * gnu/packages/patches/libarchive-remove-potential-backdoor.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: I939e9b842b10d1a78125da4a4599c38d9c037079 Leo Famulari
2024-03-31gnu: borgmatic: Update to 1.8.9....* gnu/packages/backup.scm (borgmatic): Update to 1.8.9. [arguments]: Apply guix style. [native-inputs]: Apply guix style. [inputs]: Apply guix style. Change-Id: Ic9eb3c9439dc0aade3e4aae0fbe8e2c7bec49754 Signed-off-by: jgart <jgart@dismail.de> Fabio Natali
2024-02-25Merge branch 'master' into gnome-teamLiliana Marie Prikler
2024-02-22gnu: python-ruamel-yaml: Update to 0.18.6....* gnu/package/serialization.scm (python-ruamel-yaml): Update to 0.18.6. (python-ruamel.yaml-0.16): New variable. * gnu/packages/package-management.scm (conda)[inputs]: Replace python-ruamel.yaml with python-ruamel.yaml-0.16. * gnu/packages/backup.scm (borgmatic)[inputs]: Replace python-ruamel.yaml with python-ruamel.yaml-0.16. * gnu/packages/python-xyz.scm (dynaconf)[inputs]: Replace python-ruamel.yaml with python-ruamel.yaml-0.16. Change-Id: Iff9eeeae043c9547d93a6c780f0c30bd760490d9 Change-Id: I43cad7e3936f62d209fbba7e86b93519cfc1c1ba Signed-off-by: Arun Isaac <arunisaac@systemreboot.net> Arun Isaac
2024-02-15gnu: packages: backup: Add golang-xyz....* gnu/packages/backup.scm: Add (gnu packages golang-xyz) module. Change-Id: I848acb1dea36c59031bc60107179b3bc0d14636d Sharlatan Hellseher