Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1563649
Summary: | Package ansible-doc-2.5.0-2.fc27.noarch.rpm too big | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Artur Penttinen <artur+redhat.com> |
Component: | ansible | Assignee: | Kevin Fenzi <kevin> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | a.badger, athmanem, kevin, maxim, pcahyna, pcfe, tbielawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ansible-2.5.1-1.el7 ansible-2.5.1-1.fc27 ansible-2.5.1-1.fc28 ansible-2.5.1-1.fc26 ansible-2.5.2-1.el6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-21 02:57:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Artur Penttinen
2018-04-04 11:52:46 UTC
This is truly wild. I wonder how long it's been like this. The majority of the content seems to be the embedded TOC tree. Each module help page (there are 1679 module pages shipped) is coming in at about 2.2 MiB with 15116 toctree list-items. No wonder the file compressed down to just 35 MiB. It's just copies of that huge toc tree over and over again. I think that the change is the new upstream side navigation. * The old side navigation (2.4.3): http://docs.ansible.com/ansible/2.4/index.html * The new side navigation (2.5.0): http://docs.ansible.com/ansible/2.5/index.html For instance, the old one links to a single page for the module documentation. The new one links to all modules multiple times. (In reply to Toshio Ernie Kuratomi from comment #2) > I think that the change is the new upstream side navigation. > > * The old side navigation (2.4.3): > http://docs.ansible.com/ansible/2.4/index.html > * The new side navigation (2.5.0): > http://docs.ansible.com/ansible/2.5/index.html > > For instance, the old one links to a single page for the module > documentation. The new one links to all modules multiple times. Whoa! For fun and profit I did a little experiment: ansible-doc-2.4 (package was only 4.7M, per DNF): > $ du -sh /usr/share/doc/ansible-doc/ > 88M /usr/share/doc/ansible-doc/ > $ find /usr/share/doc/ansible-doc/ | wc -l > 3238 ansible-doc-2.5 (package is 35M, per DNS): > $ du -sh /usr/share/doc/ansible-doc/ > 3.9G /usr/share/doc/ansible-doc/ > find /usr/share/doc/ansible-doc/ | wc -l > 2368 I'm going to report this issue upstream Issue reported upstream: https://github.com/ansible/ansible/issues/38288 This issue has been fixed upstream in [0]. Fedora 26+ though all need rebuilds. I suspect this fix will be delivered when Kevin submits the next batch of updated package builds. (The el6,7 [1,2] builds seems to be fine when I extracted their -doc packages.) [0] https://github.com/ansible/ansible/pull/38311 [1] https://koji.fedoraproject.org/koji/buildinfo?buildID=1063170 [2] https://koji.fedoraproject.org/koji/buildinfo?buildID=1063168 Awesome. Thanks for the quick work. I will try and push this with the next round of builds indeed. ansible-2.5.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d35b90fd1d ansible-2.5.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-ad971a0926 ansible-2.5.1-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-abc92e5946 ansible-2.5.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-de434df4ac ansible-2.5.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b2058f774a ansible-2.5.1-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-de434df4ac ansible-2.5.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-ad971a0926 ansible-2.5.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b2058f774a ansible-2.5.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d35b90fd1d ansible-2.5.1-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-abc92e5946 # dnf download ansible-doc --enablerepo=updates-testing # rpm -qipf ansible-doc-2.5.1-1.fc27.noarch.rpm | grep Size Size : 503331670 # print -f "%.1fMb\\n" $[503331670/1024./1024.] 480.0Mb Looks good! ansible-2.5.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. ansible-2.5.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. ansible-2.5.2-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-cd33ebf025 ansible-2.5.1-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. ansible-2.5.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. ansible-2.5.2-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-cd33ebf025 ansible-2.5.2-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |