propose features upstream (#2)

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>
This commit is contained in:
lerentis
2022-08-22 23:54:13 +08:00
committed by techknowlogick
parent 6879c07e9f
commit 7ba385d44a
27 changed files with 2375 additions and 5 deletions

32
docs/data-sources/org.md Normal file
View File

@ -0,0 +1,32 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "gitea_org Data Source - terraform-provider-gitea"
subcategory: ""
description: |-
---
# gitea_org (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Optional
- `name` (String)
### Read-Only
- `avatar_url` (String)
- `description` (String)
- `full_name` (String)
- `id` (Number) The ID of this resource.
- `location` (String)
- `visibility` (String)
- `website` (String)

47
docs/data-sources/repo.md Normal file
View File

@ -0,0 +1,47 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "gitea_repo Data Source - terraform-provider-gitea"
subcategory: ""
description: |-
---
# gitea_repo (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `name` (String)
- `username` (String)
### Read-Only
- `clone_url` (String)
- `created` (String)
- `default_branch` (String)
- `description` (String)
- `fork` (Boolean)
- `forks` (Number)
- `full_name` (String)
- `html_url` (String)
- `id` (String) The ID of this resource.
- `mirror` (Boolean)
- `open_issue_count` (Number)
- `permission_admin` (Boolean)
- `permission_pull` (Boolean)
- `permission_push` (Boolean)
- `private` (Boolean)
- `size` (Number)
- `ssh_url` (String)
- `stars` (Number)
- `updated` (String)
- `watchers` (Number)
- `website` (String)

33
docs/data-sources/user.md Normal file
View File

@ -0,0 +1,33 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "gitea_user Data Source - terraform-provider-gitea"
subcategory: ""
description: |-
---
# gitea_user (Data Source)
<!-- schema generated by tfplugindocs -->
## Schema
### Optional
- `username` (String)
### Read-Only
- `avatar_url` (String)
- `created` (String)
- `email` (String)
- `full_name` (String)
- `id` (Number) The ID of this resource.
- `is_admin` (Boolean)
- `language` (String)
- `last_login` (String)