Skip to content

registry: add porter (github:getporter/porter)#8380

Merged
jdx merged 3 commits intojdx:mainfrom
lbergnehr:feat/registry-add-porter
Feb 28, 2026
Merged

registry: add porter (github:getporter/porter)#8380
jdx merged 3 commits intojdx:mainfrom
lbergnehr:feat/registry-add-porter

Conversation

@lbergnehr
Copy link
Contributor

Add Porter to the registry. Porter is a CNAB bundle authoring and management tool.

An explicit asset_pattern is needed because Porter releases contain multiple binaries (porter-*, exec-*, agent-*) and mise's autodetection picks the wrong asset.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, 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 expands the available tools in the registry by integrating Porter, a robust CNAB bundle management solution. The primary goal is to enable users to easily install and manage Porter through the system, with specific configuration to handle its unique release asset structure and ensure proper binary detection.

Highlights

  • New Tool Added: Porter, a CNAB bundle authoring and management tool, has been added to the registry.
  • Custom Asset Pattern: An explicit asset_pattern has been configured for Porter to ensure mise correctly identifies the porter binary among multiple release assets.
Changelog
  • registry/porter.toml
    • Added new configuration file for Porter.
    • Defined description, test command, and GitHub backend.
    • Specified a custom asset_pattern to correctly locate the porter binary.
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.

Copy link
Contributor

@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 adds support for porter. The configuration looks good for Linux and macOS, but it will fail on Windows because the asset pattern doesn't account for the .exe extension and the bin option would incorrectly name the binary. I've suggested a fix that uses platform-specific backend configurations to handle Windows correctly.

@greptile-apps
Copy link

greptile-apps bot commented Feb 27, 2026

Greptile Summary

Adds Porter (CNAB bundle authoring tool) to the mise registry with GitHub backend. The implementation uses an explicit asset_pattern to select the correct binary from releases that contain multiple executables. The pattern correctly uses template functions os(macos='darwin') and arch(x64='amd64') to match Porter's naming convention across platforms.

Confidence Score: 4/5

  • Safe to merge with one minor style fix needed
  • The PR adds a simple, well-formed registry entry following established patterns. The asset_pattern syntax is correct and matches similar tools. Only issue is missing trailing newline.
  • No files require special attention beyond the style fix noted

Important Files Changed

Filename Overview
registry/porter.toml Adds Porter tool to registry with explicit asset_pattern; missing trailing newline

Last reviewed commit: b0abc03

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@lbergnehr lbergnehr force-pushed the feat/registry-add-porter branch from 821043f to 040f6b0 Compare February 27, 2026 17:16
full = "github:getporter/porter"

[backends.options]
asset_pattern = "porter-{{ os(macos='darwin') }}-{{ arch(x64='amd64') }}{% if os() == 'windows' %}.exe{% endif %}"
Copy link
Owner

Choose a reason for hiding this comment

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

does it not work without this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately not because there are other assets that will get selected instead of the porter binary in the github release.

@jdx jdx merged commit 3bb4794 into jdx:main Feb 28, 2026
33 checks passed
mise-en-dev added a commit that referenced this pull request Feb 28, 2026
### 🚀 Features

- **(backend-plugin)** pass options to vfox backend plugins by
@Attempt3035 in [#8369](#8369)

### 🐛 Bug Fixes

- **(install)** prevent --locked mode from modifying or bypassing
lockfile by @jdx in [#8362](#8362)
- **(install)** clear aqua bin_paths cache after install to prevent
stale PATH by @jdx in [#8374](#8374)
- **(task)** prevent broken pipe panic and race condition in remote git
task cache by @vmaleze in [#8375](#8375)

### 📦️ Dependency Updates

- update docker/build-push-action digest to 10e90e3 by @renovate[bot] in
[#8367](#8367)
- update fedora:43 docker digest to 781b764 by @renovate[bot] in
[#8368](#8368)

### 📦 Registry

- add porter
([github:getporter/porter](https://github.com/getporter/porter)) by
@lbergnehr in [#8380](#8380)
- add entire ([aqua:entireio/cli](https://github.com/entireio/cli)) by
@TyceHerrman in [#8378](#8378)
- add topgrade
([aqua:topgrade-rs/topgrade](https://github.com/topgrade-rs/topgrade))
by @TyceHerrman in [#8377](#8377)

### Chore

- remove pre-commit config and tool dependency by @jdx in
[#8373](#8373)

### New Contributors

- @Attempt3035 made their first contribution in
[#8369](#8369)
- @lbergnehr made their first contribution in
[#8380](#8380)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants