Bug 1090515 - bash-completion for 7z - rar is no longer supported and can be removed
bash-completion for 7z - rar is no longer supported and can be removed
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Dr. Werner Fink
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-23 09:47 UTC by Kristyna Streitova
Modified: 2018-04-24 10:00 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristyna Streitova 2018-04-23 09:47:31 UTC
We had to remove CPP/7zip/Compress/Rar* files from the p7zip package as they had an incompatible license (see bug 1077978). Therefore p7zip package no longer supports rar files and rar can be removed from the bash-completion for 7z.

(Initially requested in the bug #1087863)
Comment 1 Dr. Werner Fink 2018-04-23 10:11:43 UTC
What does ``incompatible'' mean?  Why is 7z not allowed to unrar a rar archive? And why does upstream of bash-complition does not know this?

https://github.com/scop/bash-completion/issues?utf8=%E2%9C%93&q=is%3Aissue++7z
https://github.com/scop/bash-completion/issues?utf8=%E2%9C%93&q=is%3Aissue++p7zip
https://github.com/scop/bash-completion/issues?utf8=%E2%9C%93&q=is%3Aissue++rar
Comment 2 Dr. Werner Fink 2018-04-23 10:17:22 UTC
As well as which suffixes are forbidden now ... from 7z completion

                   '7z apm arj bzip2 cab
                    chm cpio cramfs deb dmg elf fat flv gzip hfs iso lzh lzma
                    lzma86 macho mbr mslz mub nsis ntfs pe ppmd rar rpm
                    squashfs swf swfc tar udf vhd wim xar xz z zip'

            _filedir '@(7z|bz2|swf|?(g)tar|?(t)[bglx]z|tb?(z)2|wim)' ||
            _filedir '@(7z|arj|bz2|cab|chm|cpio|deb|dmg|flv|gem|img|iso|lz[ah]|lzma?(86)|pmd|[rx]ar|rpm|sw[fm]|?(g)tar|taz|?(t)[bglx]z|tb?(z)2|vhd|wim|Z)'
Comment 3 Kristyna Streitova 2018-04-23 11:50:48 UTC
(In reply to Dr. Werner Fink from comment #1)
> What does ``incompatible'' mean?  

Basically it's a non-free licence (unRAR restriction licence).

> Why is 7z not allowed to unrar a rar archive? 
Because source files that managed that were under this non-free licence and were removed.

> And why does upstream of bash-complition does not know this?
I don't think that this is upstream related. This is more distribution related issue because we don't want non-free stuff in our oss repository.
Comment 4 Dr. Werner Fink 2018-04-23 12:14:29 UTC
(In reply to Kristyna Streitova from comment #3)
 
> > And why does upstream of bash-complition does not know this?
> I don't think that this is upstream related. This is more distribution
> related issue because we don't want non-free stuff in our oss repository.

As bash-completion is also use by Debian and developed by many Debian developer this can not be fully correct
Comment 5 Dr. Werner Fink 2018-04-23 12:15:43 UTC
Also I'd like to know *which* enxtensions will not supported now.
Comment 6 Kristyna Streitova 2018-04-23 15:57:37 UTC
(In reply to Dr. Werner Fink from comment #4)
> (In reply to Kristyna Streitova from comment #3)
> > > And why does upstream of bash-complition does not know this?
> > I don't think that this is upstream related. This is more distribution
> > related issue because we don't want non-free stuff in our oss repository.

> As bash-completion is also use by Debian and developed by many Debian
> developer this can not be fully correct

Feel free to report if you think that this is something for upstream.

(In reply to Dr. Werner Fink from comment #5)
> Also I'd like to know *which* enxtensions will not supported now.

It should be only 'rar' extension.
Comment 7 Dr. Werner Fink 2018-04-24 09:26:28 UTC
(In reply to Kristyna Streitova from comment #6)

> 
> It should be only 'rar' extension.

SR#599274
Comment 8 Swamp Workflow Management 2018-04-24 10:00:15 UTC
This is an autogenerated message for OBS integration:
This bug (1090515) was mentioned in
https://build.opensuse.org/request/show/600355 Factory / bash-completion