Problems with merging git changes in notebooks
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 20/100
- Issue-Typ
- Dokumentation
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- git, jupyter-notebook, vscode
- Bereich
- documentation
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 4
- Forks
- 11
- Ø Merge
- 6 Std. 57 Min.
- Gemergte PRs (30 T.)
- 62
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NCAR/CLM-Tutorial
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
NCAR/CLM-Tutorial#155 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
NCAR/CLM-Tutorial#150 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
NCAR/CLM-Tutorial#149 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Hillslope examplesEvtl. wieder frei @minallah hat das vor 65 Tagen übernommen, und es ist kein Pull Request offen. Offen
NCAR/CLM-Tutorial#29 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NCAR/CLM-Tutorial
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
facebookresearch/atlas-lean#20426 ·
Maintainer antworten meist innerhalb von 1 Tag
-
docs(contributing): the two things that silently block a PREvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenavailable documentation good first issue
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 95/100
Nixitov/Riptide-Native#944 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area: ai-assistants documentation help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
BetaBots-LLC/latticegate#17 ·
-
enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
juspay/agent-distro#203 ·
Maintainer antworten meist innerhalb von 1 Tag