Deprecate save_objectdb, save_history configuration

Aberta
#629 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 7 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
45/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
tooling

Direção de pesquisa

Start by finding where the save_objectdb and save_history config options are read and where the project database and undo history are cached or saved. Make those files always save, and emit a deprecation warning when either setting is present in the config. Done means both settings are ignored with a warning, and the existing tests still pass. The issue does not say how the deprecation should be surfaced, so confirm that with a maintainer first.

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

Descrição

Description

These config settings tells rope whether to cache the projectdb and retain undo history respectively. We should just always save these files.

Rope should just always have sensible default behaviors, there should be no reason for users to disable these config. In order to minimize the number of unnecessary settings and keeping the config file simple, these settings are being deprecated.

Linguagem predominante
Python
Estrelas
2.2k
Forks
197
Merge médio
2d 13h
PRs com merge (30d)
5

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 python-rope/rope

Todas as issues de python-rope/rope

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

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