Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Improvement of how to contribute testing, local setup.

Aperta
#1,703 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go

Direzione di ricerca

Start with CONTRIBUTING.md and the subscription-create test case described in the issue. Run that targeted test while checking how the local pulsarctl configuration and current-context are selected. Done means the contribution guide explains repository setup and local test execution, including Windows configuration and whether a local or stubbed Pulsar cluster is required.

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

Descrizione

So I'm trying to contribute two issues that I'd like to be fixed, both are fairly small.
One of them being :
https://github.com/streamnative/pulsarctl/pull/1699

But the contribution guide and the repo itself does not really indicate how to setup for contribs in regards to testing.
https://github.com/streamnative/pulsarctl/blob/master/CONTRIBUTING.md

I'm running on windows though but I still miss a lot of information on how to run the test locally.
Just zooming in on a specific test case for subscription create:
image
When executing a specific test case it reads from my config of my normal pulsarctl installation located in %home.config\pulsar\config and reads the current-context and tries to use it (and fails due to cred files being somewhere else).
This seems like its trying to work on actual cluster

If i remove current-context then it defaults to a localhost URL - however its not really documented how to setup the repo/ code for testing - so I cant really make sure it works in any way yet.

I would have hoped that the pulsar cluster and such was stubbed out for easier testing, but its not so would love to see some addition to how to contribute besides the git part.

Lingua principale
Go
Stelle
169
Fork
68
Merge medio
5m
PR unite (30g)
1

Preparare l'ambiente

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 streamnative/pulsarctl

Tutte le issue di streamnative/pulsarctl

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.