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

Aperta
#2,280 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
76k
Fork
5.2k
Merge medio
1g 5h
PR unite (30g)
58

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Fission-AI/OpenSpec

Tutte le issue di Fission-AI/OpenSpec

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.