Should refuse to generate bindings if target directory already populated

Aberta
#253 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
57/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python, rust
Domínio
cli

Direção de pesquisa

Read the bindings generation entry point and find where it creates or replaces files in the target directory. Check how it handles both a directory populated by an earlier run and one containing only some generated paths. Done means generation stops with an error explaining that users can remove the conflicting files or choose another directory; the payload does not name relevant files or tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Per item 1 in https://github.com/bytecodealliance/componentize-py/issues/252#issuecomment-6448569301, if the user tries to generate bindings using the same target directory twice in a row, or if that directory is already populated with a subset files and/or subdirectories which the bindings generator would need to replace or overwrite, componentize-py should halt and print an error indicating that the user should either remove those files and/or directories or choose a different target directory.

Linguagem predominante
Rust
Estrelas
284
Forks
56
Merge médio
2d 4h
PRs com merge (30d)
3

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de bytecodealliance/componentize-py

Todas as issues de bytecodealliance/componentize-py

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.