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

Deprecate merkle packages #2715

Merged
merged 5 commits into from
Apr 22, 2022
Merged

Conversation

pav-kv
Copy link
Contributor

@pav-kv pav-kv commented Apr 22, 2022

Trillian is using https://github.com/transparency-dev/merkle. The merkle packages
in Trillian will be removed in next releases.

Part of #2338.

Checklist

@pav-kv pav-kv requested a review from a team as a code owner April 22, 2022 14:37
@pav-kv pav-kv requested a review from mhutchinson April 22, 2022 14:37
@pav-kv pav-kv force-pushed the annotate_merkle_deprecation branch from 3cac284 to 9c4b768 Compare April 22, 2022 14:39
@pav-kv
Copy link
Contributor Author

pav-kv commented Apr 22, 2022

Hmm, I wonder how to silence the self-warnings about deprecated packages using themselves.

@pav-kv
Copy link
Contributor Author

pav-kv commented Apr 22, 2022

There must be some "silencing" annotations for golangci linter.

@pav-kv pav-kv requested review from jiggoha and removed request for mhutchinson April 22, 2022 15:01
@pav-kv pav-kv force-pushed the annotate_merkle_deprecation branch from c3a042c to dbd34c1 Compare April 22, 2022 15:03
merkle/compact/range.go Outdated Show resolved Hide resolved
Copy link
Contributor

@jiggoha jiggoha left a comment

Choose a reason for hiding this comment

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

Does merkle/compact/nodes.go also need to be annotated?

@pav-kv
Copy link
Contributor Author

pav-kv commented Apr 22, 2022

@jiggoha It's ok to annotate only one file per package, because the package comments are "global" within package. So, a single comment in one file deprecates the entire package.

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.

2 participants