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

Hosting requests do not seem to support trailing / in repo URLs #3849

Closed
daniel-beck opened this issue Mar 28, 2024 · 1 comment
Closed

Hosting requests do not seem to support trailing / in repo URLs #3849

daniel-beck opened this issue Mar 28, 2024 · 1 comment

Comments

@daniel-beck
Copy link
Contributor

daniel-beck commented Mar 28, 2024

Potential culprit:

Matcher m = Pattern.compile("(?:https://github\\.com/)?(\\S+)/(\\S+)", CASE_INSENSITIVE).matcher(forkFrom);

Log output in https://github.com/jenkins-infra/repository-permissions-updater/actions/runs/8328738115/job/22789409098:

[main] INFO io.jenkins.infra.repository_permissions_updater.hosting.Hoster - Approving hosting request 3830
[main] INFO io.jenkins.infra.repository_permissions_updater.hosting.Hoster - Forking people-view-plugin/
[main] WARN io.jenkins.infra.repository_permissions_updater.hosting.Hoster - No such repository: people-view-plugin/
[main] ERROR io.jenkins.infra.repository_permissions_updater.hosting.Hoster - Hosting request failed to fork repository on Github

Original content of #3830:

Repository URL

https://github.com/daniel-beck/people-view-plugin/

New Repository Name

people-view-plugin

@NotMyFault
Copy link
Member

Duplicate of #2586

@NotMyFault NotMyFault marked this as a duplicate of #2586 Mar 29, 2024
@NotMyFault NotMyFault closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
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

No branches or pull requests

2 participants