Skip to content

Enable make readme target to use atmos docs generate#1988

Merged
aknysh merged 5 commits intomainfrom
osterman/makefile-readme-docs
Jan 18, 2026
Merged

Enable make readme target to use atmos docs generate#1988
aknysh merged 5 commits intomainfrom
osterman/makefile-readme-docs

Conversation

@osterman
Copy link
Copy Markdown
Member

@osterman osterman commented Jan 17, 2026

what

  • Switched make readme from a disabled stub to using the atmos docs generate readme command
  • README.md is now regenerated from README.yaml and remote template when running make readme

why

The atmos docs generate readme command is fully implemented and working. Enabling the makefile target allows developers to regenerate the README.md following the documented workflow (edit README.yaml → run make readme).

references

Implements the intended workflow where make readme generates README.md from data sources and templates, consistent with the modern docs generation infrastructure in Atmos.

Summary by CodeRabbit

  • Documentation

    • Expanded README introduction with a fuller description of Atmos and cloud/tooling use cases.
    • Moved/added Developer Tools guidance into the development docs (duplicated content present) and removed it from the README.
    • Updated copyright year to 2026.
  • Chores

    • Readme generation now runs as part of the build process.

✏️ Tip: You can customize this high-level summary in your review settings.

Switch from disabled stub to using the `atmos docs generate readme` command to regenerate README.md from README.yaml and remote template. This aligns with the implemented docs generate functionality and allows readme generation to work with `make readme`.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@osterman osterman requested review from a team as code owners January 17, 2026 20:46
@github-actions github-actions bot added the size/s Small size PR label Jan 17, 2026
@mergify
Copy link
Copy Markdown

mergify bot commented Jan 17, 2026

Important

Cloud Posse Engineering Team Review Required

This pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes.

To expedite this process, reach out to us on Slack in the #pr-reviews channel.

@mergify mergify bot added the needs-cloudposse Needs Cloud Posse assistance label Jan 17, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 17, 2026

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

@osterman osterman added the no-release Do not create a new release (wait for additional code changes) label Jan 17, 2026
osterman and others added 2 commits January 17, 2026 14:48
Move the Developer Tools section (testing Atmos in Geodesic) from README.md to docs/development.md where it belongs with other developer documentation.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 17, 2026

📝 Walkthrough

Walkthrough

Makefile's readme target changed from a no-op stub to a functional target that depends on build and runs a readme generation command; README.md content updated (intro expanded, Developer Tools section removed, copyright year bumped to 2026); docs/development.md adds a Developer Tools section (duplicated).

Changes

Cohort / File(s) Summary
Build configuration
Makefile
readme target converted from an echo/no-op to a real target that depends on build and runs ./build/atmos docs generate readme; .PHONY updated to include readme.
Top-level documentation
README.md
Expanded introductory paragraph and emphasis text; removed the Developer Tools section; updated copyright year to 2017-2026; minor spacing adjustments.
Developer docs
docs/development.md
Added a Developer Tools section describing a script to test Atmos changes in a Geodesic container — the block is duplicated (appears twice).

Sequence Diagram(s)

(omitted)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Disable Build Harness #993: Previously replaced the readme Makefile target with a disabled placeholder; strongly related to re-enabling/altering that target.
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: enabling the make readme target to use the atmos docs generate command, which aligns with the PR's core objective.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch osterman/makefile-readme-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 17, 2026

Caution

Review failed

The head commit changed during the review from 5d3eca7 to 15d9fb5.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch osterman/makefile-readme-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.91%. Comparing base (bd75dba) to head (14006b2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1988      +/-   ##
==========================================
+ Coverage   74.90%   74.91%   +0.01%     
==========================================
  Files         777      777              
  Lines       71302    71302              
==========================================
+ Hits        53409    53417       +8     
+ Misses      14413    14406       -7     
+ Partials     3480     3479       -1     
Flag Coverage Δ
unittests 74.91% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify
Copy link
Copy Markdown

mergify bot commented Jan 17, 2026

💥 This pull request now has conflicts. Could you fix it @osterman? 🙏

@mergify mergify bot added the conflict This PR has conflicts label Jan 17, 2026
Resolved Makefile conflict by keeping:
- Worktree detection logic from main (for development environments)
- Working readme target from feature branch (uses atmos docs generate readme)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mergify mergify bot removed the conflict This PR has conflicts label Jan 17, 2026
aknysh
aknysh previously approved these changes Jan 17, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

34-36: Tighten grammar in the intro paragraph.

Line 35 reads a bit ungrammatically (“Its strength in managing … and is supported …”). Consider a small edit for flow.

✏️ Suggested edit
-Its strength in managing DRY configurations at scale for Terraform and is supported by robust design patterns, comprehensive documentation, and a passionate community, making it a versatile tool for both startups and enterprises.
+Its strength in managing DRY configurations at scale for Terraform is supported by robust design patterns, comprehensive documentation, and a passionate community, making it a versatile tool for both startups and enterprises.
🤖 Fix all issues with AI agents
In `@docs/development.md`:
- Around line 144-168: Update the wording in docs/development.md (section
"Testing Atmos in Geodesic") to clarify that the Atmos-managed credentials path
`~/.config/atmos/` follows XDG conventions and can be overridden by the
XDG_CONFIG_HOME environment variable; specifically, change the sentence that
currently states "Atmos-managed AWS credentials from `~/.config/atmos/`
(following XDG conventions)" to indicate that the default is `~/.config/atmos/`
but the actual location is determined by XDG_CONFIG_HOME if set (e.g.,
"$XDG_CONFIG_HOME/atmos or fallback to ~/.config/atmos"), and mention that the
scripts/test-geodesic-prebuilt.sh behavior will respect that lookup.
🧹 Nitpick comments (1)
Makefile (1)

20-21: Looks good — consider marking readme as phony.

Nice to see the target wired to ./build/atmos docs generate readme. As a small hardening step, consider adding readme to the .PHONY list to avoid any collision if a file named readme appears.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@Makefile`:
- Around line 20-21: The readme target runs ./build/atmos which can be
non-executable if GOOS/GOARCH were set for cross-compiles; update the readme
recipe (target name: readme) to clear or override GOOS/GOARCH for just that
invocation (for example invoke the binary with GOOS= GOARCH= or use env -u GOOS
-u GOARCH ./build/atmos) so the host-built ./build/atmos is executed regardless
of the developer's cross-compile environment.

@aknysh aknysh merged commit 10080ca into main Jan 18, 2026
56 checks passed
@aknysh aknysh deleted the osterman/makefile-readme-docs branch January 18, 2026 00:43
@mergify mergify bot removed the needs-cloudposse Needs Cloud Posse assistance label Jan 18, 2026
@github-actions
Copy link
Copy Markdown

These changes were released in v1.204.1-rc.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-release Do not create a new release (wait for additional code changes) size/s Small size PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants