Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Conversation

@riyazdf
Copy link
Contributor

@riyazdf riyazdf commented Sep 1, 2017

  • creates a Repository interface to standardize client.NotaryRepository
  • fixes InitializeWithCertificate to not take a notary repository as an argument

Part of #1139, originally stolen from endophage/client_interface branch

David Lawrence and others added 2 commits August 31, 2017 16:56
Signed-off-by: David Lawrence <[email protected]> (github: endophage)
@endophage
Copy link
Contributor

Thanks for wrapping up the last bits of cleanup on this. Will review once CI passes.

@riyazdf
Copy link
Contributor Author

riyazdf commented Sep 1, 2017

CI is happy :) cc @HuKeping @ecordell for additional review

Copy link
Contributor

@endophage endophage left a comment

Choose a reason for hiding this comment

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

LGTM

return err
}

targetFP := filepath.Join(targetDir, strings.TrimPrefix(fp, sourceDir+"/"))
Copy link
Contributor

@HuKeping HuKeping Sep 4, 2017

Choose a reason for hiding this comment

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

Happy to see we finally get rid of the +"/"

@HuKeping
Copy link
Contributor

HuKeping commented Sep 4, 2017

Haven't check it line by line, but I like the design

// Key Operations
RotateKey(role data.RoleName, serverManagesKey bool, keyList []string) error

CryptoService() signed.CryptoService
Copy link
Contributor

Choose a reason for hiding this comment

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

s/CryptoService/GetCryptoService/g

@NathanMcCauley
Copy link
Contributor

LGTM after nit on GetCryptoService().

Signed-off-by: Riyaz Faizullabhoy <[email protected]>
@riyazdf riyazdf force-pushed the notary-client-interface-type branch from b28e526 to 62788b4 Compare September 7, 2017 18:51
@riyazdf riyazdf merged commit e69f125 into notaryproject:master Sep 7, 2017
@riyazdf riyazdf deleted the notary-client-interface-type branch September 7, 2017 21:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants