Repo rename is not happening as expected

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

Maintainer thường phản hồi trong vòng 2 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
devops

Hướng nghiên cứu

Start by tracing how Safe Settings handles a repository rename when the repository name and a file name change in the same pull request; the issue names no source files or tests. Check the force_create: false path and how file changes are associated with repository names. Done means the existing repository is renamed instead of treated as a new repository.

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

Mô tả

bug

If user wants to rename repo, if he update repo name and file name in same PR, safe settings treats it as new repository, do not rename existing repository

If force_create: false, then safe settings just logs info force_create is set to false, skipping repo creation
Safe Settings should track file level changes like file rename as per repo name, and rename existing repository
Error output, if available

NA


Context

Are you using the hosted instance of probot/settings or running your own?

Own Setup

If running your own instance, are you using it with github.com or GitHub Enterprise?

GitHub Enterprise, using self hosted Safe Settings in AKS cluster

Version of probot/settings
Version of GitHub Enterprise
Ngôn ngữ chính
JavaScript
Star
942
Fork
238
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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.

Issue khác của github-community-projects/safe-settings

Tất cả issue của github-community-projects/safe-settings

Issue tương tự

Thêm issue về JavaScript

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.