libgit2 / libgit2/pygit2

Does pygit2 implements 'git push --mirror'?

Đang mở
#801 4 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

feature
Ngôn ngữ chính
Python
Star
1.7k
Fork
408
Merge trung bình
2 ngày 57 phút
Pull request đã merge (30 ngày)
7

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
git, python
Lĩnh vực
tooling
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.