Cache refresh policies based on scancode CLI options/scancode output version updates
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 15/100
Direção de pesquisa
The payload names no file or test, so start from the two linked threads: discussion r3948561703 on PR 5289 and issue 3941, which cover cache versioning. The open question is whether to hash the data fields and CLI options into the cache index path, and how stale-cache errors are handled. Maintainers need to settle that design before a patch is meaningful, so done means an agreed policy in the thread, not a code change yet.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
From https://github.com/aboutcode-org/scancode-toolkit/pull/5289#discussion_r3948561703, as a follow up:
Should we include some functionality to re-compute the cache for a file based on data structure changes caused by different versions of scancode, or different CLI options used with different output data formats? There is some discussion on this at https://github.com/aboutcode-org/scancode-toolkit/issues/3941
We need to check that we atleast handle the errors resulting out of this. Additionally it would be nice to somehow include the data format versions in the index cache too, smartly avoiding cache recompute whenever possible.
Output data formats are not always changes based on scancode versions, and an update in the output data format version also doesn't correspond to updates in all the scanner output data. So we need to probably compute a hash based on all the data fields present for a particular scanner data based on the keys present in the mapping and include this in the index file path? This would cover both variations caused by scancode version changes and CLI options used.
- Linguagem predominante
- Python
- Estrelas
- 2.7k
- Forks
- 871
- Merge médio
- 1d 10h
- PRs com merge (30d)
- 3
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o 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.
Mais de aboutcode-org/scancode-toolkit
-
yarn.lock v1 with a scoped alias of an unscoped package yields no packages and no errorTalvez já em andamento @Shubham-dev-stack assumiu há 7 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
aboutcode-org/scancode-toolkit#5466 ·
Mantenedores costumam responder em até 1 dia
-
package-lock.json dependencies report file_references as a list inside a listTalvez já em andamento @Anbarasu2410 assumiu há 10 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
aboutcode-org/scancode-toolkit#5449 · 4 comentários ·
Mantenedores costumam responder em até 1 dia
-
scancode aborts when encountering a broken RPM archiveTalvez já em andamento @Ashutosh-Panda2004 assumiu há 14 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
aboutcode-org/scancode-toolkit#5407 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Four silent bugs: IsRequiredPhrase.license_expression returns None, find_in_path ignores later PATH changes, duplicate dict keys override license mappingsTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertabug
Dificuldade 2/5 Meio dia Facilidade para iniciantes 65/100
aboutcode-org/scancode-toolkit#5405 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
parse_maintainer_name_email returns empty name and wrong email when string has "@" but no angle bracketsTalvez já em andamento @RohitSutar1823 assumiu há 15 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
aboutcode-org/scancode-toolkit#5402 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de aboutcode-org/scancode-toolkit
Issues semelhantes
-
Internal ErrorAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
frappe/frappe_docker#2071 ·
Mantenedores costumam responder em até 1 dia
-
bug python
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
traceloop/openllmetry#4717 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
The-Pocket/PocketFlow#161 ·
-
[Bug]: Webapp workspace fails to render in Safari — "Can't find variable: requestIdleCallback"Abertacomp/desktop P2 type/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
NousResearch/hermes-agent#157702 ·
Mantenedores costumam responder em até 1 dia
-
scibench_physics / scibench_chemistry: a correct answer scores 0 when the unit has a power of tenTalvez já em andamento @BahaaMattar assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
EvolvingLMMs-Lab/lmms-eval#1699 ·
Mantenedores costumam responder em até 1 dia