Skip to content

Fixes auto-versioning to support left-padding - #45

Merged
wolfeidau merged 1 commit into
Versent:masterfrom
Clever:fix-auto-versioning
Aug 25, 2016
Merged

wolfeidau merged 1 commit into
Versent:masterfrom
Clever:fix-auto-versioning

Conversation

@alsmola

@alsmola alsmola commented Aug 24, 2016

Copy link
Copy Markdown

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
Copy Markdown
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
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

⌂ 换网址