{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":265376864,"defaultBranch":"main","name":"terraform-plugin-docs","ownerLogin":"hashicorp","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-05-19T21:56:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/761456?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1715605474.0","currentOid":""},"activityList":{"items":[{"before":"9056c2209b38a9138d8d2bf87efb280455b28ffc","after":null,"ref":"refs/heads/tsccr-auto-pinning/trusted/2024-05-13","pushedAt":"2024-05-13T13:04:34.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"0ba3029700830952bba98c9a10e842bdcda50022","after":"dc96a0cf6d77b5044b7530ccd295364bf573b878","ref":"refs/heads/main","pushedAt":"2024-05-13T13:04:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Result of tsccr-helper -log-level=info gha update -latest . (#370)\n\nCo-authored-by: hashicorp-tsccr[bot] ","shortMessageHtmlLink":"Result of tsccr-helper -log-level=info gha update -latest . (#370)"}},{"before":null,"after":"9056c2209b38a9138d8d2bf87efb280455b28ffc","ref":"refs/heads/tsccr-auto-pinning/trusted/2024-05-13","pushedAt":"2024-05-13T06:07:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hashicorp-tsccr[bot]","name":null,"path":"/apps/hashicorp-tsccr","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/312369?s=80&v=4"},"commit":{"message":"Result of tsccr-helper -log-level=info gha update -latest .","shortMessageHtmlLink":"Result of tsccr-helper -log-level=info gha update -latest ."}},{"before":"9d64fbc77a6f8b89fddf496224f896c777938255","after":null,"ref":"refs/heads/dependabot/github_actions/hashicorp/setup-copywrite-1.1.3","pushedAt":"2024-05-10T16:53:55.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"66e5604dcff7162acaaad41fb18fd23f3a512445","after":"0ba3029700830952bba98c9a10e842bdcda50022","ref":"refs/heads/main","pushedAt":"2024-05-10T16:53:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3 (#369)\n\nBumps [hashicorp/setup-copywrite](https://github.com/hashicorp/setup-copywrite) from 1.1.2 to 1.1.3.\r\n- [Release notes](https://github.com/hashicorp/setup-copywrite/releases)\r\n- [Commits](https://github.com/hashicorp/setup-copywrite/compare/867a1a2a064a0626db322392806428f7dc59cb3e...32638da2d4e81d56a0764aa1547882fc4d209636)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: hashicorp/setup-copywrite\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3 (#369)"}},{"before":null,"after":"9d64fbc77a6f8b89fddf496224f896c777938255","ref":"refs/heads/dependabot/github_actions/hashicorp/setup-copywrite-1.1.3","pushedAt":"2024-05-10T16:35:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3\n\nBumps [hashicorp/setup-copywrite](https://github.com/hashicorp/setup-copywrite) from 1.1.2 to 1.1.3.\n- [Release notes](https://github.com/hashicorp/setup-copywrite/releases)\n- [Commits](https://github.com/hashicorp/setup-copywrite/compare/867a1a2a064a0626db322392806428f7dc59cb3e...32638da2d4e81d56a0764aa1547882fc4d209636)\n\n---\nupdated-dependencies:\n- dependency-name: hashicorp/setup-copywrite\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3"}},{"before":"555505641a88151d8e073f274dc65e983043e835","after":null,"ref":"refs/heads/dependabot/go_modules/golang.org/x/text-0.15.0","pushedAt":"2024-05-06T17:32:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"7c35b8e293f52d31e0c411b96148ba31045f7973","after":"66e5604dcff7162acaaad41fb18fd23f3a512445","ref":"refs/heads/main","pushedAt":"2024-05-06T17:32:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Bump golang.org/x/text from 0.14.0 to 0.15.0 (#368)\n\nBumps [golang.org/x/text](https://github.com/golang/text) from 0.14.0 to 0.15.0.\r\n- [Release notes](https://github.com/golang/text/releases)\r\n- [Commits](https://github.com/golang/text/compare/v0.14.0...v0.15.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/text\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump golang.org/x/text from 0.14.0 to 0.15.0 (#368)"}},{"before":null,"after":"555505641a88151d8e073f274dc65e983043e835","ref":"refs/heads/dependabot/go_modules/golang.org/x/text-0.15.0","pushedAt":"2024-05-06T16:39:24.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump golang.org/x/text from 0.14.0 to 0.15.0\n\nBumps [golang.org/x/text](https://github.com/golang/text) from 0.14.0 to 0.15.0.\n- [Release notes](https://github.com/golang/text/releases)\n- [Commits](https://github.com/golang/text/compare/v0.14.0...v0.15.0)\n\n---\nupdated-dependencies:\n- dependency-name: golang.org/x/text\n dependency-type: direct:production\n update-type: version-update:semver-minor\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump golang.org/x/text from 0.14.0 to 0.15.0"}},{"before":"ec0d7509c4e0591508d6bb1838f1a9428947a377","after":null,"ref":"refs/heads/tsccr-auto-pinning/trusted/2024-05-06","pushedAt":"2024-05-06T14:34:38.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"fc2fdc0a433404f2b7b824863281fddad7e33a38","after":"7c35b8e293f52d31e0c411b96148ba31045f7973","ref":"refs/heads/main","pushedAt":"2024-05-06T14:34:37.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Result of tsccr-helper -log-level=info gha update -latest . (#367)\n\nCo-authored-by: hashicorp-tsccr[bot] ","shortMessageHtmlLink":"Result of tsccr-helper -log-level=info gha update -latest . (#367)"}},{"before":null,"after":"ec0d7509c4e0591508d6bb1838f1a9428947a377","ref":"refs/heads/tsccr-auto-pinning/trusted/2024-05-06","pushedAt":"2024-05-06T06:08:04.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"hashicorp-tsccr[bot]","name":null,"path":"/apps/hashicorp-tsccr","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/312369?s=80&v=4"},"commit":{"message":"Result of tsccr-helper -log-level=info gha update -latest .","shortMessageHtmlLink":"Result of tsccr-helper -log-level=info gha update -latest ."}},{"before":"308f0fcefbe22139fbe6d79b78738aa08a9a3931","after":"fc2fdc0a433404f2b7b824863281fddad7e33a38","ref":"refs/heads/main","pushedAt":"2024-04-29T19:27:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hc-github-team-tf-provider-devex","name":"Service Account - Terraform Provider DevEx","path":"/hc-github-team-tf-provider-devex","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100357958?s=80&v=4"},"commit":{"message":"Update changelog","shortMessageHtmlLink":"Update changelog"}},{"before":"0276ea36f6dfbb01e9b4f3b45d305a405241bc69","after":null,"ref":"refs/heads/dependabot/go_modules/github.com/yuin/goldmark-1.7.1","pushedAt":"2024-04-26T17:52:27.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"14eebddc08766ed094015187f3da2064005a7db2","after":"308f0fcefbe22139fbe6d79b78738aa08a9a3931","ref":"refs/heads/main","pushedAt":"2024-04-26T17:52:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1 (#353)\n\nBumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.0 to 1.7.1.\r\n- [Release notes](https://github.com/yuin/goldmark/releases)\r\n- [Commits](https://github.com/yuin/goldmark/compare/v1.7.0...v1.7.1)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: github.com/yuin/goldmark\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1 (#353)"}},{"before":"10742f4324442e6c141ae4e353c662340f2f932f","after":"0276ea36f6dfbb01e9b4f3b45d305a405241bc69","ref":"refs/heads/dependabot/go_modules/github.com/yuin/goldmark-1.7.1","pushedAt":"2024-04-26T17:47:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1\n\nBumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.0 to 1.7.1.\n- [Release notes](https://github.com/yuin/goldmark/releases)\n- [Commits](https://github.com/yuin/goldmark/compare/v1.7.0...v1.7.1)\n\n---\nupdated-dependencies:\n- dependency-name: github.com/yuin/goldmark\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump github.com/yuin/goldmark from 1.7.0 to 1.7.1"}},{"before":"f7f96f563d632d2c732a59ff2baa7a3a8bc8d699","after":null,"ref":"refs/heads/bflad/id-special-handling","pushedAt":"2024-04-26T17:45:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"8a55c41f47b356af3f17e5aa98798ad49b6ba84e","after":"14eebddc08766ed094015187f3da2064005a7db2","ref":"refs/heads/main","pushedAt":"2024-04-26T17:45:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"generate: Prevent automatic id attribute behaviors under blocks (#365)\n\nReference: https://github.com/hashicorp/terraform-plugin-docs/issues/335\r\n\r\nPreviously, the automatic `id` attribute handling intended for root level schema blocks was applied to all blocks, causing the generator to errantly set the grouping to `Read-Only` and the description to `The ID of this resource`. This was captured via a new integration test:\r\n\r\n```\r\n--- FAIL: Test_SchemaJson_GenerateAcceptanceTests (0.00s)\r\n --- FAIL: Test_SchemaJson_GenerateAcceptanceTests/nested_id_attribute (0.25s)\r\n testscript.go:558: # Copyright (c) HashiCorp, Inc.\r\n # SPDX-License-Identifier: MPL-2.0\r\n # Ensure only root level id attribute receives automatic description (0.236s)\r\n > [!unix] skip\r\n > exec tfplugindocs --provider-name=terraform-provider-scaffolding --providers-schema=schema.json\r\n [stdout]\r\n rendering website for provider \"terraform-provider-scaffolding\" (as \"terraform-provider-scaffolding\")\r\n exporting schema from JSON file\r\n getting provider schema\r\n generating missing templates\r\n generating missing resource content\r\n generating new template for \"scaffolding_example\"\r\n generating missing data source content\r\n generating missing function content\r\n generating missing provider content\r\n generating new template for \"terraform-provider-scaffolding\"\r\n rendering static website\r\n cleaning rendered website dir\r\n rendering templated website to static markdown\r\n rendering \"index.md.tmpl\"\r\n rendering \"resources/example.md.tmpl\"\r\n > cmp stdout expected-output.txt\r\n > cmp docs/index.md expected-index.md\r\n > cmp docs/resources/example.md expected-resource.md\r\n diff docs/resources/example.md expected-resource.md\r\n --- docs/resources/example.md\r\n +++ expected-resource.md\r\n @@ -48,17 +48,17 @@\r\n \r\n ### Nested Schema for `list_nested_block_optional_id`\r\n\r\n -Read-Only:\r\n -\r\n -- `id` (String) The ID of this resource.\r\n +Optional:\r\n +\r\n +- `id` (String)\r\n\r\n \r\n ### Nested Schema for `list_nested_block_required_id`\r\n\r\n -Read-Only:\r\n -\r\n -- `id` (String) The ID of this resource.\r\n +Required:\r\n +\r\n +- `id` (String)\r\n\r\n \r\n @@ -72,33 +72,33 @@\r\n \r\n ### Nested Schema for `set_nested_block_optional_id`\r\n\r\n -Read-Only:\r\n -\r\n -- `id` (String) The ID of this resource.\r\n +Optional:\r\n +\r\n +- `id` (String)\r\n\r\n \r\n ### Nested Schema for `set_nested_block_required_id`\r\n\r\n -Read-Only:\r\n -\r\n -- `id` (String) The ID of this resource.\r\n +Required:\r\n +\r\n +- `id` (String)\r\n\r\n \r\n ### Nested Schema for `single_nested_block_optional_id`\r\n\r\n -Read-Only:\r\n -\r\n -- `id` (String) The ID of this resource.\r\n +Optional:\r\n +\r\n +- `id` (String)\r\n\r\n \r\n ### Nested Schema for `single_nested_block_required_id`\r\n\r\n -Read-Only:\r\n -\r\n -- `id` (String) The ID of this resource.\r\n +Required:\r\n +\r\n +- `id` (String)\r\n\r\n \r\n @@ -114,7 +114,7 @@\r\n\r\n Read-Only:\r\n\r\n -- `id` (String) The ID of this resource.\r\n +- `id` (String)\r\n\r\n \r\n @@ -122,7 +122,7 @@\r\n\r\n Read-Only:\r\n\r\n -- `id` (String) The ID of this resource.\r\n +- `id` (String)\r\n\r\n \r\n @@ -130,4 +130,4 @@\r\n\r\n Read-Only:\r\n\r\n -- `id` (String) The ID of this resource.\r\n +- `id` (String)\r\n\r\n FAIL: testdata/scripts/schema-json/generate/nested_id_attribute.txtar:9: docs/resources/example.md and expected-resource.md differ\r\n```\r\n\r\nThe schema rendering logic could likely use a full refactoring as it has very high code complexity, but this change is only a very targeted fix for the acute and errant `id` attribute handling behavior.","shortMessageHtmlLink":"generate: Prevent automatic id attribute behaviors under blocks (#365)"}},{"before":"ca1cb5ba7cc11db8f958f3bec6bd28f8c2c64ba4","after":"f7f96f563d632d2c732a59ff2baa7a3a8bc8d699","ref":"refs/heads/bflad/id-special-handling","pushedAt":"2024-04-26T15:13:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Update CHANGELOG for #365","shortMessageHtmlLink":"Update CHANGELOG for #365"}},{"before":null,"after":"ca1cb5ba7cc11db8f958f3bec6bd28f8c2c64ba4","ref":"refs/heads/bflad/id-special-handling","pushedAt":"2024-04-26T15:11:57.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"generate: Prevent automatic id attribute behaviors under blocks\n\nReference: https://github.com/hashicorp/terraform-plugin-docs/issues/335\n\nPreviously, the automatic `id` attribute handling intended for root level schema blocks was applied to all blocks, causing the generator to errantly set the grouping to `Read-Only` and the description to `The ID of this resource`. This was captured via a new integration test:\n\n```\n--- FAIL: Test_SchemaJson_GenerateAcceptanceTests (0.00s)\n --- FAIL: Test_SchemaJson_GenerateAcceptanceTests/nested_id_attribute (0.25s)\n testscript.go:558: # Copyright (c) HashiCorp, Inc.\n # SPDX-License-Identifier: MPL-2.0\n # Ensure only root level id attribute receives automatic description (0.236s)\n > [!unix] skip\n > exec tfplugindocs --provider-name=terraform-provider-scaffolding --providers-schema=schema.json\n [stdout]\n rendering website for provider \"terraform-provider-scaffolding\" (as \"terraform-provider-scaffolding\")\n exporting schema from JSON file\n getting provider schema\n generating missing templates\n generating missing resource content\n generating new template for \"scaffolding_example\"\n generating missing data source content\n generating missing function content\n generating missing provider content\n generating new template for \"terraform-provider-scaffolding\"\n rendering static website\n cleaning rendered website dir\n rendering templated website to static markdown\n rendering \"index.md.tmpl\"\n rendering \"resources/example.md.tmpl\"\n > cmp stdout expected-output.txt\n > cmp docs/index.md expected-index.md\n > cmp docs/resources/example.md expected-resource.md\n diff docs/resources/example.md expected-resource.md\n --- docs/resources/example.md\n +++ expected-resource.md\n @@ -48,17 +48,17 @@\n \n ### Nested Schema for `list_nested_block_optional_id`\n\n -Read-Only:\n -\n -- `id` (String) The ID of this resource.\n +Optional:\n +\n +- `id` (String)\n\n \n ### Nested Schema for `list_nested_block_required_id`\n\n -Read-Only:\n -\n -- `id` (String) The ID of this resource.\n +Required:\n +\n +- `id` (String)\n\n \n @@ -72,33 +72,33 @@\n \n ### Nested Schema for `set_nested_block_optional_id`\n\n -Read-Only:\n -\n -- `id` (String) The ID of this resource.\n +Optional:\n +\n +- `id` (String)\n\n \n ### Nested Schema for `set_nested_block_required_id`\n\n -Read-Only:\n -\n -- `id` (String) The ID of this resource.\n +Required:\n +\n +- `id` (String)\n\n \n ### Nested Schema for `single_nested_block_optional_id`\n\n -Read-Only:\n -\n -- `id` (String) The ID of this resource.\n +Optional:\n +\n +- `id` (String)\n\n \n ### Nested Schema for `single_nested_block_required_id`\n\n -Read-Only:\n -\n -- `id` (String) The ID of this resource.\n +Required:\n +\n +- `id` (String)\n\n \n @@ -114,7 +114,7 @@\n\n Read-Only:\n\n -- `id` (String) The ID of this resource.\n +- `id` (String)\n\n \n @@ -122,7 +122,7 @@\n\n Read-Only:\n\n -- `id` (String) The ID of this resource.\n +- `id` (String)\n\n \n @@ -130,4 +130,4 @@\n\n Read-Only:\n\n -- `id` (String) The ID of this resource.\n +- `id` (String)\n\n FAIL: testdata/scripts/schema-json/generate/nested_id_attribute.txtar:9: docs/resources/example.md and expected-resource.md differ\n```\n\nThe schema rendering logic could likely use a full refactoring as it has very high code complexity, but this change is only a very targeted fix for the acute and errant `id` attribute handling behavior.","shortMessageHtmlLink":"generate: Prevent automatic id attribute behaviors under blocks"}},{"before":"65c39d3fc5d4ee71073b235aa47d29a447032c74","after":null,"ref":"refs/heads/bflad/migrate-no-more-append","pushedAt":"2024-04-26T14:05:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"0d49b43ceea9e02f3bf2f96b1e15c10a8d3269a2","after":"8a55c41f47b356af3f17e5aa98798ad49b6ba84e","ref":"refs/heads/main","pushedAt":"2024-04-26T14:05:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"migrate: Ensure idempotency when ran multiple times (#364)\n\nReference: https://github.com/hashicorp/terraform-plugin-docs/issues/362\r\n\r\nTo reproduce, copied an existing test case and ensured the test script included multiple `exec tfplugindocs migrate` invocations. This generated a test failure matching the bug report:\r\n\r\n```\r\n--- FAIL: Test_SchemaJson_MigrateAcceptanceTests (0.00s)\r\n --- FAIL: Test_SchemaJson_MigrateAcceptanceTests/time_provider_multiple_runs (0.32s)\r\n testscript.go:558: # Copyright (c) HashiCorp, Inc.\r\n # SPDX-License-Identifier: MPL-2.0\r\n # Multiple runs of tfplugindocs -migrate to verify idempotency (0.000s)\r\n # Run migrate command (0.301s)\r\n # Check template files (0.000s)\r\n > cmpenv templates/index.md.tmpl exp-templates/index.md.tmpl\r\n diff templates/index.md.tmpl exp-templates/index.md.tmpl\r\n --- templates/index.md.tmpl\r\n +++ exp-templates/index.md.tmpl\r\n @@ -31,36 +31,3 @@\r\n `triggers` are *not* treated as sensitive attributes; a value used for `triggers` will be displayed in Terraform UI output as plaintext.\r\n\r\n To force a these actions to reoccur without updating `triggers`, the [`terraform taint` command](https://www.terraform.io/docs/commands/taint.html) can be used to produce the action on the next run.\r\n ----\r\n -page_title: \"Provider: Time\"\r\n -description: |-\r\n - The time provider is used to interact with time-based resources.\r\n ----\r\n -\r\n -{{/* This template serves as a starting point for documentation generation, and can be customized with hardcoded values and/or doc gen templates.\r\n -\r\n -For example, the {{ .SchemaMarkdown }} template can be used to replace manual schema documentation if descriptions of schema attributes are added in the provider source code. */ -}}\r\n -\r\n -# Time Provider\r\n -\r\n -The time provider is used to interact with time-based resources. The provider itself has no configuration options.\r\n -\r\n -Use the navigation to the left to read about the available resources.\r\n -\r\n -## Resource \"Triggers\"\r\n -\r\n -Certain time resources, only perform actions during specific lifecycle actions:\r\n -\r\n -- `time_offset`: Saves base timestamp into Terraform state only when created.\r\n -- `time_sleep`: Sleeps when created and/or destroyed.\r\n -- `time_static`: Saves base timestamp into Terraform state only when created.\r\n -\r\n -These resources provide an optional map argument called `triggers` that can be populated with arbitrary key/value pairs. When the keys or values of this argument are updated, Terraform will re-perform the desired action, such as updating the base timestamp or sleeping again.\r\n -\r\n -For example:\r\n -\r\n -{{tffile \"examples/example_1.tf\"}}\r\n -\r\n -`triggers` are *not* treated as sensitive attributes; a value used for `triggers` will be displayed in Terraform UI output as plaintext.\r\n -\r\n -To force a these actions to reoccur without updating `triggers`, the [`terraform taint` command](https://www.terraform.io/docs/commands/taint.html) can be used to produce the action on the next run.\r\n\r\n FAIL: testdata/scripts/schema-json/migrate/time_provider_multiple_runs.txtar:13: templates/index.md.tmpl and exp-templates/index.md.tmpl differ\r\n```\r\n\r\nTo fix this, changed the internal logic from opening the template file multiple times with `os.O_APPEND` to opening the template file once with only `os.O_WRONLY|os.O_CREATE` and passing the file handle around instead.","shortMessageHtmlLink":"migrate: Ensure idempotency when ran multiple times (#364)"}},{"before":"8f5429054f5cbb8eeef7eb3aafef09034a53be03","after":"65c39d3fc5d4ee71073b235aa47d29a447032c74","ref":"refs/heads/bflad/migrate-no-more-append","pushedAt":"2024-04-26T13:51:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Update CHANGELOG for #364","shortMessageHtmlLink":"Update CHANGELOG for #364"}},{"before":null,"after":"8f5429054f5cbb8eeef7eb3aafef09034a53be03","ref":"refs/heads/bflad/migrate-no-more-append","pushedAt":"2024-04-26T13:22:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"migrate: Ensure idempotency when ran multiple times\n\nReference: https://github.com/hashicorp/terraform-plugin-docs/issues/362\n\nTo reproduce, copied an existing test case and ensured the test script included multiple `exec tfplugindocs migrate` invocations. This generated a test failure matching the bug report:\n\n```\n--- FAIL: Test_SchemaJson_MigrateAcceptanceTests (0.00s)\n --- FAIL: Test_SchemaJson_MigrateAcceptanceTests/time_provider_multiple_runs (0.32s)\n testscript.go:558: # Copyright (c) HashiCorp, Inc.\n # SPDX-License-Identifier: MPL-2.0\n # Multiple runs of tfplugindocs -migrate to verify idempotency (0.000s)\n # Run migrate command (0.301s)\n # Check template files (0.000s)\n > cmpenv templates/index.md.tmpl exp-templates/index.md.tmpl\n diff templates/index.md.tmpl exp-templates/index.md.tmpl\n --- templates/index.md.tmpl\n +++ exp-templates/index.md.tmpl\n @@ -31,36 +31,3 @@\n `triggers` are *not* treated as sensitive attributes; a value used for `triggers` will be displayed in Terraform UI output as plaintext.\n\n To force a these actions to reoccur without updating `triggers`, the [`terraform taint` command](https://www.terraform.io/docs/commands/taint.html) can be used to produce the action on the next run.\n ----\n -page_title: \"Provider: Time\"\n -description: |-\n - The time provider is used to interact with time-based resources.\n ----\n -\n -{{/* This template serves as a starting point for documentation generation, and can be customized with hardcoded values and/or doc gen templates.\n -\n -For example, the {{ .SchemaMarkdown }} template can be used to replace manual schema documentation if descriptions of schema attributes are added in the provider source code. */ -}}\n -\n -# Time Provider\n -\n -The time provider is used to interact with time-based resources. The provider itself has no configuration options.\n -\n -Use the navigation to the left to read about the available resources.\n -\n -## Resource \"Triggers\"\n -\n -Certain time resources, only perform actions during specific lifecycle actions:\n -\n -- `time_offset`: Saves base timestamp into Terraform state only when created.\n -- `time_sleep`: Sleeps when created and/or destroyed.\n -- `time_static`: Saves base timestamp into Terraform state only when created.\n -\n -These resources provide an optional map argument called `triggers` that can be populated with arbitrary key/value pairs. When the keys or values of this argument are updated, Terraform will re-perform the desired action, such as updating the base timestamp or sleeping again.\n -\n -For example:\n -\n -{{tffile \"examples/example_1.tf\"}}\n -\n -`triggers` are *not* treated as sensitive attributes; a value used for `triggers` will be displayed in Terraform UI output as plaintext.\n -\n -To force a these actions to reoccur without updating `triggers`, the [`terraform taint` command](https://www.terraform.io/docs/commands/taint.html) can be used to produce the action on the next run.\n\n FAIL: testdata/scripts/schema-json/migrate/time_provider_multiple_runs.txtar:13: templates/index.md.tmpl and exp-templates/index.md.tmpl differ\n```\n\nTo fix this, changed the internal logic from opening the template file multiple times with `os.O_APPEND` to opening the template file once with only `os.O_WRONLY|os.O_CREATE` and passing the file handle around instead.","shortMessageHtmlLink":"migrate: Ensure idempotency when ran multiple times"}},{"before":"eb49c34b363912914393e0b7473db977a6812ac7","after":"0d49b43ceea9e02f3bf2f96b1e15c10a8d3269a2","ref":"refs/heads/main","pushedAt":"2024-04-22T15:08:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"hc-github-team-tf-provider-devex","name":"Service Account - Terraform Provider DevEx","path":"/hc-github-team-tf-provider-devex","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/100357958?s=80&v=4"},"commit":{"message":"Update changelog","shortMessageHtmlLink":"Update changelog"}},{"before":"71771c97a6d1d1789e367f1d7e20e00cf9d8a732","after":null,"ref":"refs/heads/dependabot/go_modules/tools/golang.org/x/net-0.23.0","pushedAt":"2024-04-19T20:31:52.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"}},{"before":"e059d5ee05e6faee245cf265e0d3dad4ea04d7ed","after":"eb49c34b363912914393e0b7473db977a6812ac7","ref":"refs/heads/main","pushedAt":"2024-04-19T20:31:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bflad","name":"Brian Flad","path":"/bflad","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/189114?s=80&v=4"},"commit":{"message":"Bump golang.org/x/net from 0.17.0 to 0.23.0 in /tools (#359)\n\nBumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.\r\n- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: golang.org/x/net\r\n dependency-type: indirect\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump golang.org/x/net from 0.17.0 to 0.23.0 in /tools (#359)"}},{"before":"ece525e5716b170f0608f8a9643484bfcfbd357b","after":"71771c97a6d1d1789e367f1d7e20e00cf9d8a732","ref":"refs/heads/dependabot/go_modules/tools/golang.org/x/net-0.23.0","pushedAt":"2024-04-19T20:16:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump golang.org/x/net from 0.17.0 to 0.23.0 in /tools\n\nBumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.\n- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)\n\n---\nupdated-dependencies:\n- dependency-name: golang.org/x/net\n dependency-type: indirect\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump golang.org/x/net from 0.17.0 to 0.23.0 in /tools"}},{"before":"3bcb790bfeedbce118592ec3586c2db6d80e2ec6","after":null,"ref":"refs/heads/SBGoods/plainmarkdown-url-fix","pushedAt":"2024-04-19T19:50:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"SBGoods","name":"Selena Goods","path":"/SBGoods","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15186916?s=80&v=4"}},{"before":"c8e5e1f1d4be3614b185c312537cf52be2145ff1","after":"e059d5ee05e6faee245cf265e0d3dad4ea04d7ed","ref":"refs/heads/main","pushedAt":"2024-04-19T19:50:01.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"SBGoods","name":"Selena Goods","path":"/SBGoods","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15186916?s=80&v=4"},"commit":{"message":"Correctly handle `*ast.AutoLink` nodes in the `plainmarkdown` function (#361)\n\n* Write the node URL for `AutoLink` nodes\r\n\r\n* Add changelog entry","shortMessageHtmlLink":"Correctly handle *ast.AutoLink nodes in the plainmarkdown function ("}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAESGqAWQA","startCursor":null,"endCursor":null}},"title":"Activity ยท hashicorp/terraform-plugin-docs"}