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

Unify the logic of annotations for storages: alphabets, lengths, hashes, v1/v2 keys #538

Merged
merged 6 commits into from
Sep 9, 2020

Conversation

nolar
Copy link
Owner

@nolar nolar commented Sep 9, 2020

What do these changes do?

Extract the logic of annotations (v1/v2, etc) into a mixin, and use the same logic of suffixing for the diff-base storage too.

This is a preparational PR for #539

Description

Annotations logic and ensuring that it works with K8s API seems to be sophisticated enough to make it reusable, not only available for the progress annotations (handlers' state) but for all annotation storages.

Issues/PRs

Issues: #372

Related: #529 #346

Checklist

  • The code addresses only the mentioned problem, and this problem only
  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt

@nolar nolar added the refactoring Code cleanup without new features added label Sep 9, 2020
@nolar nolar force-pushed the annotations-mixin branch from aadf0d6 to 71b48c0 Compare September 9, 2020 19:43
@nolar nolar merged commit 576ec87 into master Sep 9, 2020
@nolar nolar deleted the annotations-mixin branch September 9, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code cleanup without new features added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant