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 renovate config for gitsubmodule #654

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

Yang-33
Copy link
Contributor

@Yang-33 Yang-33 commented Jan 20, 2025

Renovate recognizes packages in git submodule as "packageName": "https://github.com/line/line-openapi.git". however, this repository specifies "matchPackagePatterns": ["^line-openapi$"]. This won't be matched the submodule, and special config doesn't work. Thus #651 was opened and merged at noon, not at night.

This change fixes it.

Yang-33/line-bot-sdk-php-653-main-repository#2 checked this change works as expected. (this will be archived)

Close #653

@Yang-33
Copy link
Contributor Author

Yang-33 commented Jan 20, 2025

renovate configs probably worked without this fix until around May 2024. This might be because the submodule's package name was recognized as the submodule's name (not the HTTP URL) at the time. As of August 2024, it seems to have changed to the HTTP URL (I guess renovate fixes this as bug, probably package name for git submodule was unintentional).

2024-05 (renovate config for line-openapi worked)

2024-08 (renovate config for line-openapi didn't worked, though configs were perfectly same)

@Yang-33 Yang-33 requested a review from a team January 20, 2025 06:51
@Yang-33 Yang-33 merged commit 2959b38 into line:master Jan 21, 2025
8 checks passed
@Yang-33 Yang-33 deleted the fix-renovate-config branch January 21, 2025 01:53
Yang-33 added a commit to line/line-bot-sdk-nodejs that referenced this pull request Jan 21, 2025
Renovate recognizes packages in git submodule as `"packageName":
"https://github.com/line/line-openapi.git"`. however, this repository
specifies `"matchPackagePatterns": ["^line-openapi$"]`. This won't be
matched the submodule, and special config doesn't work. This change
fixes it.

(same as line/line-bot-sdk-php#654)
Yang-33 added a commit to line/line-bot-sdk-python that referenced this pull request Jan 21, 2025
Renovate recognizes packages in git submodule as `"packageName":
"https://github.com/line/line-openapi.git"`. however, this repository
specifies `"matchPackagePatterns": ["^line-openapi$"]`. This won't be
matched the submodule, and special config doesn't work. This change
fixes it.


Yang-33/line-bot-sdk-php-653-main-repository#2
checked this change works as expected. (this will be archived)

(same as line/line-bot-sdk-php#654)
Yang-33 added a commit to line/line-bot-sdk-java that referenced this pull request Jan 21, 2025
Renovate recognizes packages in git submodule as `"packageName":
"https://github.com/line/line-openapi.git"`. however, this repository
specifies `"matchPackagePatterns": ["^line-openapi$"]`. This won't be
matched the submodule, and special config doesn't work. This change
fixes it.


Yang-33/line-bot-sdk-php-653-main-repository#2
checked this change works as expected. (this will be archived)

(same as line/line-bot-sdk-php#654)
Yang-33 added a commit to line/line-bot-sdk-go that referenced this pull request Jan 21, 2025
Renovate recognizes packages in git submodule as `"packageName":
"https://github.com/line/line-openapi.git"`. however, this repository
specifies `"matchPackagePatterns": ["^line-openapi$"]`. This won't be
matched the submodule, and special config doesn't work. This change
fixes it.


Yang-33/line-bot-sdk-php-653-main-repository#2
checked this change works as expected. (this will be archived)

(same as line/line-bot-sdk-php#654)
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.

2 participants