Skip to content

contrib/verifybinaries: allow filtering by platform#10276

Merged
laanwj merged 1 commit intobitcoin:masterfrom
knocte:filterByPlatformInVerifySh
Jun 22, 2017
Merged

contrib/verifybinaries: allow filtering by platform#10276
laanwj merged 1 commit intobitcoin:masterfrom
knocte:filterByPlatformInVerifySh

Conversation

@knocte
Copy link
Copy Markdown
Contributor

@knocte knocte commented Apr 25, 2017

Downloading all the binaries of all platforms can take quite long,
especially for slow connections, which may deter people from using
this script and, therefore, to disregard security altogether.

This change introduces the new possibility of specifying the
platform along with the version number, so that only the binaries
that contain the platform name are downloaded.

@knocte knocte force-pushed the filterByPlatformInVerifySh branch 2 times, most recently from 33fd0da to df77917 Compare April 25, 2017 11:26
@laanwj
Copy link
Copy Markdown
Member

laanwj commented Apr 25, 2017

Concept ACK, seems useful.

@jonasschnelli
Copy link
Copy Markdown
Contributor

Concept ACK

@laanwj
Copy link
Copy Markdown
Member

laanwj commented Jun 5, 2017

Just tested this. Found one issue: looks like the script hangs indefinitely when providing an argument that doesn't match any files.
E.g.

./verify.sh 0.12.0-linx

@knocte
Copy link
Copy Markdown
Contributor Author

knocte commented Jun 5, 2017

I'll fix it, thanks for the feedback.

Downloading all the binaries of all platforms can take quite long,
especially for slow connections, which may deter people from using
this script and, therefore, to disregard security altogether.

This change introduces the new possibility of specifying the
platform along with the version number, so that only the binaries
that contain the platform name are downloaded.
@knocte knocte force-pushed the filterByPlatformInVerifySh branch from df77917 to 8d4dafd Compare June 6, 2017 05:35
@knocte
Copy link
Copy Markdown
Contributor Author

knocte commented Jun 6, 2017

Updated: if a platform name is provided that doesn't match any files, it will fail now with an error instead of hanging.

NB: I don't know why the windows travis-CI build failed, looks unrelated to this...

@maflcko
Copy link
Copy Markdown
Member

maflcko commented Jun 6, 2017

ACK 8d4dafd

@laanwj laanwj merged commit 8d4dafd into bitcoin:master Jun 22, 2017
laanwj added a commit that referenced this pull request Jun 22, 2017
8d4dafd contrib/verifybinaries: allow filtering by platform (Andres G. Aragoneses)

Tree-SHA512: 5c117d18fd6e73cdbbf39c610f521bccb32ca7100eb8d5d5ed9c664514c37b32bd2f94f357b64c34f7c093e0c09312ecff330b7f5c708700d4b48643780ebac5
@laanwj
Copy link
Copy Markdown
Member

laanwj commented Jun 22, 2017

ACK 8d4dafd

PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 11, 2019
8d4dafd contrib/verifybinaries: allow filtering by platform (Andres G. Aragoneses)

Tree-SHA512: 5c117d18fd6e73cdbbf39c610f521bccb32ca7100eb8d5d5ed9c664514c37b32bd2f94f357b64c34f7c093e0c09312ecff330b7f5c708700d4b48643780ebac5
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants