Rename "master" branches?

Aperta
#2 6 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
git, github
Ambito
release

Direzione di ricerca

Read the discussion in this issue about renaming the project’s default branch and preserving old file links with Git symbolic refs. First determine whether the project has chosen a replacement name and whether GitHub’s default branch changes affect its repositories. The issue does not specify a change to make or a completion criterion; it needs a maintainer decision before implementation.

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

Descrizione

In the wake of recent events, several developers have chosen to rename the "master" branches on their projects, and GitHub has announced they will be changing the default branch name as well (although they haven't announced to what). It seems like "main", "develop", and "trunk" are all popular options.

Should we consider doing the same?

One problem with renaming branches is it breaks all existing links to files within repositories, however it appears that can be worked around via the use of git symrefs which allow the old name to point to the new name:

https://twitter.com/mountain_ghosts/status/1274060788580388868

Lingua principale
Nessun dato sulla lingua
Stelle
13
Fork
4
Merge medio
41m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 RustCrypto/meta

Tutte le issue di RustCrypto/meta

Issue simili

Altre issue su Release

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.