Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logging & memory management, retry certain HTTP requests, catch out of memory situations #258

Merged
merged 39 commits into from
Mar 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
143eb35
Move garbage collection to main.php, set memory limit, log URLs to PRs.
gudmdharalds Mar 8, 2022
c7640e8
Rename class to match file
gudmdharalds Mar 8, 2022
1f23d1b
Encoding message logged for more safety, updating tests accordingly.
gudmdharalds Mar 8, 2022
ed34df9
SVG PHP runtime version displayed in scan-details.
gudmdharalds Mar 8, 2022
b203446
Log when PHP version is determined.
gudmdharalds Mar 8, 2022
c9bc198
Garbage collection moved to main.php, stop logging auto-approvals.
gudmdharalds Mar 8, 2022
9fb2d6c
Adding log message when starting linting.
gudmdharalds Mar 8, 2022
cf746bd
Adding logging, garbage collection has moved to main.php, moved remov…
gudmdharalds Mar 8, 2022
b79b7cf
Add function to output URLs to PRs, change usage in main.php
gudmdharalds Mar 8, 2022
8be58b2
Fixing whitespacing, adding phpcs:ignore
gudmdharalds Mar 8, 2022
d1ec535
Adding test for vipgoci_github_prs_urls_get()
gudmdharalds Mar 8, 2022
2d83484
Adding linebreak, previously removed by the function, but not any more.
gudmdharalds Mar 8, 2022
cd254d4
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
1be6fd1
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
d359c95
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
7f8a16b
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
0ca09da
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
8d2a924
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
1fc798d
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
68067f8
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
d826164
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
1bd0063
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
93df850
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
1092a43
Changing "Pull-Request" to "pull request".
gudmdharalds Mar 8, 2022
7298d05
Retry mechanism for vipgoci_github_fetch_url(), replace "Pull-Request…
gudmdharalds Mar 8, 2022
9e45315
Log to IRC when HTTP GET requests fail.
gudmdharalds Mar 8, 2022
819151f
Log to IRC when exiting due to HTTP GET failure.
gudmdharalds Mar 8, 2022
8528517
Add comment explaining the purpose.
gudmdharalds Mar 8, 2022
0e4754c
WP CS fix
gudmdharalds Mar 8, 2022
2d05a0a
WP CS fix
gudmdharalds Mar 8, 2022
533b927
Removing whitespace.
gudmdharalds Mar 8, 2022
b90b152
Exit if temporary file name not found in PHPCS output.
gudmdharalds Mar 8, 2022
4821278
Providing exit code for vipgoci_sysexit()
gudmdharalds Mar 8, 2022
6f4e34b
Providing exit code for vipgoci_sysexit()
gudmdharalds Mar 8, 2022
0713dbf
Providing exit code for vipgoci_sysexit()
gudmdharalds Mar 8, 2022
8119721
Log correct string for PHPCS version.
gudmdharalds Mar 8, 2022
f4cadfe
Define out of memory error.
gudmdharalds Mar 8, 2022
8449953
Handle out of memory situations.
gudmdharalds Mar 8, 2022
d2e5340
Set maximum execution time for PHPCS.
gudmdharalds Mar 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changing "Pull-Request" to "pull request".
  • Loading branch information
gudmdharalds committed Mar 8, 2022
commit 1092a43989fcc03afc7122ed92d95afab3137e82
2 changes: 1 addition & 1 deletion auto-approval.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ function( $type ) {
'Removing any previously submitted comments ' .
'indicating that a particular file ' .
'is approved as the whole ' .
'Pull-Request is approved',
'pull request is approved',
array(
'pr_number' => $pr_item->number,
)
Expand Down