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

Conversation

@ericdill
Copy link
Contributor

ericdill commented Feb 15, 2017

Also simplify some of the code

@codecov

This comment has been minimized.

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:

This comment has been minimized.

Copy link
@parente

parente Feb 15, 2017

Collaborator

sha256

@ericdill ericdill merged commit 2f2468d into Valassis-Digital-Media:master Feb 15, 2017
1 check was pending
1 check was pending
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@ericdill ericdill deleted the ericdill:always-validate branch Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.