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

Đang mở
#493 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, github
Lĩnh vực
build-system, devops

Hướng nghiên cứu

Bắt đầu bằng cách lần theo quy trình build tạo ra image ghcr.io/devcontainers/index và tệp devcontainer-index.json của nó. So sánh nội dung của image hiện tại và image trước đó, sau đó kiểm tra cách entry homebrew-package bị trùng được xử lý cho collection devcontainers-extra. Công việc được xem là hoàn tất khi index chứa bộ Features thông thường và trang containers.dev/features liệt kê chúng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Today I noticed that there's only a single devcontainers-extra feature 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 container, and indeed I spotted that the latest image (sha256:67c13a273e686aee435df0ae312d367608716ed1a1c30fdc34bf18203733ac83) contains only one feature for devcontainer-extra entry:

Pasted image 20241104203322

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

Pasted image 20241104203227

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

Pasted image 20241104203453

On the devcontainers-extra container registry I can see that that feature is kind of doubled:

image

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

Ngôn ngữ chính
HTML
Star
207
Fork
435
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của devcontainers/devcontainers.github.io

Tất cả issue của devcontainers/devcontainers.github.io

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.