Bug 1236661

Summary: [tentative][RFE] Adapt pcs to use system-wide jQuery (an optional F23 proposal)
Product: [Fedora] Fedora Reporter: Jan Pokorný [poki] <jpokorny>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cfeist, tojeline
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-06 09:03:01 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 Jan Pokorný [poki] 2015-06-29 16:42:53 UTC
References:
https://fedoraproject.org/wiki/Changes/jQuery
thread on Fedora devel ML:
- https://lists.fedoraproject.org/pipermail/devel/2015-June/211698.html

See also related [bug 927229] to recall why bundling in general is
discouraged.

Comment 1 Fedora End Of Life 2016-11-24 11:58:10 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Jan Pokorný [poki] 2016-11-24 13:17:58 UTC
Retargeting for Rawhide.

Upstream pcs version currently bundles + mappings to Fedora packages:

./public/js/jquery-1.9.1.min.js -> js-jquery1
(see [comment 0])

./public/js/handlebars-v1.2.1.js
./public/js/jquery-ui-1.10.1.custom.min.js
./public/js/pcsd.js
./public/js/nodes-ember.js
./public/js/ember-1.4.0.js
(no substitute yet -- some, e.g., handlebars, may be awaiting volunteers)

Comment 3 Jan Pokorný [poki] 2016-12-01 12:49:18 UTC
Until jquery is unbundled, pcs should definitely state

> bundled(js-jquery1) = 1.9.1

in the spec (similar to ruby gems precedent [bug 927229], after all).

I came across this in connection to some "recent" security issues of
jquery: [bug 1399547]

Comment 4 Tomas Jelinek 2020-11-06 09:03:01 UTC
Unfortunately, it is not possible to upgrade jQuery library to a newer version shipped in Fedora. We have been working on a new version of the web UI which will be compatible with the newest libraries and will allow upgrading them continuously. Until the new web UI is ready, we have no option than to bundle jQuery. In the latest builds, "bundled(jquery)" was added to pcs spec file.