Title: [288384] trunk/Tools
- Revision
- 288384
- Author
- [email protected]
- Date
- 2022-01-21 15:30:39 -0800 (Fri, 21 Jan 2022)
Log Message
[EWS] Support pull-requests in ValidateChange (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=234861
<rdar://problem/87114299>
Unreviewed follow-up fix.
* Tools/CISupport/ews-build/steps.py:
(GitHubMixin.fetch_data_from_url_with_authentication): Fix authentication call.
Canonical link: https://commits.webkit.org/246281@main
Modified Paths
Diff
Modified: trunk/Tools/CISupport/ews-build/steps.py (288383 => 288384)
--- trunk/Tools/CISupport/ews-build/steps.py 2022-01-21 22:49:24 UTC (rev 288383)
+++ trunk/Tools/CISupport/ews-build/steps.py 2022-01-21 23:30:39 UTC (rev 288384)
@@ -27,6 +27,7 @@
from buildbot.steps.source import git
from buildbot.steps.worker import CompositeStepMixin
from datetime import date
+from requests.auth import HTTPBasicAuth
from twisted.internet import defer
from layout_test_failures import LayoutTestFailures
@@ -135,7 +136,7 @@
def fetch_data_from_url_with_authentication(self, url):
response = None
try:
- username, access_token = self.credentials()
+ username, access_token = GitHub.credentials()
auth = HTTPBasicAuth(username, access_token) if username and access_token else None
response = requests.get(
url, timeout=60, auth=auth,
Modified: trunk/Tools/ChangeLog (288383 => 288384)
--- trunk/Tools/ChangeLog 2022-01-21 22:49:24 UTC (rev 288383)
+++ trunk/Tools/ChangeLog 2022-01-21 23:30:39 UTC (rev 288384)
@@ -1,3 +1,14 @@
+2022-01-21 Jonathan Bedard <[email protected]>
+
+ [EWS] Support pull-requests in ValidateChange (Follow-up fix)
+ https://bugs.webkit.org/show_bug.cgi?id=234861
+ <rdar://problem/87114299>
+
+ Unreviewed follow-up fix.
+
+ * CISupport/ews-build/steps.py:
+ (GitHubMixin.fetch_data_from_url_with_authentication): Fix authentication call.
+
2022-01-20 Jonathan Bedard <[email protected]>
[EWS] Avoid extra network request from buildbot to github
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes