Skip to content

Harden setup.sh and update README documentation#382

Open
kevmoo wants to merge 1 commit into
subosito:mainfrom
kevmoo:cleanup
Open

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

Conversation

@kevmoo

@kevmoo kevmoo commented Feb 25, 2026

Copy link
Copy Markdown
  • 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

kevmoo commented Feb 25, 2026

Copy link
Copy Markdown
Author

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

kevmoo commented Mar 17, 2026

Copy link
Copy Markdown
Author

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