Skip to content

Add API-Throttling Fall-back#5

Merged
ferricoxide merged 4 commits into
plus3it:mainfrom
ferricoxide:FixRace
Jun 29, 2026
Merged

Add API-Throttling Fall-back#5
ferricoxide merged 4 commits into
plus3it:mainfrom
ferricoxide:FixRace

Conversation

@ferricoxide

Copy link
Copy Markdown
Member

As originally implemented, this formula would attempt to fall back to querying the GitHub API for "latest availalbe version" if a download_uri value was not specified via Pillar. While this works reasonably-reliably when this formula is the only one resorting to this method, if there are other formulae doing so in the same SaltStack run, the GitHub API's rate-limits may be breached and this formula will fail. This PR adds a "fallback of last resort" parameter in case the GitHub API's rate-limiting results in no usable download URI being returned via the primary fallback logic.

* Use a fallback-URI if GitHub doesn't return a valid installation-
  source
* Update the installer arg-list to one that won't get munged if
  flattened
@ferricoxide ferricoxide requested review from a team June 29, 2026 16:02
dwc0011
dwc0011 previously approved these changes Jun 29, 2026
@mergify

mergify Bot commented Jun 29, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ferricoxide ferricoxide merged commit aed5027 into plus3it:main Jun 29, 2026
9 checks passed
@ferricoxide ferricoxide deleted the FixRace branch June 30, 2026 16:19
ferricoxide added a commit to ferricoxide/git-bash-formula that referenced this pull request Jun 30, 2026
@ferricoxide ferricoxide mentioned this pull request Jun 30, 2026
ferricoxide added a commit that referenced this pull request Jun 30, 2026
ferricoxide added a commit that referenced this pull request Jun 30, 2026
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