libgit2 / libgit2/pygit2

Does pygit2 implements 'git push --mirror'?

Offen
#801 4 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature
Vorherrschende Sprache
Python
Sterne
1.7k
Forks
408
Ø Merge
2 T. 57 Min.
Gemergte PRs (30 T.)
7

Beschreibung

Does pygit2 implements 'git push --mirror'? If yes, please advice or point me to the documentation. Thanks in advance.

I am working on a script which mirrors a repository and pushes to another repository. As I understand, remote.push only pushes the explicitly defined refspec. Is there a way to push the complete repository similar to 'git push --mirror'?

#feature #support

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Start with the pygit2 remote.push entry point and its documentation, then compare its refspec behavior with the requested git push --mirror operation. Done means establishing whether complete repository mirroring is supported and documenting the supported usage or the missing capability.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git, python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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