Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes auto-versioning to support left-padding #45

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

alsmola
Copy link
Contributor

@alsmola alsmola commented Aug 24, 2016

Unicreds doesn't left-pad the version (#34), resulting in the same bug as credstash had (fugue/credstash#51) where versions after 10 don't sort properly.

This change left-pads the version if it is automatically calculated using ResolveVersion or set as the first version via Put.

I added a note the README describing how someone might migrate, pointing to the credstash script to update.

@wolfeidau
Copy link
Contributor

👍 amazing pull request, thanks for taking the time to document the changes.

I will update the mock which broke tests, time to regenerate these during build to avoid this in the future.

Will triage the mock issue then merge this later tonight Melbourne/AU time.

@wolfeidau wolfeidau merged commit 1e56fd0 into Versent:master Aug 25, 2016
@alsmola alsmola deleted the fix-auto-versioning branch August 25, 2016 17:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants