[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20210626-16-gb8764db

Jon TURNEY via Cygwin-apps-cvs <[email protected]>
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


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

commit b8764db6984753d5b9a650231a8d0db3be192fd6
Author: Jon Turney <[email protected]>
Date:   Wed Feb 2 16:12:08 2022 +0000

    Annotate packages in daemonized mode as well


Diff:
---
 calm/calm.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/calm/calm.py b/calm/calm.py
index c76ed41..3244d2b 100755
--- a/calm/calm.py
+++ b/calm/calm.py
@@ -280,8 +280,6 @@ def process(args, state):
 
         state.packages = process_uploads(args, state)
 
-    repology.annotate_packages(args, state.packages)
-
     return state.packages
 
 
@@ -484,6 +482,7 @@ def do_output(args, state):
 
     # write reports
     if update_json or args.force:
+        repology.annotate_packages(args, state.packages)
         reports.do_reports(args, state.packages)
 
     # if we are daemonized, allow force regeneration of static content in htdocs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.