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

Failing to get fork name when the forked repository has a different name #461

Closed
rgdoliveira opened this issue Oct 3, 2023 · 2 comments · Fixed by #462
Closed

Failing to get fork name when the forked repository has a different name #461

rgdoliveira opened this issue Oct 3, 2023 · 2 comments · Fixed by #462
Assignees

Comments

@rgdoliveira
Copy link
Member

A real example of this issue is:

PR apache/incubator-kie-kogito-apps#1881 was opened for apache/incubator-kie-kogito-apps repository but the the fork name is https://github.com/elguardian/kogito-apps which is different from the repository name.

The checkout summary shows:

# Checkout summary
[INFO] [apache/incubator-kie-drools]
[INFO] 	 Project taken from apache/incubator-kie-drools:main (Branch HEAD 1deba3ffbd2a9de4ebfbf4c1bb0d57523b3f8ffb)
[INFO] [apache/incubator-kie-kogito-runtimes]
[INFO] 	 Project taken from apache/incubator-kie-kogito-runtimes:main (Branch HEAD 821650efe7688f55359611a190ed7f3e6026f05a)
[INFO] [apache/incubator-kie-kogito-apps]
[INFO] 	 Project taken from apache/incubator-kie-kogito-apps:main (Branch HEAD a9f5d1cb4bb0759ef63facd2b81c8c79da373a18)
[INFO] [apache/incubator-kie-kogito-examples]
[INFO] 	 Project taken from apache/incubator-kie-kogito-examples:main (Branch HEAD bc4d19e48b2a45409fb9e6db1638c993eacb6180)

Meaning that all branches from the forks were ignored and the and just the main branches are used.

@rgdoliveira rgdoliveira self-assigned this Oct 3, 2023
@rgdoliveira rgdoliveira changed the title Failing to get forkName when the forked repository has a different name Failing to get fork name when the forked repository has a different name Oct 3, 2023
@Ginxo
Copy link
Contributor

Ginxo commented Oct 4, 2023

@rgdoliveira @jstastny-cz get repository group/name mechanism from BC allows this kind of use cases, see [1] and we have seen it before and it has been properly working. I'm curious about BC trace log for PR but I'm not able to find it, could you please share guys? Many thanks

[1]

@mareknovotny
Copy link
Member

@Ginxo the log is probably here https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1881/17/consoleText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants