Make shutil.make_archive have deterministic sorting

Đang mở
#68,653 9 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
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Start with tar-reproducible-testcase.py and the make_archive-stable-ordering.patch attachment, then inspect shutil.make_archive and the related tarfile behavior. Check dependency bpo-30693 before changing the archive ordering. Done means the testcase demonstrates deterministic sorting for shutil.make_archive(format='tar') without leaving recursive tar.add ordering unresolved.

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

Mô tả

stdlib type-feature
BPO 24465
Nosy @rhettinger, @gustaebel, @bitdancer
Dependencies
  • bpo-30693: tarfile add uses random order
  • Files
  • tar-reproducible-testcase.py: Testcase for stable tar ordering patch
  • tarfile-stable-ordering.patch: Patch to fix issue
  • make_archive-stable-ordering.patch: Patch to make shutil.make_archive(format='tar') determinstic, but not tar.add(recursive=True)
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2015-06-18.12:14:12.795>
    labels = ['type-feature', 'library']
    title = 'Make shutil.make_archive have deterministic sorting'
    updated_at = <Date 2017-06-18.22:09:51.534>
    user = 'https://bugs.python.org/samthursfield'
    

    bugs.python.org fields:

    activity = <Date 2017-06-18.22:09:51.534>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-06-18.12:14:12.795>
    creator = 'samthursfield'
    dependencies = ['30693']
    files = ['39727', '39728', '39770']
    hgrepos = []
    issue_num = 24465
    keywords = ['patch']
    message_count = 9.0
    messages = ['245464', '245465', '245466', '245467', '245469', '245493', '245497', '245498', '245628']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'lars.gustaebel', 'r.david.murray', 'samthursfield']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24465'
    versions = ['Python 3.6']
    

    Ngôn ngữ chính
    Python
    Star
    77.2k
    Fork
    36k
    Merge trung bình
    1 ngày 9 giờ
    Pull request đã merge (30 ngày)
    558

    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 python/cpython

    Tất cả issue của python/cpython

    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.