Problems with merging git changes in notebooks
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- git, jupyter-notebook, vscode
- Ambito
- documentation
Direzione di ricerca
The issue names no files, tests or entry points; it describes a git merge problem with notebook indentation and a suggested tutorial change. Start by reading the repository's notebook tutorial files and any existing guidance on git workflow, then agree with the maintainers on what the tutorial should say. Done means a decided approach, such as guidance or a helper note, that the maintainers accept.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This is really a thing to think about for next time we do a Tutorial. But, putting it here, as we had some frictiion with this,. Although really it was much smaller than it should have been. This is also a known problem for Jupyter notebooks in github, and there are various groups with solutions out there.
Conflicts have to be resolved in a text editor and not VS Code
VS Code already led me to do that, and found it largely OK for simple conflicts. It was annoying when the next problem shows up, which is changes in indentation.
White-space Indentation
The main problem we saw was that different editors saved the raw notebooks with different indentation. Most are 1-space, but a few saved as 4-space indentation. Changes become difficult to merge when the indentation is different. It'll essentially mark as the complete block of things with indentation changes as needed to be merged by hand.
I've solved it by saving each section of the difference, and then do diffs without whitespace differences between each, and then apply the usually small change that's needed.
- Lingua principale
- Jupyter Notebook
- Stelle
- 4
- Fork
- 11
- Merge medio
- 6h 57m
- PR unite (30g)
- 62
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 NCAR/CLM-Tutorial
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
NCAR/CLM-Tutorial#155 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
NCAR/CLM-Tutorial#150 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
NCAR/CLM-Tutorial#149 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Hillslope examplesForse di nuovo libera @minallah l’ha presa 65 giorni fa e non c’è nessuna pull request aperta. Aperta
NCAR/CLM-Tutorial#29 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NCAR/CLM-Tutorial
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
facebookresearch/atlas-lean#20426 ·
I maintainer di solito rispondono entro 1 giorno
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ai-assistants documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BetaBots-LLC/latticegate#17 ·
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
juspay/agent-distro#203 ·
I maintainer di solito rispondono entro 1 giorno