Skip to content

Conversation

@thelovekesh
Copy link
Collaborator

Add outdated command to get list of outdated packages.

Example:

$ wpm outdated
wpm outdated v0.1.6

amp [plugin] 
├── current: 2.5.0
└── latest:  2.5.5 (patch update)

jetpack [plugin] (dev)
├── current: 15.2.0
└── latest:  15.3.1 (minor update)

@thelovekesh thelovekesh added the command any changes to the wpm cli command label Jan 17, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @thelovekesh, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the wpm CLI tool by integrating a new outdated command. This command empowers users to easily identify and manage their project's dependencies by providing a clear, structured overview of packages that are not running their latest versions. It streamlines the process of keeping projects up-to-date by categorizing updates and presenting information in an accessible format.

Highlights

  • New outdated command: Introduces a new wpm outdated command to check for outdated dependencies (plugins and themes) in a project.
  • Dependency Version Checking: The command reads wpm.json and wpm.lock files to identify currently installed package versions and then fetches the latest available versions from the registry.
  • Outdated Package Reporting: It displays a list of outdated packages, indicating their current and latest versions, along with the type of update (major, minor, or patch) and whether they are development dependencies.
  • Concurrent Processing: Utilizes golang.org/x/sync/errgroup to concurrently fetch package manifests, improving performance when checking multiple dependencies.
  • Formatted Output: Presents the outdated package information in a user-friendly, color-coded format, highlighting the severity of updates.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link

📦 wpm cli builds 📦

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new outdated command to check for outdated dependencies, which is a great addition to the CLI's functionality. The implementation is well-structured, using concurrent checks for performance and providing a clear, user-friendly output. I've identified a critical bug concerning goroutine variable capturing that must be fixed. Additionally, I've provided a high-severity suggestion to improve the correctness of the outdated check logic and a medium-severity suggestion for a minor code cleanup. With these changes, the new command will be robust and reliable.

@thelovekesh thelovekesh merged commit 3350a90 into main Jan 17, 2026
15 checks passed
@thelovekesh thelovekesh deleted the add/outdated-command branch January 17, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command any changes to the wpm cli command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants