Make shutil.make_archive have deterministic sorting

Aperta
#68,653 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.