public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20190530-16-g4d0d596
@ 2019-06-08 19:23 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2019-06-08 19:23 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=4d0d596e575b5c8c2b4b2b18645a824ebde92d28

commit 4d0d596e575b5c8c2b4b2b18645a824ebde92d28
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat Jun 8 20:18:12 2019 +0100

    Fix noarch vaulting after 5fbe4c85
    
    Fix noarch vaulting after 5fbe4c85.  Only remove a path from movelist
    once, even when the movelist contains multiple files at that path.


Diff:
---
 calm/calm.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/calm/calm.py b/calm/calm.py
index dc63eea..0ff63ec 100755
--- a/calm/calm.py
+++ b/calm/calm.py
@@ -323,13 +323,13 @@ def remove_stale_packages(args, packages):
     # for each arch.
     #
     # de-duplicate these package moves, as rather awkward workaround for that
-    moved_list = []
+    moved_list = set()
 
     def dedup(path, f):
         for prefix in ['noarch', 'src']:
             if path.startswith(prefix):
                 to_vault[prefix].add(path, f)
-                moved_list.append(path)
+                moved_list.add(path)
 
     to_vault[common_constants.ARCHES[0]].map(dedup)
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-08 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-08 19:23 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20190530-16-g4d0d596 jturney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).