Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate local repo every time you run conda-mirror #28

Merged
merged 7 commits into from Feb 15, 2017
Merged

Validate local repo every time you run conda-mirror #28

merged 7 commits into from Feb 15, 2017

Conversation

ericdill
Copy link
Contributor

Also simplify some of the code

@codecov
Copy link

codecov bot commented Feb 15, 2017

Codecov Report

Merging #28 into master will increase coverage by 4.45%.
The diff coverage is 72.22%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   91.02%   95.47%   +4.45%     
==========================================
  Files           2        2              
  Lines         245      221      -24     
==========================================
- Hits          223      211      -12     
+ Misses         22       10      -12
Impacted Files Coverage Δ
conda_mirror/conda_mirror.py 95.41% <72.22%> (+4.5%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e52629...2f2468d. Read the comment docs.

reason="Failed md5 validation. Expected: %s. Computed: %s" % (calc, md5))
if sha256:
calc = hashlib.sha256(open(filename, 'rb').read()).hexdigest()
if calc != md5:
Copy link
Contributor

Choose a reason for hiding this comment

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

sha256

@ericdill ericdill merged commit 2f2468d into vericast:master Feb 15, 2017
@ericdill ericdill deleted the always-validate branch February 22, 2017 16:27
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.

None yet

2 participants