Skip to content

build-gnu.sh: retry curl 5 times - #391

Closed
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:patch-2
Closed

oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:patch-2

Conversation

@oech3

@oech3 oech3 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@codspeed

codspeed Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 7 untouched benchmarks


Comparing oech3:patch-2 (bd5cd69) with main (20658bb)

Open in CodSpeed

Comment thread util/build-gnu.sh
mkdir -p "${path_GNU}"
cd "${path_GNU}"
curl -fsSL https://ftpmirror.gnu.org/tar/tar-1.35.tar.xz -o gnu-tar.tar.xz
curl -fsSL --retry 5 https://ftpmirror.gnu.org/tar/tar-1.35.tar.xz -o gnu-tar.tar.xz

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

No, this is just us setting up to DoS some poor system. We need to cache this on GH and use that. I'll try to do that this evening or tomorrow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We met cache slashing at uutils/coreutils repo at cache action. We need our mirror.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

How about for m in mirror_list;do curl ...?

@oech3 oech3 closed this Oct 6, 2026
@oech3
oech3 deleted the patch-2 branch October 6, 2026 12:25
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