[libcxx-commits] [PATCH] D88560: Testing CI for libcxxdo not submit

Mikhail Goncharov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 30 05:21:21 PDT 2020


goncharov created this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
goncharov requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88560

Files:
  libcxx/utils/ci/phabricator-report


Index: libcxx/utils/ci/phabricator-report
===================================================================
--- libcxx/utils/ci/phabricator-report
+++ libcxx/utils/ci/phabricator-report
@@ -118,13 +118,13 @@
     }
 
     commitMessage = subprocess.check_output(['git', 'log', '--format=%B' , '-n', '1']).decode()
-    phabricatorID = re.search(r'^Phabricator-ID:\s+(.+)$', commitMessage, flags=re.MULTILINE)
+#    phabricatorID = re.search(r'^Phabricator-ID:\s+(.+)$', commitMessage, flags=re.MULTILINE)
+    phabricatorID = os.getenv('ph_target_phid')
 
     # If there's a Phabricator ID in the commit, then the build was triggered
     # by a Phabricator review -- update the results back. Otherwise, don't
     # do anything.
     if phabricatorID:
-        phabricatorID = phabricatorID.group(1)
         token = os.environ['CONDUIT_TOKEN']
         phab = phabricator.Phabricator(token=token, host=LLVM_REVIEWS_API)
         exponentialBackoffRetry(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88560.295250.patch
Type: text/x-patch
Size: 959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200930/74025271/attachment.bin>


More information about the libcxx-commits mailing list