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

new fork resource #463

Closed
wants to merge 1 commit into from
Closed

new fork resource #463

wants to merge 1 commit into from

Conversation

anGie44
Copy link
Contributor

@anGie44 anGie44 commented May 17, 2020

Closes #43

  • Changes:
    • a github_fork resource to support creating forks of existing repositories; fields are repetitive of those in github_repository
    • in writing up support init repo from fork  #462 , I came across an issue where we'd have ID clashes between repositories already managed by terraform and the newly created forks as the repository name used as the ID would be the same for the source repository and its forks immediately after creation (though subsequent name updates could work around this but it's not guaranteed a user would intend to update the fork's name). Since github_repository may need to be reworked to set IDs more uniquely or there will exist a discrepancy in how IDs are set for forked repo's to avoid overwriting IDs, this new resource came about to avoid conditional operations in the existinggithub_repository resource to handle forking behavior.

Output of acceptance tests:

--- PASS: TestAccGithubFork_basic_org (12.33s)
--- PASS: TestAccGithubFork_basic_user (16.89s)

@ghost ghost added the size/XL label May 17, 2020
@anGie44 anGie44 added the Type: Feature New feature or request label May 17, 2020
@camal-cakar-gcx
Copy link

Any reason why this is not merged into main? Was looking for this feature currently.

@public-rant
Copy link

I too am interested in this feature.

@nickfloyd nickfloyd added the Status: Stale Used by stalebot to clean house label Nov 30, 2022
@nickfloyd
Copy link
Contributor

👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@F21 F21 mentioned this pull request Dec 1, 2022
@github-actions github-actions bot removed the Status: Stale Used by stalebot to clean house label Dec 9, 2022
@github-actions
Copy link

github-actions bot commented Sep 6, 2023

👋 Hey Friends, this pull request has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!

@github-actions github-actions bot added the Status: Stale Used by stalebot to clean house label Sep 6, 2023
@github-actions github-actions bot closed this Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XL Status: Stale Used by stalebot to clean house Type: Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NEW FEATURE] Allow forking other github repositories to init new repositories.
4 participants