Skip to content

Conversation

@jgarber623
Copy link
Contributor

@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
Contributor 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
Contributor 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

Copy link
Member

@koralowiec koralowiec left a comment

Choose a reason for hiding this comment

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

Hi Jason! Thanks for the fix!

@koralowiec koralowiec merged commit f11a9d7 into devcontainers-extra:main Jan 20, 2026
5 checks passed
@koralowiec
Copy link
Member

The updated version of the feature will be released once this workflow is done

@jgarber623 jgarber623 deleted the patch-1 branch January 21, 2026 21:06
@jgarber623
Copy link
Contributor Author

@koralowiec Thanks for the merge!

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