bloomreach / bloomreach/s4cmd

Dry run --delete-removed deletes for real

Open
#312 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
208
PR merge metrics
No merged PRs in 30d

Description

When using `-n` (dry run) and `--delete-removed` it deletes the objects _**for real**_.

Thankfully I had versioning enabled on the bucket so no real data loss occurred. But man, this bug is horrendous.

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace the command path handling `-n` together with `--delete-removed`, then reproduce the behavior against an S3 bucket where deletion is safe to test. Done means dry-run mode reports removed objects without deleting them, while normal deletion still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.