{"id":24045011,"url":"https://github.com/pasqualet/terraform-provider-gogs","last_synced_at":"2026-05-17T02:04:26.099Z","repository":{"id":61625358,"uuid":"101487072","full_name":"pasqualet/terraform-provider-gogs","owner":"pasqualet","description":"Terraform provider for Gogs","archived":false,"fork":false,"pushed_at":"2017-08-26T13:46:38.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-29T03:35:36.304Z","etag":null,"topics":["gogs","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pasqualet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-26T13:21:37.000Z","updated_at":"2019-11-05T13:15:31.000Z","dependencies_parsed_at":"2022-10-19T18:45:39.808Z","dependency_job_id":null,"html_url":"https://github.com/pasqualet/terraform-provider-gogs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pasqualet/terraform-provider-gogs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqualet%2Fterraform-provider-gogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqualet%2Fterraform-provider-gogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqualet%2Fterraform-provider-gogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqualet%2Fterraform-provider-gogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasqualet","download_url":"https://codeload.github.com/pasqualet/terraform-provider-gogs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasqualet%2Fterraform-provider-gogs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33125184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"online","status_checked_at":"2026-05-17T02:00:05.366Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gogs","terraform","terraform-provider"],"created_at":"2025-01-08T23:52:10.280Z","updated_at":"2026-05-17T02:04:26.067Z","avatar_url":"https://github.com/pasqualet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform Provider\n==================\n\nRequirements\n------------\n\n-\t[Terraform](https://www.terraform.io/downloads.html) 0.10.x\n-\t[Go](https://golang.org/doc/install) 1.8 (to build the provider plugin)\n\nBuilding The Provider\n---------------------\n\nClone repository to: `$GOPATH/src/github.com/pasqualet/terraform-provider-gogs`\n\n```sh\n$ mkdir -p $GOPATH/src/github.com/pasqualet; cd $GOPATH/src/github.com/pasqualet\n$ git clone git@github.com:pasqualet/terraform-provider-gogs\n```\n\nEnter the provider directory and build the provider\n\n```sh\n$ cd $GOPATH/src/github.com/pasqualet/terraform-provider-gogs\n$ make build\n```\n\nUsing the provider\n----------------------\n\n```\nprovider \"gogs\" {\n    token = \"3a626845fc4922fff0e84c6516b6adc8b14ff7b2\"\n    url = \"http://localhost:3000\"\n}\n\nresource \"gogs_user\" \"sample_user\" {\n    username = \"sample\"\n    fullname = \"Sample User\"\n    login_name = \"sample\"\n    email = \"sample@sample.com\"\n    password = \"password\"\n}\n\nresource \"gogs_repository\" \"sample\" {\n    username = \"${gogs_user.sample_user.username}\"\n    name = \"sample-repository\"\n}\n```\n\nDeveloping the Provider\n---------------------------\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.8+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.\n\nTo compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\n```sh\n$ make build\n...\n$ $GOPATH/bin/terraform-provider-gogs\n...\n```\n\nIn order to test the provider, you can simply run `make test`.\n\n```sh\n$ make test\n```\n\nIn order to run the full suite of Acceptance tests, run `make testacc`.\n\n*Note:* Before run the acceptance tests set the following environment variables:\n\n```sh\nexport GOGS_URL=https://gogs.example.com # The target Gogs instance.\nexport GOGS_TOKEN=3a626845fc4922fff0e84c6516b6adc8b14ff7b2 # The Gogs personal access token.\nexport GOGS_USERNAME=user1 # The user already existing in Gogs.\nexport GOGS_REPOSITORY=repository # The repository alreaddy existing in Gogs.\n```\n\n```sh\n$ make testacc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasqualet%2Fterraform-provider-gogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasqualet%2Fterraform-provider-gogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasqualet%2Fterraform-provider-gogs/lists"}