Enable publishing updates to non-latest major.minor tags for GitHub action
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
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách truy vết các workflow ci_main, ci_common và ci_branch hiện tại, đồng thời xác định tệp JSON Azure DevOps nào cung cấp phiên bản. So sánh các trigger hiện có về phiên bản, tag và release của chúng với flow ci_release được đề xuất và các branch release/XXX. Hoàn thành khi có thể cập nhật các tag major.minor của GitHub action không phải là phiên bản mới nhất mà không làm gián đoạn việc phát hành task của Azure DevOps.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
As identified in #223, there is currently a gap in the automated releases for this repo.
Versioning for the GitHub action uses tags in the repo. When someone references devcontainers/ci@vX.Y the workflow runner will look for the vX.Y tag in the repo to fetch.
For the Azure DevOps task, the code is packaged as a VSIX file and submitted to the store. The version of the extension matches the version used in the GitHub release tag. In addition to the extension version, tasks within an extension have their own versions (and there can be multiple versions of a task in sepearate folders in the extension - see here).
So, for Azure DevOps tasks a breaking change can be handled by creating a new task version in a folder alongside the existing task. We can publish updates to either task version in a new extension published from main.
The capability that we want to enable is releasing versions of the GitHub action prior to the latest major.minor version (e.g. new versions of v0.2)
The current versioning process:
- read version from AzDO json file (** which one?)
- set outputs based on the major + minor from json file, and patch from build number
- set patch from output for AzDO
- set tags from outputs for GH
Proposed versioning process:
- new JSON file with major/minor values. Allows for different values per-branch
- read JSON file to set outputs
- rename ci_main to ci_release
- Add params to ci_common to control whether to publish GH and whether to publish AzDO
- ci_release (prev. ci_main) sets publish GH to true, and publish AzDO to true when on release/XXX
- ci_branch sets publish to false for both GH & AzDO
- Update triggers for ci_release to include release/XXX branches
- Ngôn ngữ chính
- TypeScript
- Star
- 496
- Fork
- 102
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của devcontainers/ci
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
devcontainers/ci#446 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
devcontainers/ci#445 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
devcontainers/ci#444 · 1 bình luận · 3 reaction ·
-
devcontainers/ci#442 · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
devcontainers/ci#437 ·
Tất cả issue của devcontainers/ci
Issue tương tự
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Crush Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
ElementsProject/cln-application#167 · 1 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Quantco/pnpm-licenses#17 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100