Giter VIP home page Giter VIP logo

Comments (5)

angstwad avatar angstwad commented on July 23, 2024

Not sure why it's doing this, but it is. I've manually updated in Galaxy several times to no effect.

In the meantime, let's assume the best installation method is to install from git:

ansible-galaxy install git+https://github.com/angstwad/docker.ubuntu

from docker.ubuntu.

luka5z avatar luka5z commented on July 23, 2024

I suspect it is due to the fact that ansible-galaxy takes latest version based on alphabetical order, exactly like Github tags are sorted.

from docker.ubuntu.

gotgenes avatar gotgenes commented on July 23, 2024

I believe @luka5z is correct. The tags need to be consistent; that is, it should be published as "v1.1.5" instead of "1.1.5"

$ python
Python 2.7.11 (default, Jan 22 2016, 08:29:18)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 'v1.1.1' > '1.1.5'
True
>>> 'v' > '1'
True
>>>

In the meantime, users can explicitly specify the version to get the latest, after manually looking up what the latest version is.

ansible-galaxy install angstwad.docker_ubuntu,1.1.5

from docker.ubuntu.

angstwad avatar angstwad commented on July 23, 2024

This is fixed with the v1.1.6 and I'll get around to re-tagging in the future sometime.

from docker.ubuntu.

gotgenes avatar gotgenes commented on July 23, 2024

This is resolved now.

I'll note that from the discussion in this Stack Overflow question, as well as this Stack Overflow question about the v-prefix. While using a v-prefix for VCS tags is accepted (see SemVerTag on SemVer 1.0.0), in SemVer 2.0.0, that recommendation was removed. This is touched on in the FAQ of a yet unreleased version of SemVer spec.

So docker.ubuntu should get released without v prefixes, but if you want to use v-prefixes in your Git tags, that's okay, but an outdated practice.

Technically you were doing the right thing by making releases without the v-prefix. You'll have to correct the old release versions to drop the v-prefix to get ansible-galaxy to cooperate with you, though.

from docker.ubuntu.

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.