[tbb-bugs] #23557 [Applications/Tor Browser]: rbm should download again an input file if it is not matching the expected sha256sum
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Sep 20 10:08:35 UTC 2017
#23557: rbm should download again an input file if it is not matching the expected
sha256sum
-------------------------------------------+------------------------------
Reporter: boklm | Owner: boklm
Type: task | Status: needs_review
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-rbm, TorBrowserTeam201709 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------+------------------------------
Comment (by boklm):
To test the patch on a computer where doing a full build would take too
much time, I created the file `projects/bug_23557/config` with this
content:
{{{
# vim: filetype=yaml sw=2
version: 1
build: |
#!/bin/sh
echo ok
input_files:
- URL: https://people.torproject.org/~boklm/tmp/msvcr100.dll
sha256sum:
8793353461826fbd48f25ea8b835be204b758ce7510db2af631b28850355bd18
}}}
Then I ran:
{{{
/path/to/rbm build bug_23557
}}}
Checked the hash of the file in `out/bug_23557/msvcr100.dll`.
Updated the URL and hash of `msvcr100.dll` in `projects/bug_23557/config`,
then ran again:
{{{
/path/to/rbm build bug_23557
}}}
Then checked that `out/bug_23557/msvcr100.dll` was changed.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23557#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list