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

Remove the git compatibility links in /usr/bin

Đang mở
#7,822 0 bình luận 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, git
Lĩnh vực
infrastructure

Hướng nghiên cứu

The payload names the symlinks to drop (git, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, scalar) but not the installer file that creates them, so start by searching the repo for where install-tool git links into /usr/bin. Remove those links and confirm /usr/local/bin/git still resolves. Done means the links are gone and the release-notes entry exists. Check with a maintainer first, since this is a breaking change for the next major release.

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

Mô tả

breaking

What would you like containerbase to do?

In the next major release, remove the compatibility symlinks install-tool git creates in /usr/bin (git, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, scalar).

Why

  • With the prebuild (#7778) git is linked into /usr/local/bin like every other tool.
  • Ubuntu's git lived in /usr/bin, so the extra links keep hardcoded /usr/bin/git paths and restricted PATHs (cron, sudo secure_path, systemd units) working in minor releases.

Proposal

  • Drop the /usr/bin links from the git installer.
  • Mention it in the release notes: use git from PATH or /usr/local/bin/git.

Drafted by Claude Opus 5.5 (Claude Code) for @viceice.

Ngôn ngữ chính
TypeScript
Star
58
Fork
65
Merge trung bình
10 giờ 37 phút
Pull request đã merge (30 ngày)
462

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có 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 containerbase/base

Tất cả issue của containerbase/base

Issue tương tự

Thêm issue về TypeScript

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.