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

[FEATURE] Delete branch

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

I maintainer di solito rispondono entro 5 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
40/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Individua i punti di ingresso della classe Dataset che espongono operazioni sui branch e identifica gli eventuali percorsi di codice esistenti per i branch simili a create/list. Traccia come lo stato dei branch viene memorizzato o versionato prima di aggiungere delete_branch() e, facoltativamente, rename_branch(), rispettando il comportamento esistente di convalida e degli errori. Esegui i test pertinenti sui branch dei dataset (oppure aggiungi copertura in quella sede) e contrassegna l’attività come completata quando la rimozione/rinomina dei branch si comporta correttamente e i test esistenti hanno esito positivo.

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

Descrizione

enhancement

🚨🚨 Feature Request

It would be useful to delete unused or corrupted branches, or at least be able to rename them.

  • Related to an existing Issue
  • [X ] A new implementation (Improvement, Extension)
Is your feature request related to a problem?

Kind of. Some times I need to discard branches because corrupted or unmergeable (My datasets are quite complex and I still need to dedicate time to reproduce the problems in a simple way in order to open an issue). For instance, I wanted to have only one 'dev' branch where to work and add new data but after the first merge with 'main' it got corrupted (I think because I closed the interpreter after doing some modifications without committing). So we had to move to one branch per person making modifications but that also fail after some merge problems and now we are simply inventing names for each new change with a proliferation of dead branches.

If your feature will improve HUB

...

Description of the possible solution

To implement a method on the Dataset class that can be called like ds.delete_branch('branch_name')

An alternative solution to the problem can look like

If there is a technical motivation for not having a delete_branch() method, a rename_branch() can also be useful to rename dead branches even if it doesn't solve the proliferation of unused branches

Lingua principale
C++
Stelle
9.2k
Fork
724
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 activeloopai/deeplake

Tutte le issue di activeloopai/deeplake

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.