PowerShell / PowerShell/PSResourceGet

Support for Repository Definition in RequiredModulesFeature Request

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

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

Ngôn ngữ chính
C#
Star
576
Fork
114
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
7

Mô tả

Summary of the new feature/enhancement

Currently, all modules are assumed to come from a single repository on Install. I would like to be able to define a repository name for any module objects listed in the RequiredModules array of the manifest so PowerShellGet knows where to find them when they are hosted in different places.

Proposed technical implementation details (optional)

RequiredModules = @(
  @{ModuleName="MyDependentModule"; ModuleVersion="2.0"; Repository="PrivateRepo"},
  @{ModuleName="PublicDependentModule"; ModuleVersion="1.0"; Repository="PSGallery"}
)

Optionally, if I could define just RepositoryUrl and not need to register a repository, that would be another helpful use case.

Duplicate of https://github.com/PowerShell/PowerShellGet/issues/356.

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

Đọc issue trùng lặp được liên kết, issue #356, sau đó truy vết cách Install xử lý RequiredModules trong repository PSResourceGet. Công việc được hoàn tất khi các mục mô-đun có thể chọn Repository riêng của chúng như minh họa và phương án thay thế RepositoryUrl được làm rõ hoặc được hỗ trợ; xác nhận hành vi dựa trên phạm vi bao phủ kiểm thử hiện có của dự án.

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

Đánh giá

Công nghệ
csharp, powershell
Lĩnh vực
cli, 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
Khá rõ ràng
Mức phù hợp với người mới
20/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.