Skip to content

server: add sort option#184

Open
rck wants to merge 1 commit into
genuinetools:masterfrom
LINBIT:master
Open

server: add sort option#184
rck wants to merge 1 commit into
genuinetools:masterfrom
LINBIT:master

Conversation

@rck

@rck rck commented Apr 23, 2019

Copy link
Copy Markdown

This adds a '--sort' to the 'server' sub-command. Currently there is
only one sort option, which is by create date. I assumed that his is
useful in general, compared to a random order, so I made this the
default.

This is slightly over engineered, but makes it easier to add additional
sorting options later. One that comes to my mind is sorting by tag (some
kind of natsort/semversort).

Signed-off-by: Roland Kammerer roland.kammerer@linbit.com

@rck

rck commented May 8, 2019

Copy link
Copy Markdown
Author

It's now 2 weeks without feedback, is there anything I can do? @jessfraz maybe?

@jessfraz

Copy link
Copy Markdown
Collaborator

ah dope can we change "create-date" to "created" and update the readme :)

so sorry for the delay this is awesome :)

This adds a '--sort' to the 'server' sub-command. Currently there is
only one sort option, which is by create date. I assumed that his is
useful in general, compared to a random order, so I made this the
default.

This is slightly over engineered, but makes it easier to add additional
sorting options later. One that comes to my mind is sorting by tag (some
kind of natsort/semversort).

Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
@rck

rck commented Jun 11, 2019

Copy link
Copy Markdown
Author
  • changed to "created"
  • added "--sort" to README.md, and while at it, sorted "server -h" in README.md to match the actual cli output (guess new options have been appended, so it got unsorted).
  • rebased to current master

@rck

rck commented Jun 26, 2019

Copy link
Copy Markdown
Author

@jessfraz Time for another 2 weeks reminder :-). Anything else missing?

@joseluisq

Copy link
Copy Markdown

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants