Add support for setting up Git Credential Manager [PR possibility]
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- git, github-actions, typescript
- Ambito
- ci-cd
Direzione di ricerca
Confronta l’implementazione esistente nel fork collegato di Unity Builder con l’attuale comportamento di riscrittura degli URI di GameCI per gitPrivateToken. Traccia come vengono gestiti i parametri di build, quindi verifica che fornire gitPrivateUser e gitPrivateToken configuri Git Credential Manager invece delle riscritture, lasciando invariato il comportamento esistente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
In some cases I want to use the git credential manager, rather than the git URI rewrites that are currently done when using gitPrivateToken. For example, to work around any issues and edge cases, e.g. as described in #430.
Suggested solution
A new build parameter called gitPrivateUser (name suggestions welcome). When gitPrivateUser and gitPrivateToken are both provided, GameCI will set up the Git Credential Manager instead of git URI rewrites.
Considered alternatives
Initially I tried to resolve the underlying bug for this problem (an issue similar to #430), but sadly I don't have the experience and time to do as such. However, setting up the git credential manager was a quick addition that resolved the permission issues we were having, and are planning to use for our projects.
Originally I wanted to switch to pull in the packages via SSH, but my senior pushed back on this given the extra setup required for all developers on the team, which is why we'd prefer to use HTTPS.
Additional details
Link to discussion on the Discord server: "Bad Credentials when resolving packages with git-lfs"
Existing implementation in our fork of Unity Builder: https://github.com/Psylaris/unity-builder/commit/5f814eb1823b297d9361c645e02fcfe04c23537b (I can make a PR if requested.)
- Lingua principale
- TypeScript
- Stelle
- 1.1k
- Fork
- 318
- Merge medio
- 23h 20m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di game-ci/unity-builder
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
game-ci/unity-builder#863 ·
-
enhancement
Difficoltà 3/5 Mezza giornata Idoneità per principianti 62/100
game-ci/unity-builder#857 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
game-ci/unity-builder#856 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
game-ci/unity-builder#855 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
game-ci/unity-builder#853 ·
Tutte le issue di game-ci/unity-builder
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagForse già presa @bardrop l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
nbd-wtf/nostr-tools#578 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
backnotprop/plannotator#3427 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AOSSIE-Org/DebateAI#801 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno