libgit2 / libgit2/libgit2sharp
Be more git compliant when resolving references
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- C#
- Estrelas
- 3.5k
- Forks
- 925
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
It looks like LibGit2Sharp is not that git.git compliant when it comes to weirdly named references. Let's fix this!
Given a repo with a tag refs/tags/refs/tags/v1.0
TagCollection["v1.0"]shouldn't resolve anythingTagCollection["refs/tags/v1.0"]should correctly resolve itTagCollection["refs/tags/refs/tags/v1.0"]should correctly resolve it
Given a repo with two tags refs/tags/refs/tags/v1.0 and refs/tags/v1.0
TagCollection["v1.0"]should resolverefs/tags/v1.0TagCollection["refs/tags/v1.0"]should resolverefs/tags/v1.0TagCollection["refs/tags/refs/tags/v1.0"]should resolverefs/tags/refs/tags/v1.0
It would make sense to make BranchCollection consistent with this behavior as well.
Given a repo with a tag refs/tags/v1.0 and a branch refs/heads/v1.0
TagCollection["v1.0"]should resolverefs/tags/v1.0BranchCollection["v1.0"]should resolverefs/heads/v1.0
Guia de contribuição
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.
Direção de pesquisa
Comece pelos pontos de entrada de lookup de TagCollection e BranchCollection e rastreie como os nomes de referência são resolvidos. Reproduza os repositórios listados e verifique se os lookups de tags e branches retornam exatamente as referências especificadas para cada caso.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- csharp, git
- Domínio
- devtools
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100