Skip to content

Deprecate tfproviderdocs in favor of swissshepherd - #400

Merged
YakDriver merged 5 commits into
mainfrom
deprecate-tfproviderdocs
Jun 11, 2026
Merged

Deprecate tfproviderdocs in favor of swissshepherd#400
YakDriver merged 5 commits into
mainfrom
deprecate-tfproviderdocs

Conversation

@YakDriver

Copy link
Copy Markdown
Owner
  • Remove broken token-expiration workflow
  • Deprecate tfproviderdocs in favor of swissshepherd

The workflow checked a hard-coded TOKEN_EXPIRATION_DATE of 2025-12-01.
That date has since passed, so DAYS_LEFT is now negative and the
"-le 7" check is permanently true, causing a fresh
"YAKBOT_GITHUB_TOKEN Expiration Alert" issue to be filed every day at
midnight. The token itself is no longer needed, so delete the workflow
rather than refresh the date.
All functionality of tfproviderdocs has been superseded by
github.com/YakDriver/swissshepherd. Announce deprecation across every
surface a user, contributor, or downstream tool is likely to read:

- README.md: prominent ⚠️ Deprecated banner above the title.
- AGENTS.md: matching banner for contributors and AI agents.
- CHANGELOG.md: dated "Deprecated — 2026-06-11" entry.
- main.go: package-level "// Deprecated:" doc comment, plus a
  printDeprecationNotice helper invoked at startup that writes a
  banner to stderr (keeps stdout clean for CI parsers).
- go.mod: canonical Go module deprecation comment block above the
  module directive, so "go list -m -u" and "go get" surface a warning
  to consumers (https://go.dev/ref/mod#go-mod-file-module-deprecation).

No functional changes to the check command itself; existing tests
still pass.
@YakDriver YakDriver changed the title Deprecate tfproviderdocs Deprecate tfproviderdocs in favor of swissshepherd Jun 11, 2026
Add a doc.go to each subpackage (check, check/contents, command,
markdown, version) carrying the canonical Go package doc comment plus
a "Deprecated:" paragraph. Picked up by go doc, pkg.go.dev, and gopls
hovers, so any (rare) library importer of these packages sees the
deprecation in their tooling. Complements the existing module-level
deprecation in go.mod and the package doc on main.go.

@YakDriver YakDriver left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@YakDriver
YakDriver merged commit c03fec3 into main Jun 11, 2026
6 checks passed
@YakDriver
YakDriver deleted the deprecate-tfproviderdocs branch June 11, 2026 15:52
@YakDriver
YakDriver restored the deprecate-tfproviderdocs branch June 11, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant