Skip to content

Natural-sort tags, sorting test, minimal typo#16

Merged
mlabouardy merged 1 commit into
mlabouardy:masterfrom
nicovillanueva:master
Apr 15, 2018
Merged

Natural-sort tags, sorting test, minimal typo#16
mlabouardy merged 1 commit into
mlabouardy:masterfrom
nicovillanueva:master

Conversation

@nicovillanueva
Copy link
Copy Markdown
Contributor

@nicovillanueva nicovillanueva commented Apr 13, 2018

Description

Originally, the Docker Registry returns the tag names ordered as strings (e.g., 1.100.0, 1.2.0, 1.30.0, etc...)
It'd be great if the tags were "humanely ordered"; also known as, natural order.

Related issues

#5

Changes proposed

  1. Implemented a sorter.go
  2. Added a few minimal tests for it
  3. Also fixed a few typos, and added a .gitignore file

Screenshots

https://imgur.com/a/QoxZV

@mlabouardy mlabouardy merged commit 9f968b1 into mlabouardy:master Apr 15, 2018
f9n pushed a commit to f9n/nexus-cli that referenced this pull request Aug 8, 2019
Natural-sort tags, sorting test, minimal typo
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