devcontainers / devcontainers/devcontainers.github.io

Bug: Not all features from a collection are picked by the index

オープン
#493 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
207
フォーク
434
平均マージ
2日 7時間
マージ済み PR(30日)
2

説明

Today I noticed that there's only a single [devcontainers-extra feature](https://github.com/devcontainers-extra/features) listed on https://containers.dev/features page (which is odd because all of them were listed previously)

I decided to check if it's reflected in [ghcr.io/devcontainers/index](https://github.com/orgs/devcontainers/packages/container/package/index) container, and indeed I spotted that the latest image (`sha256:67c13a273e686aee435df0ae312d367608716ed1a1c30fdc34bf18203733ac83`) contains only one feature for devcontainer-extra entry:

![Pasted image 20241104203322](https://github.com/user-attachments/assets/901945f4-3547-40dc-b587-03450ea3eae7)

While the previous image (`sha256:5bbca131daff58a0ad98af37d527a0bd7c0c4e0c99bca4e9cb0b78fa34e3aa7e`) contains the normal number of devcontainer-extra features:

![Pasted image 20241104203227](https://github.com/user-attachments/assets/094c1bb1-f296-4698-9417-e5e83335d3ac)

The currently available feature is `ghcr.io/devcontainers-extra/features/homebrew-package`

![Pasted image 20241104203453](https://github.com/user-attachments/assets/aab723d3-7246-492f-8a29-777d25b2d88f)

On the [devcontainers-extra container registry](https://github.com/orgs/devcontainers-extra/packages?tab=packages&q=homebrew-package) I can see that that feature is kind of doubled:

![image](https://github.com/user-attachments/assets/3439d6c2-5ff5-4775-92f7-e9817767dce7)

That's probably something I messed up, and as the result it messed up the process that is producing the index image with `devcontainer-index.json` file (so it only contains that single feature for devcontainers-extra collection)

Nevertheless, I don't know how that build process works, so I cannot check what exactly causes the issue and try to fix it (it was also mentioned in #480)

My only assumption is that it may be fixed when I remove doubled homebrew-package feature. Although the 1st image is namespaced with `ghcr.io/devcontainers-extra`, while the second is namespaced with `ghcr.io/devcontainers-extra/features`, so it still could be something else

@bamurtaugh is it possible to get more information about the build process of ghcr.io/devcontainers/index image? It may help to clarify what causes the issue, and maybe with fixing it

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。