Discussion:
Question about RC bug in 7zip
Add Reply
yokota
2025-01-01 19:30:02 UTC
Reply
Permalink
Hello mentors,

I received RC bug report for 7zip.
7zip: 7z defaults to archiving files in current directory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091693
This bug report reports two issues.
* about "7z a" command
* about "7z rn" command

I was forwarded this report to upstream.
https://sourceforge.net/p/sevenzip/bugs/2540/
And upstream will fix about "7z rn" issue, but will not fix about "7z a" issue.
Because upstream said this is not a bug but a feature.

Is "7z a" issue is worth to a RC bug?
This "7z a" issue also happens Debian "p7zip" package in stable (bookworm).

Thanks,
--
YOKOTA Hiroshi
Peter B
2025-01-01 22:50:01 UTC
Reply
Permalink
Post by yokota
And upstream will fix about "7z rn" issue, but will not fix about "7z a" issue.
Because upstream said this is not a bug but a feature.
Is "7z a" issue is worth to a RC bug?
No.

Maybe the documentation could be made clearer, but that's not RC.


Regards,
Peter
Julien Plissonneau Duquène
2025-01-02 08:00:02 UTC
Reply
Permalink
Hi,
Post by yokota
Is "7z a" issue is worth to a RC bug?
This "7z a" issue also happens Debian "p7zip" package in stable (bookworm).
This is definitely not a case for a RC bug IMO. I would just suggest you
to:
- document the behaviour in the man page and maybe --help, e.g. "When
used without any file argument, 7z a recursively adds the contents of
the current directory to the archive" (and forward upstream if fixing
--help)
- suggest upstream to fix "7z d" as well as it just removes all contents
from the archive which looks like not something anybody would ever want
to do intentionally
- comment in the bug report and either retitle it as something like
"document 7z a behaviour" or tag it as wontfix, and reduce its severity
to "minor"
- close the bug with the release that documents this behaviour of 7z a.

Cheers,
--
Julien Plissonneau Duquène
yokota
2025-01-03 00:40:01 UTC
Reply
Permalink
Hello,

Thank you for your suggestions.
I will do that.

--
YOKOTA Hiroshi

Loading...