Comments (6)
yea, that method is super fragile (only supports semantic versioned tags). I need to make it a bit more resilient to tags that aren't semver based.
Thanks for the bug report @slillibri, I'll see if I can find some time to fix that for you this week. (or you could send a Pull Request 😉 )
from craneoperator.
Hi, just to say I am also hitting this with tags named "2016.09_02", I tried to have a look if I could submit a Pull Request but I have no Ruby experience and doesn't look super easy having a quick glance of the sort_versions
method.
However, might be only a small change, at least in my case - I guess it would be to restrict the valid_version_numbers
regex to only match the semantic versioning you are talking about, and then append a naturally sorted version of whatever other tags are there - we chose ours intact so a natural sort would do the right thing, and from a quick Python trial I would guess Ruby would too :)
>>> versions = ["2017.02_07", "2016.01_03", "2016.10_02", "2017.01_14"]
>>> versions.sort()
>>> versions
['2016.01_03', '2016.10_02', '2017.01_14', '2017.02_07']
from craneoperator.
@elsmorian can you check with parabuzzle/craneoperator:2.1.5 and see if this is working now?
from craneoperator.
I can confirm I no longer hit this and the UI loads and populates fine, thanks very much for the update!
Our tags (as described above) are not being sorted, would be super handy to have even the non-semantic tags attempt to be sorted!
from craneoperator.
I have attempted #34 which might help!?
from craneoperator.
fixed in 2.1.8.
from craneoperator.
Related Issues (20)
- Display layer information
- fix minor logic typo
- Add Token Login HOT 7
- running behind reverse proxy HOT 6
- Container still appears in list after deleting all Tags HOT 8
- Left Hand of Home page display ‘Containers’ ? HOT 1
- Add ability to login via github HOT 2
- Infinite loop in /api/containers
- Oj::ParseError at /api/containers ind server.rb
- Update CircleCI HOT 1
- Docker image digest
- Line break in long base64 Authorization header causing 401
- Support OCI images
- Support to show image size HOT 1
- New feature request - Add arm64 architecture support
- Invalid login credentials
- build image docker error
- Integrate with Nexus Repository
- HTTPS issue to local registry:2 HOT 2
- Image delete has no function 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 craneoperator.