Rename "master" branches?

Offen
#2 6 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
git, github
Bereich
release

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Keine Sprachdaten
Sterne
13
Forks
4
Ø Merge
41 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus RustCrypto/meta

Alle Issues in RustCrypto/meta

Ähnliche Issues

Weitere Issues zu Release

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.