v3 breaking changes

Aperta
#80 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, go
Ambito
devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
4.1k
Fork
157
Merge medio
4h 35m
PR unite (30g)
15

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di offen/docker-volume-backup

Tutte le issue di offen/docker-volume-backup

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.