libgit2 / libgit2/pygit2

Repository migration commands

Open
#1,036 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.7k
Forks
408
Avg merge
2d 57m
Merged PRs (30d)
7

Description

Hi,

I am testing out using pygit2 to help me migrate a large set of repository from Gerrit to GitLab

I am basing the process on this document here

I am at the last part of

  • git push origin --all

  • git push --tags

    I would like to find out how I can do the above two commands via pygit2.

Cheers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked migration guide and compare its git push origin --all and git push --tags steps with pygit2's available repository operations. The issue is complete when it explains how to perform both pushes through pygit2, including any relevant limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.