Skip to content

Harden setup.sh and update README documentation#382

Open
kevmoo wants to merge 1 commit intosubosito:mainfrom
kevmoo:cleanup
Open

Harden setup.sh and update README documentation#382
kevmoo wants to merge 1 commit intosubosito:mainfrom
kevmoo:cleanup

Conversation

@kevmoo
Copy link
Copy Markdown

@kevmoo kevmoo commented Feb 25, 2026

  • Added 'set -o pipefail' to setup.sh for better error propagation
  • Hardened curl calls with -fL for robust downloads and redirect handling
  • Simplified positional argument parsing using 'shift'
  • Added 'GIT_SOURCE' to environment and test mode outputs
  • Fixed overlapping 'pub-cache-path' example in README.md
  • Documented 'GIT_SOURCE' output in README.md examples

Summary by CodeRabbit

  • New Features

    • GIT_SOURCE is now included in exported outputs for downstream consumption.
  • Bug Fixes

    • Improved error handling for HTTP operations and manifest retrieval.
  • Improvements

    • Enhanced default variable initialization with sensible defaults.
    • Updated default cache path configuration.

- Added 'set -o pipefail' to setup.sh for better error propagation
- Hardened curl calls with -fL for robust downloads and redirect handling
- Simplified positional argument parsing using 'shift'
- Added 'GIT_SOURCE' to environment and test mode outputs
- Fixed overlapping 'pub-cache-path' example in README.md
- Documented 'GIT_SOURCE' output in README.md examples
@kevmoo
Copy link
Copy Markdown
Author

kevmoo commented Feb 25, 2026

I did double-check things here, but this is mostly Gemini-generated. FYI.

coderabbitai[bot]

This comment was marked as resolved.

Repository owner deleted a comment from coderabbitai bot Mar 17, 2026
@subosito
Copy link
Copy Markdown
Owner

sorry for the comment noise @kevmoo, thanks for the PR 👍

Repository owner deleted a comment from coderabbitai bot Mar 17, 2026
Repository owner deleted a comment from coderabbitai bot Mar 17, 2026
@kevmoo
Copy link
Copy Markdown
Author

kevmoo commented Mar 17, 2026

Do worries, @subosito ! We use this everywhere. Run w/ it as you will.

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.

2 participants