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: local module path matching #202

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

ldez
Copy link
Contributor

@ldez ldez commented Apr 2, 2024

golangci/golangci-lint#4608

The value path can't end with / because a module name can't end with /, so the append of / doesn't need to be checked.

This PR has no problem with modules without packages (spec.Path == m.Path).

Closes #203

@daixiang0
Copy link
Owner

@ldez thanks for your contribution!

Could you sign your commit then we can make it land?

@ldez
Copy link
Contributor Author

ldez commented Apr 3, 2024

the commits are already signed

@daixiang0
Copy link
Owner

Please sign commits refer to this Github Doc. After signed, we can see "verified" in the commits page.

Signed-off-by: Fernandez Ludovic <[email protected]>
Copy link
Owner

@daixiang0 daixiang0 left a comment

Choose a reason for hiding this comment

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

LGTM

@daixiang0 daixiang0 merged commit 869c320 into daixiang0:master Apr 3, 2024
7 checks passed
@ldez ldez deleted the fix/local-module branch April 3, 2024 04:12
@ccoVeille
Copy link
Contributor

Please sign commits refer to this Github Doc. After signed, we can see "verified" in the commits page.

@daixiang0

You were talking about this right?

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository

So you were asking ldez to use --signoff in addition of signing commit. Right.

@daixiang0
Copy link
Owner

Please sign commits refer to this Github Doc. After signed, we can see "verified" in the commits page.

@daixiang0

You were talking about this right?

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository

So you were asking ldez to use --signoff in addition of signing commit. Right.

Check man git commit, git commit --signoff (git commit -s for short) will add "Signed-off-by: " but not sign the commit and GitHub can not verify it, so no "verified" label in the commit page.

To sign the commits, please refer to https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits.

You can use git commit -S not git commit -s.

codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Apr 16, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/daixiang0/gci](https://togithub.com/daixiang0/gci) |
`v0.13.3` -> `v0.13.4` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdaixiang0%2fgci/v0.13.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fdaixiang0%2fgci/v0.13.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fdaixiang0%2fgci/v0.13.3/v0.13.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdaixiang0%2fgci/v0.13.3/v0.13.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>daixiang0/gci (github.com/daixiang0/gci)</summary>

### [`v0.13.4`](https://togithub.com/daixiang0/gci/releases/tag/v0.13.4)

[Compare
Source](https://togithub.com/daixiang0/gci/compare/v0.13.3...v0.13.4)

#### What's Changed

- fix some typos and style in code and documentation by
[@&#8203;ccoVeille](https://togithub.com/ccoVeille) in
[https://github.com/daixiang0/gci/pull/201](https://togithub.com/daixiang0/gci/pull/201)
- Add boringcrypto experiment pkg by
[@&#8203;phamvinhdat](https://togithub.com/phamvinhdat) in
[https://github.com/daixiang0/gci/pull/194](https://togithub.com/daixiang0/gci/pull/194)
- fix: local module path matching by
[@&#8203;ldez](https://togithub.com/ldez) in
[https://github.com/daixiang0/gci/pull/202](https://togithub.com/daixiang0/gci/pull/202)
- bump up to v0.13.4 by
[@&#8203;daixiang0](https://togithub.com/daixiang0) in
[https://github.com/daixiang0/gci/pull/204](https://togithub.com/daixiang0/gci/pull/204)

#### New Contributors

- [@&#8203;phamvinhdat](https://togithub.com/phamvinhdat) made their
first contribution in
[https://github.com/daixiang0/gci/pull/194](https://togithub.com/daixiang0/gci/pull/194)

**Full Changelog**:
daixiang0/gci@v0.13.3...v0.13.4

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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/open-telemetry/opentelemetry-collector-contrib).

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

---------

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

Successfully merging this pull request may close these issues.

3 participants