Code Monkey home page Code Monkey logo

Comments (12)

danielbachhuber avatar danielbachhuber commented on May 23, 2024

Which WP-CLI version are you running?

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

1.4.1, updated to reflect this.

I'm trying to build a 1.5.0 now to see if the problem goes away.

from doctor-command.

danielbachhuber avatar danielbachhuber commented on May 23, 2024

There were a couple prior instances of this but I can't recall the source:

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

Heh, you're better at searching github than I, I couldn't find shit. I should probably learn the search terms.

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

yeah it's still broken with 1.5.0

from doctor-command.

danielbachhuber avatar danielbachhuber commented on May 23, 2024

Oh, I see. It looks like you're running doctor v0.1.0. Can you update doctor to latest with wp package update?

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

Hmm. it shouldn't be that version. I did a clean removal and reinstall in my repo before building the RPM. It's pulling from dev-master.

Maybe my build is broken. Will look into that.

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

Yeah, 0.1.0 is what it's reading as the current version:

# export WP_CLI_PACKAGES_DIR=/opt/wp-cli-plugins ; /usr/local/bin/wp --allow-root package update
Using Composer to update packages...
---
Loading composer repositories with package information
Updating dependencies
Resolving dependencies through SAT
Dependency resolution completed in 1.086 seconds
Analyzed 5357 packages to resolve dependencies
Analyzed 311446 rules to resolve dependencies
Package operations: 0 installs, 0 updates, 0 removals
Generating autoload files
---
Success: Packages updated.
# export WP_CLI_PACKAGES_DIR=/opt/wp-cli-plugins ; /usr/local/bin/wp --allow-root package list
+------------------------+------------------+------------+-----------+----------------+
| name                   | authors          | version    | update    | update_version |
+------------------------+------------------+------------+-----------+----------------+
| wp-cli/doctor-command  | Daniel Bachhuber | v0.1.0     | available | dev-master     |
| wp-cli/profile-command |                  | dev-master | available | dev-master     |
+------------------------+------------------+------------+-----------+----------------+

Is this not accurate?

from doctor-command.

danielbachhuber avatar danielbachhuber commented on May 23, 2024

Is this not accurate?

Nope. You'll need to update wp-cli/doctor-command to the latest dev-master because the fix hasn't been included in a tagged release yet.

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

How do I update to dev-master? Doing package update leaves me on v0.1.0, as shown in my previous comment.

from doctor-command.

danielbachhuber avatar danielbachhuber commented on May 23, 2024

Can you try WP_CLI_PACKAGES_DIR=/opt/wp-cli-plugins wp package install wp-cli/doctor-command, to force a re-install without a version constraint? It seems like there might be a version constraint in your /opt/wp-cli-plugins/composer.json file.

from doctor-command.

jalavoy avatar jalavoy commented on May 23, 2024

Yep that was it. Somehow the composer.json wasn't being updated by my rpm. All set now.

Thanks much for the assist.

from doctor-command.

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.