Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Feature freeze: delete unnecessary files from new 3.x branch

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
release

Hướng nghiên cứu

Start by tracing the release automation used when the first beta branches a new 3.x line, then compare its intended behavior with python/cpython issue 158399. The change is done when the listed main-only files are removed from the new branch, missing files produce warnings rather than failures, and the release automation still completes successfully.

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

Mô tả

enhancement

Short version: automate https://github.com/python/cpython/issues/158399.

Longer version:

There's a number of files that are only needed in the main branch, for example:

.github/CONTRIBUTING.rst
.github/dependabot.yml
.github/ISSUE_TEMPLATE/
.github/PULL_REQUEST_TEMPLATE.md
.github/SECURITY.md
.github/workflows/add-issue-header.yml
.github/workflows/new-bugs-announce-notifier.yml
.github/workflows/project-updater.yml
.github/workflows/stale.yml
.well-known/funding-manifest-urls

At the feature freeze, when we branch off main as part of the first beta release and create a new branch (for example, this will next happen when we create 3.16 in May 2027), let's have the script delete these files from the new 3.x branch.

The script shouldn't fail if a file isn't found -- we may have removed it from main. If so, we could print a warning something like "filename.ext not found. If no longer in main, remove from this script".

Ngôn ngữ chính
Python
Star
61
Fork
48
Merge trung bình
5 giờ 50 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 python/release-tools

Tất cả issue của python/release-tools

Issue tương tự

Thêm issue về Python

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.