Skip to content

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jan 30, 2023

We have an existing version_key helper function for sorting versions.

It also does a better job, producing output like:

All recent (non-legacy) installable versions are:
         3.1.31
         3.1.31-asserts
         3.1.30
         3.1.30-asserts
         3.1.29
         3.1.29-asserts

Rather than:

All recent (non-legacy) installable versions are:
         3.1.31
         3.1.30
         3.1.29
         3.1.28
         3.1.27

(with -assert versions listed after 3.1.0)

We have an existing `version_key` helper function for sorting versions.

It also does a better job, producing output like:

```
All recent (non-legacy) installable versions are:
         3.1.31
         3.1.31-asserts
         3.1.30
         3.1.30-asserts
         3.1.29
         3.1.29-asserts
```

Rather than:

```
All recent (non-legacy) installable versions are:
         3.1.31
         3.1.30
         3.1.29
         3.1.28
         3.1.27
```

(with -assert versions listed after 3.1.0)
@sbc100 sbc100 requested review from juj and dschuff January 30, 2023 17:13
@sbc100 sbc100 merged commit 6305e91 into main Jan 30, 2023
@sbc100 sbc100 deleted the use_version_key branch January 30, 2023 23:46
shlomif pushed a commit to shlomif/emsdk that referenced this pull request Sep 29, 2023
We have an existing `version_key` helper function for sorting versions.

It also does a better job, producing output like:

```
All recent (non-legacy) installable versions are:
         3.1.31
         3.1.31-asserts
         3.1.30
         3.1.30-asserts
         3.1.29
         3.1.29-asserts
```

Rather than:

```
All recent (non-legacy) installable versions are:
         3.1.31
         3.1.30
         3.1.29
         3.1.28
         3.1.27
```

(with -assert versions listed after 3.1.0)
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