activeloopai / activeloopai/deeplake
[FEATURE] Delete branch
- Langage dominant
- C++
- Étoiles
- 9.2k
- Forks
- 722
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## 🚨🚨 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](../issues)
- [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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.