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

spk ls -t to sort by time #1040

Open
dcookspi opened this issue Jun 10, 2024 · 0 comments
Open

spk ls -t to sort by time #1040

dcookspi opened this issue Jun 10, 2024 · 0 comments
Labels
agenda item Items to be brought up at the next dev meeting

Comments

@dcookspi
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Sometimes users want to list the versions or builds by time to see which ones were published first (or last). It would be good to have a way to sort ls output by time, or reverse time.

Describe the solution you'd like

Add a -t flag to spk ls to sort by time, either from a field in the package's metada or the time from tag file on disk.

For example, if you had a situation where python versions had been published in this order: 3.9.7, 3.10.10, and 3.10.8, then spk ls -t python would output:

> spk ls -t python
3.9.7
3.10.10
3.10.8
@dcookspi dcookspi added the agenda item Items to be brought up at the next dev meeting label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda item Items to be brought up at the next dev meeting
Projects
None yet
Development

No branches or pull requests

1 participant