Hi all,
I've noticed that data source for `gitea_repo` is not working. Instead of trying to fetch data from `/api/v1/repos/<username>/<name>` it sends a reques as `/api/v1/repos/<username>/<username>`. I've updated the code to fix this.
Signed-off-by: petar.nikolovski <petar.nikolovski@united.cloud>
Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/9
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: petar.nikolovski <petar.nikolovski@noreply.gitea.com>
Co-committed-by: petar.nikolovski <petar.nikolovski@noreply.gitea.com>
Hi @techknowlogick 👋
as discussed on twitter the changes i made on my fork 😃
not sure if you are aware of this but currently hashicorp only allows publishing via github, so if you want to publish this provider to the terraform registry as well, feel free to also take a look at my goreleaser config and drone/github actions usage her: https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea
Co-authored-by: Tobias Trabelsi <lerentis@uploadfilter24.eu>
Reviewed-on: https://gitea.com/gitea/terraform-provider-gitea/pulls/2
Co-authored-by: lerentis <lerentis@noreply.gitea.io>
Co-committed-by: lerentis <lerentis@noreply.gitea.io>