Giter Club home page Giter Club logo

Comments (9)

thomastaylor312 avatar thomastaylor312 commented on May 14, 2024 1

We're updating install instructions though to just download the binary, so this shouldn't be a problem

from wadm.

andar1an avatar andar1an commented on May 14, 2024

Also noticed that crate failed to publish in worflow run here:
https://github.com/wasmCloud/wadm/actions/runs/4727114137/jobs/8387564660

Not sure how that wadm version is being installed haha, I don't find crate: https://crates.io/search?q=wadm

-> Didn't notice git flag haha

from wadm.

voigt avatar voigt commented on May 14, 2024

Tried to reproduce on an Ubuntu-22-04 VM via parallels, but same issue.

Btw, uninstalling wadm (after installing it without specifying the version) implies that it indeed doesn't like the .:

$ cargo uninstall wadm v0.4.0-alpha.1
    Removing /Users/c.voigt/.cargo/bin/wadm
error: invalid package ID specification: `v0.4.0-alpha.1`

Caused by:
  invalid character `.` in pkgid: `v0.4.0-alpha.1`, characters must be Unicode XID characters (numbers, `-`, `_`, or most letters)
     Summary Successfully uninstalled wadm! Failed to uninstall v0.4.0-alpha.1 (see error(s) above).
error: some packages failed to uninstall

from wadm.

andar1an avatar andar1an commented on May 14, 2024

were you able to drop the .1 to uninstall?

from wadm.

voigt avatar voigt commented on May 14, 2024

I didn't have to:

$ wadm git:(main) which wadm
/Users/c.voigt/.cargo/bin/wadm
$ wadm git:(main) wadm --version
wadm 0.4.0-alpha.1
$ wadm git:(main) cargo uninstall wadm v0.4.0-alpha.1
    Removing /Users/c.voigt/.cargo/bin/wadm
error: invalid package ID specification: `v0.4.0-alpha.1`

Caused by:
  invalid character `.` in pkgid: `v0.4.0-alpha.1`, characters must be Unicode XID characters (numbers, `-`, `_`, or most letters)
     Summary Successfully uninstalled wadm! Failed to uninstall v0.4.0-alpha.1 (see error(s) above).
error: some packages failed to uninstall
$ wadm git:(main) ll /Users/c.voigt/.cargo/bin/wadm
ls: /Users/c.voigt/.cargo/bin/wadm: No such file or directory

from wadm.

andar1an avatar andar1an commented on May 14, 2024

I need to read full messages lmao. I skim too much

from wadm.

andar1an avatar andar1an commented on May 14, 2024

Cargo uses semver for versioning, with a major.minor.patch-pre format:

major: Incompatible API changes
minor: Added functionality in backwards compatible manner
patch: Backwards compatible bug fixes
pre: Pre-release version tag (omitted for normal releases)

So dk why alpha doesn't work, maybe it is the .1 as you noticed.

from wadm.

thomastaylor312 avatar thomastaylor312 commented on May 14, 2024

As far as I can tell from the semver spec dots are entirely allowed in prerelease identifiers

from wadm.

brooksmtownsend avatar brooksmtownsend commented on May 14, 2024

Definitely fixed by updating the README, but in case you want to do it, this works!

cargo install wadm --version 0.4.0-alpha.2

from wadm.

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.