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 /diff/manifest.scm?id=c76bec3d93bc5008618fb0b9ff26f0e0f4323d18'>diff
path: root/manifest.scm
AgeCommit message (Expand)Author
2024-11-11maint: Add installer dependencies to the manifest....* manifest.scm: Add guile-newt, guile-parted, guile-webutils. Change-Id: Idcf46320d29c15f36da05f66e81b7779e37c1bf6 Janneke Nieuwenhuizen
2024-08-31gnu: guix: Remove unnecessary dependencies....This reverts 0fda0486523d67c2c464386c07a0c2800d8d8c20, instead moving the dependencies needed for ‘make dist’ to ‘manifest.scm’. Removing this extra dependencies make it simpler to build the ‘guix’ package in particular on less-capable systems like i586-gnu. * gnu/packages/package-management.scm (guix)[native-inputs]: Remove IMAGEMAGICK and PERL. Use GRAPHVIZ-MINIMAL instead of GRAPHVIZ. * manifest.scm: Use the full-blown ‘graphviz’ package; add ‘imagemagick’ and ‘perl’. Reported-by: Janneke Nieuwenhuizen <janneke@gnu.org> Change-Id: Ia9d05c699e3cc2f9a9235a67f8ec840c26b66a82 Ludovic Courtès
2024-06-24manifest: Streamline; add packages useful for patch review/submission....* manifest.scm: Fix alternate command line invocation (which would not consider 'manifest.scm'). Use specifications instead of packages. Remove perl (now in the guix package's native inputs). Add b4, git, git:send-email, mumi, nss-certs, openssl and patman to the manifest. Change-Id: I49d92dda059856ce217cea9054a466a1754dcf94 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Maxim Cournoyer
2024-04-02maint: Add perl to the manifest....* manifest.scm: Add perl. Change-Id: Ie70cea1eb4d62f2a649292209391a92abdae2288 Janneke Nieuwenhuizen
2024-01-31maint: Add gnupg to the manifest....* manifest.scm: Add gnupg. Change-Id: Id5e90f87e5c3a07aa3e49afa97cc0b6d3ce71b41 Ludovic Courtès