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

Fix quoted comments #370

Merged
merged 10 commits into from
Sep 15, 2023
Merged

Fix quoted comments #370

merged 10 commits into from
Sep 15, 2023

Conversation

WillAbides
Copy link
Contributor

fixes #369

This resolves the quoted comments issue by updating the path filter account for quoted selectors.

Slightly related to this, I found that Path.String() wasn't normalizing its output. I had to remove the *PathBuilder receiver from normalizeSelectorName() to make this work.

The changes to context.go are not related to the rest of this PR. While tracing this I noticed that context.mode isn't used, so I removed it.

Copy link
Owner

@goccy goccy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution ! I've commented.

path.go Outdated Show resolved Hide resolved
@goccy goccy added the reviewed label May 31, 2023
@WillAbides WillAbides requested a review from goccy May 31, 2023 12:25
@codecov-commenter
Copy link

codecov-commenter commented May 31, 2023

Codecov Report

Merging #370 (871c6a3) into master (1bbf205) will increase coverage by 0.36%.
Report is 9 commits behind head on master.
The diff coverage is 85.71%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #370      +/-   ##
==========================================
+ Coverage   75.61%   75.98%   +0.36%     
==========================================
  Files          13       13              
  Lines        4650     4692      +42     
==========================================
+ Hits         3516     3565      +49     
+ Misses        874      867       -7     
  Partials      260      260              

path.go Show resolved Hide resolved
path.go Outdated Show resolved Hide resolved
@goccy
Copy link
Owner

goccy commented Sep 14, 2023

@WillAbides Sorry for the long wait, I made a couple of comments.

Copy link
Owner

@goccy goccy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution ! LGTM 👍

@goccy goccy merged commit 4df8923 into goccy:master Sep 15, 2023
18 checks passed
renovate bot added a commit to anoriqq/qpm that referenced this pull request Sep 15, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/goccy/go-yaml](https://togithub.com/goccy/go-yaml) |
require | patch | `v1.11.1` -> `v1.11.2` |

---

### Release Notes

<details>
<summary>goccy/go-yaml (github.com/goccy/go-yaml)</summary>

###
[`v1.11.2`](https://togithub.com/goccy/go-yaml/releases/tag/v1.11.2):
1.11.2

[Compare
Source](https://togithub.com/goccy/go-yaml/compare/v1.11.1...v1.11.2)

#### What's Changed

- Fix handle of space at start or last by
[@&#8203;ozraru](https://togithub.com/ozraru) in
[goccy/go-yaml#376
- Fix quoted comments by
[@&#8203;WillAbides](https://togithub.com/WillAbides) in
[goccy/go-yaml#370
- Fix sequence with comment by
[@&#8203;goccy](https://togithub.com/goccy) in
[goccy/go-yaml#390
- bump actions/checkout v4 by
[@&#8203;shogo82148](https://togithub.com/shogo82148) in
[goccy/go-yaml#391
- add Go 1.21 to the build matrix by
[@&#8203;shogo82148](https://togithub.com/shogo82148) in
[goccy/go-yaml#392
- apply go fmt with Go 1.21 by
[@&#8203;shogo82148](https://togithub.com/shogo82148) in
[goccy/go-yaml#394
- bump actions/setup-go v4 by
[@&#8203;shogo82148](https://togithub.com/shogo82148) in
[goccy/go-yaml#393

#### New Contributors

- [@&#8203;WillAbides](https://togithub.com/WillAbides) made their first
contribution in
[goccy/go-yaml#370
- [@&#8203;shogo82148](https://togithub.com/shogo82148) made their first
contribution in
[goccy/go-yaml#391

**Full Changelog**:
goccy/go-yaml@v1.11.1...v1.11.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/anoriqq/qpm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paths for quoted keys don't filter correctly
3 participants