Problems with merging git changes in notebooks
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 20/100
- Tipo de issue
- Documentação
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Ativa
- Stack de tecnologia
- git, jupyter-notebook, vscode
- Domínio
- documentation
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 4
- Forks
- 11
- Merge médio
- 6h 57min
- PRs com merge (30d)
- 62
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NCAR/CLM-Tutorial
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
NCAR/CLM-Tutorial#155 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
NCAR/CLM-Tutorial#150 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
NCAR/CLM-Tutorial#149 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Hillslope examplesTalvez livre de novo @minallah assumiu há 65 dias e não há nenhum pull request aberto. Aberta
NCAR/CLM-Tutorial#29 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de NCAR/CLM-Tutorial
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
facebookresearch/atlas-lean#20426 ·
Mantenedores costumam responder em até 1 dia
-
docs(contributing): the two things that silently block a PRTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaavailable documentation good first issue
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 95/100
Nixitov/Riptide-Native#944 ·
Mantenedores costumam responder em até 1 dia
-
area: ai-assistants documentation help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
BetaBots-LLC/latticegate#17 ·
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
juspay/agent-distro#203 ·
Mantenedores costumam responder em até 1 dia