Giter VIP home page Giter VIP logo

Comments (6)

parabuzzle avatar parabuzzle commented on May 31, 2024

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.

elsmorian avatar elsmorian commented on May 31, 2024

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.

parabuzzle avatar parabuzzle commented on May 31, 2024

@elsmorian can you check with parabuzzle/craneoperator:2.1.5 and see if this is working now?

from craneoperator.

elsmorian avatar elsmorian commented on May 31, 2024

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.

elsmorian avatar elsmorian commented on May 31, 2024

I have attempted #34 which might help!?

from craneoperator.

parabuzzle avatar parabuzzle commented on May 31, 2024

fixed in 2.1.8.

from craneoperator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.