launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #31940
[Merge] ~pelpsi/launchpad:add-logs-to-artifactory-publisher into launchpad:master
Simone Pelosi has proposed merging ~pelpsi/launchpad:add-logs-to-artifactory-publisher into launchpad:master.
Commit message:
Add log to Artifactory publishing machinery.
These logs will help debugging phase for this process.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~pelpsi/launchpad/+git/launchpad/+merge/477526
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~pelpsi/launchpad:add-logs-to-artifactory-publisher into launchpad:master.
diff --git a/lib/lp/archivepublisher/publishing.py b/lib/lp/archivepublisher/publishing.py
index 6a2a080..b0d761a 100644
--- a/lib/lp/archivepublisher/publishing.py
+++ b/lib/lp/archivepublisher/publishing.py
@@ -885,6 +885,12 @@ class Publisher:
if publications:
source_name = publications[0].pool_name
source_version = publications[0].pool_version
+ self.log.debug(
+ "Updating properties for %s:%s, # publications: %s",
+ source_name,
+ source_version,
+ len(publications),
+ )
self._diskpool.updateProperties(
source_name,
source_version,