Bug 1297823
Summary: | langpacks installation implementation in anaconda | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Parag Nemade <pnemade> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | anaconda-maint-list, codonell, dshea, g.kaviyarasu, jonathan, jsilhan, mfabian, vanmeeuwen+fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | anaconda-24.12-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-23 22:08:13 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
Parag Nemade
2016-01-12 14:39:06 UTC
I have a lot of problems with this. We already have a means of conditionally installing packages based on the user's language: langpacks. There was a Fedora feature for it (https://fedoraproject.org/wiki/Features/YumLangpackPlugin), it's already in comps, and there are packages in Fedora, today, that use and depend on this feature of package installation. Changing langpacks from comps definitions to packages and weak dependencies, besides being unnecessary, would require coordination with rel-eng and all of the packages affected, and at the very least should go through FESCO or FPC or the Fedora change process or something. Anaconda should not be in the business of deciding which packages to install or not install. We have a packaging library for that. Furthermore, anaconda is, to the extent possible, packaging-system agnostic. It is the Fedora installer, not the dnf installer or the yum installer, and there are several methods of doing that. Some of those methods do not even have packages. The idea that only anaconda cares about langpacks is flawed. The nice thing about yum-langpacks is that if you were to run 'yum install libreoffice-writer', it would pull in any appropriate libreoffice-langpack-<lang> packages automatically. dnf-langpacks only adds new commands instead of modifying the transaction during a normal install, so this feature is effectively lost with dnf, both with the current definition of langpacks in this proposed change. You keep pointing to dnf missing the hooks you need for the langpacks plugin. Dnf has the same hooks that yum-langpacks used: http://dnf.readthedocs.org/en/latest/api_plugins.html#dnf.Plugin.resolved Note I am already asking for similar hook in dnf since F21 but as dnf langpacks is not functional since F22, I am trying my best to get it working at least from coming f24 release. (In reply to David Shea from comment #1) > We already have a means of conditionally installing packages based on the > user's language: langpacks. There was a Fedora feature for it > (https://fedoraproject.org/wiki/Features/YumLangpackPlugin), it's already in > comps, and there are packages in Fedora, today, that use and depend on this > feature of package installation. IFAIK language support groups were replaced by langpack plugin. I am not able to find any such a group according to [1] and [2]. Probably you can remove a few more lines from anaconda. > Changing langpacks from comps definitions > to packages and weak dependencies, besides being unnecessary, would require > coordination with rel-eng and all of the packages affected, and at the very > least should go through FESCO or FPC or the Fedora change process or > something. We plan to involve FPC. > Anaconda should not be in the business of deciding which packages to install > or not install. We have a packaging library for that. Furthermore, anaconda > is, to the extent possible, packaging-system agnostic. It is the Fedora > installer, not the dnf installer or the yum installer, and there are several > methods of doing that. Some of those methods do not even have packages. > > The idea that only anaconda cares about langpacks is flawed. The nice thing > about yum-langpacks is that if you were to run 'yum install > libreoffice-writer', it would pull in any appropriate > libreoffice-langpack-<lang> packages automatically. dnf-langpacks only adds > new commands instead of modifying the transaction during a normal install, > so this feature is effectively lost with dnf, both with the current > definition of langpacks in this proposed change. Not at all, the mechanism is just hidden under the hood of DNF and smoothly pull into transaction relevant langpacks in one run. PR: https://github.com/rhinstaller/anaconda/pull/484 [1] https://fedoraproject.org/wiki/I18N/Language_Support_Using_Yum [2] https://docs.fedoraproject.org/en-US/Fedora/11/html/Release_Notes/sect-Release_Notes-International_Language_Support.html The pull request has been merged into anaconda, and according to the new kickstart test it's working just fine. |