[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20230209-124-g12d39b8

Jon Turney via Cygwin-apps-cvs <[email protected]> Sun, 16 Feb 2025 16:32:11 +0000 (GMT)
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


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

commit 12d39b8dd3f1c053f0cfef3295283042e3265bd1
Author: Jon Turney <[email protected]>
Date:   Sun Feb 16 15:47:36 2025 +0000

    Set Maintainer._homedirs earlier
    
    This is needed for last_seen values to be retrieved correctly on the
    first call to maintainer_list()


Diff:
---
 calm/maintainers.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/calm/maintainers.py b/calm/maintainers.py
index 2a02dc0..f78e8db 100644
--- a/calm/maintainers.py
+++ b/calm/maintainers.py
@@ -277,6 +277,8 @@ def pkg_list(pkglist):
 
 # create maintainer list
 def maintainer_list(args):
+    Maintainer._homedirs = args.homedir
+
     mlist = {}
 
     # add all maintainers for all packages