Add wrapper to be able to tie the version to a repository

Đang mở
#2,280 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 1 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Start by reading the repository's CLI entry points and configuration and installation documentation to understand how OpenSpec is currently installed, configured, and launched. Then assess how a repository-local wrapper could select and download a pinned version, support enterprise proxies, and handle committed profiles; done means those behaviors and their configuration are defined and work across repositories.

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

Mô tả

enhancement needs-triage
The problem, in one or two sentences

If there are multiple people working on the same repo or I work on multiple repos with committed skills, there's always tool version vs skills version drift. And If skills are not committed, then there's always inconsistent behaviour between team members for the same repo, and still high chance of skills version vs tool version drift across multiple repos.

Who this affects

Anyone working on multiple repos and/or in a team environment.

Alternatives you considered

The only option really is to update everything at once, which is cumbersome and forcing team members to update is not viable as well.

Why it's worth the added complexity

It will fix version consistency issues across the team and multiple repos. And provide a way to configure the tool within a repo.

What you have in mind

There are very convenient wrappers, like e.g. Maven Wrapper or Gradle Wrapper, that allow you to drop a couple of scripts into your repo and use them instead of the tool. They wrap it, download the executable into a cache and run it.
The benefits are significant in my opinion:

  • it binds tool version to the config persisted in the repo, so it never drifts,
  • team members don't need any setup, it just works for them,
  • each repo can have it's own version and can be updated independently.
    It'd be convenient to have config (i.e. profiles) to be committed along in the repo as well. And for folks in enterprise it would be important to have an option to download executable from their corporate proxy.
Ngôn ngữ chính
TypeScript
Star
76k
Fork
5.2k
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
58

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 Fission-AI/OpenSpec

Tất cả issue của Fission-AI/OpenSpec

Issue tương tự

Thêm issue về TypeScript

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.