v3 breaking changes

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

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
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
docker, go
Domínio
devops

Direção de pesquisa

This issue tracks multiple possible breaking changes, including configuration removal, renames, default changes, and pruning behavior, without identifying implementation files or tests. Start by reviewing the linked discussion for the pruning-prefix proposal and the project’s configuration and documentation entry points. The work is complete only when the selected v3 changes are implemented and their documentation is updated; the issue does not define a single scoped change.

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

Descrição

v3

This issue exists to track possible breaking changes that would make sense in a v3 (so I don't forget about them). This does not mean a v3 is going to happen soon. It could even be it never happens.


Remove EMAIL_* config

As all notifications are now sent using shoutrrr, the EMAIL_* interface is obsolete and should be removed.

  • Remove configuration shim
  • Remove documentation

Remove BACKUP_FROM_SNAPSHOT

The functionality of BACKUP_FROM_SNAPSHOT can be achieved by using and exec-pre and exec-post command.

  • Remove feature
  • Remove documentation

Default to expanding variables in BACKUP_FILENAME

The option to do this has been introduced later on and false was chosen as a default in order to not introduce a breaking change. true would be the better and more helpful default.

  • Set default to true
  • Update documentation

Also consider doing this for all other configuration values.

Rename BACKUP_SOURCES

BACKUP_SOURCES points to a single location. It should be called BACKUP_SOURCE (just like BACKUP_ARCHIVE).

  • Rename to BACKUP_SOURCE
  • Update documentation

Remove exec-[pre|post] labels

The labels have more granularity now.

  • Remove all handling of exec-pre and exec-post
  • Update documentation

Remove BACKUP_STOP_CONTAINER_LABEL

The BACKUP_STOP_CONTAINER_LABEL setting has been renamed: https://offen.github.io/docker-volume-backup/how-tos/replace-deprecated-backup-stop-container-label.html

  • Remove setting
  • Remove documentation

Derive BACKUP_PRUNING_PREFIX from BACKUP_FILENAME if not set otherwise

As discussed here https://github.com/offen/docker-volume-backup/issues/541#issuecomment-2689175474

Linguagem predominante
Go
Estrelas
4.1k
Forks
157
Merge médio
4h 35min
PRs com merge (30d)
15

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

  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 offen/docker-volume-backup

Todas as issues de offen/docker-volume-backup

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

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