Repository navigation
Move FromScriptLogger and FromCompositorLogger to seperate file - #29692
Merged
Merged
Conversation
mrobinson
requested changes
May 1, 2023
mrobinson
left a comment
Member
There was a problem hiding this comment.
Nice work! I have a couple small comments and perhaps logger.rs could be called logging.rs since there are multiple loggers there.
atbrakhi
marked this pull request as ready for review
May 1, 2023 20:11
Constellation seems to have lots of code that could be moved into seperate files. `FromScriptLogger` and `FromCompositorLogger` seem to qualify for that. Moved FromScriptLogger and FromScriptLogger to logger file.
mrobinson
force-pushed
the
move_loggers_from_constellation
branch
from
May 2, 2023 15:03
0eb462a to
7d7abef
Compare
Member
|
@bors-servo r+ |
Contributor
|
📌 Commit 7d7abef has been approved by |
Contributor
bors-servo
added a commit
that referenced
this pull request
May 2, 2023
…obinson Move `FromScriptLogger` and `FromCompositorLogger` to seperate file <!-- Please describe your changes on the following line: --> This PR is an attempt to refactor the `constellation.rs` file in order to make it more readable. Starting the initiative with moving `FromScriptLogger` and `FromCompositorLogger` to a separate`logger.rs` file as they don't have any major dependency to be in the `constellation.rs` file itself. Also noticed a broken link in `docs/HACKING_QUICKSTART.md` file. Adding the correct url. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
|
Test results for linux-wpt-layout-2013 from try job (#4862745777): Flaky unexpected result (13)
Stable unexpected results that are known to be intermittent (12)
Stable unexpected results (1)
|
Contributor
|
💔 Test failed - checks-github |
Member
|
@bors-servo retry |
Contributor
|
Test results for linux-wpt-layout-2013 from try job (#4872847306): Flaky unexpected result (15)
Stable unexpected results that are known to be intermittent (7)
|
Contributor
|
☀️ Test successful - checks-github |
1 similar comment
Contributor
|
☀️ Test successful - checks-github |
|
Test results for linux-wpt-layout-2020 from try job (#4874468455): Stable unexpected results that are known to be intermittent (8)
Stable unexpected results (50)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is an attempt to refactor the
constellation.rsfile in order to make it more readable. Starting the initiative with movingFromScriptLoggerandFromCompositorLoggerto a separatelogger.rsfile as they don't have any major dependency to be in theconstellation.rsfile itself.Also noticed a broken link in
docs/HACKING_QUICKSTART.mdfile. Adding the correct url../mach build -ddoes not report any errors./mach test-tidydoes not report any errors