Lerentis / terraform-provider-gitea

Terraform Provider for your Gitea Instance
https://registry.terraform.io/providers/Lerentis/gitea/latest
MIT License
22 stars 11 forks source link

Implement forks #6

Closed juddowilcox closed 1 year ago

juddowilcox commented 1 year ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like I would like to use a gitea_fork resource.

Describe alternatives you've considered I've considered writing a terraform provider that wraps curl, a gitea_repository with a provisioner, etc. I have considered other non-terraform options including kubernetes operator, crossplane provider, etc.

Additional context Specifically, I need a crossplane provider to provide a fork resource for gitea. I have already generated a working provider via terrajet using Lerentis/gitea. Now I need the fork resource.

juddowilcox commented 1 year ago

I am willing to try to implement this or to to test it if someone else implements it.

Lerentis commented 1 year ago

Hi @juddowilcox

I am not sure I understand what you mean here. Usually a fork is something that you do and not something that you do using a terraform run. Of cause I don't know your use case, so if you want to implement this resource type, I am happy about a contribution.

In any case do you see here really a new resource or just an extension to the gitea_repository resource?

juddowilcox commented 1 year ago

Using crossplane I have to automate deployment of gitea instances into eks in aws. Each instance must be automatically configured with mirrors (of repos elsewhere) and forks of those mirrors. I generate the crossplane provider from your terraform provider.

I am not a go developer but I'll give it a try. Thank you for your work on

On Sat, Oct 1, 2022, 1:53 PM Tobias Trabelsi @.***> wrote:

Hi @juddowilcox https://github.com/juddowilcox

I am not sure I understand what you mean here. Usually a fork is something that you do and not something that you do using a terraform run. Of cause I don't know your use case, so if you want to implement this resource type, I am happy about a contribution

— Reply to this email directly, view it on GitHub https://github.com/Lerentis/terraform-provider-gitea/issues/6#issuecomment-1264451235, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASEWQKFGM32WZLGJMPNQQIDWBCCDBANCNFSM6AAAAAAQ2MUMZM . You are receiving this because you were mentioned.Message ID: @.***>