Bug 980153 - [RFE] rlFileBackup --clean by default
Summary: [RFE] rlFileBackup --clean by default
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Muller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-01 14:40 UTC by Dalibor Pospíšil
Modified: 2016-09-20 02:10 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-02 15:44:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dalibor Pospíšil 2013-07-01 14:40:24 UTC
What about setting --clean as default behavior? I would guess that this will not cause problems.

If the problem is that rm -rf is called before it could be done in more intelligent way like remove only new files and restore the rest, see bug 961623.

Comment 1 Petr Muller 2013-07-15 16:18:34 UTC
Why do this? What will get better? I need some arguments for the change.

--clean is not safe to call universally, and I do not want to make it "safer" because it is complicated enough already. That's my argument for not doing it.

Comment 2 Dalibor Pospíšil 2013-07-16 12:44:44 UTC
I think that it is just obvious.

When I did not know about --clean option I assumed that it is the default so a lot of my tests does not use it which is sometimes wrong.

But I must agree that from backward compatibility point of view it is not very safe.

Comment 3 Petr Muller 2013-12-02 15:44:12 UTC
Not backward compatible, I'm not convinced to do it.


Note You need to log in before you can comment on or make changes to this bug.