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

Use correct SI units in output of `xbps-install` and `xbps-remove`

Đang mở
#445 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c
Lĩnh vực
cli

Hướng nghiên cứu

Start by locating the output-formatting entry points for the xbps-install and xbps-remove commands. Check how package sizes and their suffixes are calculated and printed; done means binary units use the correct IEC labels and a space separates each number from its unit.

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

Mô tả

enhancement
  • Package size numbers (and maybe other sizes) are calculated/displayed in units based on powers of 2 (e.g. KiB), but the wrong unit is displayed, namely units based on powers of 10 (e.g. KB).
  • There should be a space between the number and the unit suffix which is 1) standard according to SI and 2) more readable.
Ngôn ngữ chính
C
Star
1.2k
Fork
152
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 void-linux/xbps

Tất cả issue của void-linux/xbps

Issue tương tự

Thêm issue về C

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.