Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
acch committed Dec 23, 2024
1 parent c13a9aa commit da6dc18
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.1.0 (Unreleased)
## 0.1.0 (December 23, 2024)

MINIMUM VIABLE PRODUCT (MVP)

FEATURES:

- Authentication with API token, or with username and password
- New Resource: `forgejo_organization` ([documentation](docs/resources/organization.md))
- New Resource: `forgejo_repository` ([documentation](docs/resources/repository.md))
- New Resource: `forgejo_user` ([documentation](docs/resources/user.md))
- New Data Source: `forgejo_organization` ([documentation](docs/data-sources/organization.md))
- New Data Source: `forgejo_repository` ([documentation](docs/data-sources/repository.md))
- New Data Source: `forgejo_user` ([documentation](docs/data-sources/user.md))
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ terraform {
required_providers {
forgejo = {
source = "svalabs/forgejo"
version = "~> 0.1.0"
}
}
}
Expand All @@ -40,7 +41,7 @@ It is recommended to supply an API token to authenticate with a given Forgejo ho
provider "forgejo" {
host = "http://localhost:3000"
api_token = "1234567890abcdefghijklmnopqrstuvwxyz1234"
# alternatively, use the FORGEJO_API_TOKEN environment variable
# or use the FORGEJO_API_TOKEN environment variable
}
```

Expand All @@ -51,11 +52,11 @@ provider "forgejo" {
host = "http://localhost:3000"
username = "admin"
password = "passw0rd"
# alternatively, use the FORGEJO_USERNAME / FORGEJO_PASSWORD environment variables
# or use the FORGEJO_USERNAME / FORGEJO_PASSWORD environment variables
}
```

A personal repository can be created like so:
A **personal repository** can be created like so:

```terraform
resource "forgejo_repository" "example" {
Expand All @@ -64,7 +65,7 @@ resource "forgejo_repository" "example" {
}
```

A user repository can be created like so (requires administrative privileges):
A **user repository** can be created like so (requires administrative privileges):

```terraform
resource "forgejo_user" "example" {
Expand All @@ -78,7 +79,7 @@ resource "forgejo_repository" "example" {
}
```

A organization repository can be created like so:
An **organization repository** can be created like so:

```terraform
resource "forgejo_organization" "example" {
Expand All @@ -92,7 +93,7 @@ resource "forgejo_repository" "example" {
}
```

These examples create repositories with most attributes set to their default values. Many settings can be customized:
These examples create repositories with most attributes set to their default values. However, many settings can be customized:

```terraform
resource "forgejo_repository" "example" {
Expand Down

0 comments on commit da6dc18

Please sign in to comment.