Skip to content

Conversation

@jgarber623
Copy link

@jgarber623 jgarber623 commented Jan 20, 2026

At some point in the recent past, I started getting installation errors when using this Feature:

nanolayer.installers.gh_release.resolvers.asset_resolver.AssetResolver.AssetResolverError: Too many matches found

The shellcheck v0.11.0 release added some assets a few weeks ago, which could be the trigger that caused the above error:

https://github.com/koalaman/shellcheck/releases/tag/v0.11.0

I've added a pretty basic regex filter on the asset name that should limit the matches to .tar.xz files. If there's a more appropriate regex to use, please let me know.

I successfully tested this pattern locally by using the gh-release feature with the following configuration:

"ghcr.io/devcontainers-extra/features/gh-release:1": {
  "repo": "koalaman/shellcheck",
  "binaryNames": "shellcheck",
  "assetRegex": "shellcheck-.*.tar.xz$"
},

Thanks for considering this change! Appreciate your time.

At some point in the recent past, I started getting installation errors when using this Feature:

```
nanolayer.installers.gh_release.resolvers.asset_resolver.AssetResolver.AssetResolverError: Too many matches found
```

The shellcheck v0.11.0 release added some assets a few weeks ago, which _could_ be the trigger that caused the above error:

https://github.com/koalaman/shellcheck/releases/tag/v0.11.0

I've added a pretty basic regex filter on the asset name that should limits the matches to gzipped tar files. If there's a more appropriate regex to use, please let me know.

I successfully tested this pattern locally by using the gh-release feature with the following configuration:

```json
"ghcr.io/devcontainers-extra/features/gh-release:1": {
  "repo": "koalaman/shellcheck",
  "binaryNames": "shellcheck",
  "assetRegex": "shellcheck-.*.tar.gz$"
},
```

Signed-off-by: Jason Garber <jason@sixtwothree.org>
@jgarber623
Copy link
Author

Note, too, that previous Shellcheck releases contained many fewer assets:

shellcheck v0.11.0 introduced `tar.gz` files. Previous releases exclusively use `tar.xz`.

Signed-off-by: Jason Garber <jason@sixtwothree.org>
Signed-off-by: Jason Garber <jason@sixtwothree.org>
@jgarber623
Copy link
Author

Apologies for the test failures. I've made the following changes:

  • use .tar.xz for compatibility with pre-v0.11.0 releases
  • bump shellcheck Feature version to v1.1.0

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.

1 participant