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

cmd/digest: import crypto algorithms #2428

Merged
merged 1 commit into from
Oct 23, 2017

Conversation

zhouhaibing089
Copy link
Contributor

the digest cli does not work if we do not import this two packages,
tested in go1.9. basically, we have to make several algorithms to
be available by calling crypto.RegisterHash in init functions.

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "algo-import" [email protected]:zhouhaibing089/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

the digest cli does not work if we do not import this two packages,
tested in go1.9. basically, we have to make several algorithms to
be available by calling crypto.RegisterHash in init functions.

Signed-off-by: zhouhaibing089 <[email protected]>
@codecov
Copy link

codecov bot commented Oct 14, 2017

Codecov Report

Merging #2428 into master will decrease coverage by 9.58%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2428      +/-   ##
==========================================
- Coverage   60.32%   50.74%   -9.59%     
==========================================
  Files         126      126              
  Lines       14436    14436              
==========================================
- Hits         8708     7325    -1383     
- Misses       4844     6367    +1523     
+ Partials      884      744     -140
Impacted Files Coverage Δ
registry/storage/driver/gcs/gcs.go 0.32% <0%> (-66.13%) ⬇️
registry/storage/driver/oss/oss.go 0.45% <0%> (-56.5%) ⬇️
registry/storage/driver/s3-aws/s3.go 4.07% <0%> (-55.4%) ⬇️
registry/storage/driver/s3-goamz/s3.go 0.4% <0%> (-52.4%) ⬇️
registry/client/transport/transport.go 68.75% <0%> (-8.75%) ⬇️

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 7484e51...d662081. Read the comment docs.

@stevvooe
Copy link
Collaborator

LGTM

@stevvooe stevvooe merged commit 3800056 into distribution:master Oct 23, 2017
@zhouhaibing089 zhouhaibing089 deleted the algo-import branch October 31, 2017 02: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.

3 participants