Comments (3)
@usta @captn3m0 Um, I may be missing something obvious at the moment, but why exactly are we letting the stupid machine reorder our releases (and often screw it up) in the first place?
I see that the sorting was introduced in #42, which references issue #25. And @captn3m0 writes this in the initial issue comment #25 (comment):
It makes sense to sort by release date (in desc order
so newer releases are at the top).(...)
Since releases are a map currently, it is hard to sort them.
This is no longer relevant, because releases
are lists now, not maps. See just about any product page source:
endoflife.date/products/python.md
Lines 16 to 27 in 383f384
Lists in YAML are guaranteed to preserve order, so the sorting is not needed - if you don't sort it, it will always have exactly the same order in which you specify individual releases
.
So I really think we should drop this entire | sort
thing here:
endoflife.date/_layouts/product.html
Lines 30 to 31 in 383f384
and just {% for r in page.releases %}
. By doing this, we finally put trust into humans that they know in what order they want releases
to be displayed.
from endoflife.date.
The sort_natural filter doesn't work, so perhaps we need a sort_version
filter of our own.
from endoflife.date.
I like this idea, would clean up the code as well.
from endoflife.date.
Related Issues (20)
- SapMachine 21 Update HOT 1
- [Request - Product] cURL HOT 1
- How to dynamically query releaseLabel or cycle from windows or windows-server devices HOT 3
- [Request - Product] Sitecore HOT 1
- Review Kirby support and EOL policy HOT 3
- [Request - Product] Alertmanager HOT 1
- Palo Alto Networks GlobalProtect App 6.0 End of Life Date correction HOT 2
- [Request - Product] OpenSSH HOT 6
- Bug CORS enforced HOT 5
- [Request - Product] wolfSSL
- [Request - Product] openSIPS
- fyne2epl9J HOT 2
- Liberica CRaC JDK
- [electron] Add Chrome, Node version from timelines as customColumns
- List projects in the Apache Attic on endoflife.date HOT 1
- Flux2 HOT 2
- [Request - Product] Cisco IOS, Cisco NX-OS and Arista EOS HOT 3
- [Request - Product] TypeScript HOT 1
- [Request - Product] Microsoft Visual Studio Code HOT 1
- [motorola-mobility] Update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from endoflife.date.