Thursday, 2025-04-17

opendevreviewJames E. Blair proposed openstack/project-config master: Temporarily stop loading nodesets from zuul-providers  https://review.opendev.org/c/openstack/project-config/+/94760515:46
opendevreviewJames E. Blair proposed openstack/project-config master: Use zuul-providers for nodesets in opendev/zuul tenants  https://review.opendev.org/c/openstack/project-config/+/94760715:49
opendevreviewMerged openstack/project-config master: Temporarily stop loading nodesets from zuul-providers  https://review.opendev.org/c/openstack/project-config/+/94760516:30
sean-k-mooneyfungi: is https://docs.opendev.org/opendev/infra-manual/latest/creators.html still up to date? vkmc is toing ot be on pto for a few weeks, so il likely proposed the patches to create teh new promethous plugin repo under telemetry instead16:46
sean-k-mooneywe will also need some xstatic packages at least for now 16:47
clarkbyes it should be16:47
sean-k-mooneyi need ot check with horizon and telemetry where those should be16:47
clarkbthe process hasn't changed in a long time16:47
sean-k-mooneyya i didnt think it had just wanted to make sure before i start pushing things16:47
sean-k-mooneyits on my todo list for tuesday16:48
fungisean-k-mooney: sure, i think https://review.opendev.org/946742 followed that a week ago to create the new aetos repo for the telemetry team16:48
sean-k-mooneyya i saw that in the list of recent reviews16:48
sean-k-mooneyfungi: clarkb: it might be coverd but when i create the pypi project and give openstackci owner right the last step is removing my self right 16:51
sean-k-mooneyah ya its in the doc16:51
clarkbsean-k-mooney: thats openstack policy (the jobs and stuff don't actually care) but yes my recollection is that individuals should drop their ownership16:51
fungisean-k-mooney: creating a project on pypi should no longer be necessary actually, and the process for attempting to do so is painful/convoluted16:51
clarkboh right they stopped needing that16:52
fungiyou should be able to just skip that step and let it get auto-created the first time a (pre)release is tagged16:52
sean-k-mooneyi know we have been trying to harden who can alcutlly push to pypi16:52
sean-k-mooneyoh ok16:52
sean-k-mooneythat a bonus16:52
fungipypi admins actually consider pre-creation of projects to be namesquatting thse days16:52
sean-k-mooneyso will the project get creatred when we try to do the first release16:53
fungiand nwe projects on pypi are autocreated at first upload16:53
fungis/nwe/new/16:53
sean-k-mooneycool16:53
sean-k-mooneywe still need to create the launchpad tracker by hand and update the permisions right16:54
fungiyes16:55
fungiunless you plan to reuse/share an existing one16:55
sean-k-mooneyi tough you were going to say unless you want ot use storyboard16:56
sean-k-mooneywe will probaly want a seperate one for the horizon plugin but im not sure about the xtatic packages16:57
sean-k-mooneywe might not need one for those16:57
fungii would recommend looking at how the other plugins and xstatic packages do it, and then make this one similar16:59
opendevreviewMerged openstack/project-config master: Use zuul-providers for nodesets in opendev/zuul tenants  https://review.opendev.org/c/openstack/project-config/+/94760716:59
sean-k-mooneyfungi: yep ill do that16:59
sean-k-mooneyi dont really want to boil the ocean with horizon but i really wish xstatic was not required but maybe we can move in that direction over time17:00
sean-k-mooneyi know this was a topic in the tc sessions too17:00
clarkbI mean technically it isn't required. Plenty of projects avoid it17:00
sean-k-mooneyits not require by openstack17:01
clarkbbut horizon relies on it so not using it for a horizon plugin is likely a huge pile of work17:01
sean-k-mooneyactully its not17:01
sean-k-mooneywell not for a plugin17:01
sean-k-mooneyso horizons docs say you shoudl create xstatic packages17:01
sean-k-mooneyin pass summit sessions when angular was beeing added the core team said it would not be required going forward17:02
fungiyeah, as we've discussed before, it would be lovely to just switch to something like yarnpkg/berry to pull the horizon/plugin javascript dependencies into the expected location at build or install time and stop shipping our own copies of those files at all17:02
sean-k-mooneybut they never updated the docs and those folks have moved on17:02
sean-k-mooneyya fo right now i started with just https://github.com/SeanMooney/grian-horizon-plugin/blob/master/grian_horizon_plugin/static/vendor/get_vendor.sh17:02
sean-k-mooneybut obviously that does nto scale17:03
sean-k-mooneyi looked at how zuul does it and that looked interesting17:03
fungithe theory behind the xstatic packags was that we were including convenience copies of libs like jquery with the expectation that downstream distros would rip that out and replace it with a pointer to their own jquery package or whatever. but instead distros are actually making separate packages of our xstatic packages with verbatim copies of the js content we ship17:03
sean-k-mooneybut i did not understand it well enjoy to suggest doign that in horizon17:03
sean-k-mooneyi think debian does replace it with a symlink17:04
sean-k-mooneybut i think redhat just embded it ya17:04
* fungi checks...17:04
sean-k-mooneydistors in general dont really want to have to package javascript if they can avoid it17:05
fungibut yes, that means if we ship an xstatic-jquery with known vulnerabilities in the included jquery version, then that's ending up on users' systems17:05
fungihttps://packages.debian.org/sid/all/python3-xstatic-jquery/filelist17:06
fungithose are not symlinks17:06
sean-k-mooneyoh ok its a direct embded17:06
fungiyes, exactly what we didn't want happening17:06
clarkbI suspect the risk to the debian install is honestly low17:06
clarkbthe main risk is to anyone running horizon or interacting with it as a client17:06
funginow we're (openstack) responsible for vulnerabilities in jquery17:06
sean-k-mooneyya. it also kind of breaks the one version rule for debain17:07
fungiit does indeed at that17:08
sean-k-mooneylike we ship very old veriosn fo those packages which honestly no one should be using btu the javascript packaging ecosystem is well special17:08
sean-k-mooneydownstream we are buildign that form the same package source i.e. the jquery package tar that is used for pypi17:14
sean-k-mooneyor not...17:14
sean-k-mooneywe are uisng an older release... because of course we are17:16
sean-k-mooneyour downstream is based on antelope so we are still using the version used in horizon form the upper constratis form 2023.117:18
sean-k-mooneybut i guess that is at least the verson that horizon was tested with17:18
fungiand maybe hopefully patched with backported jquery security fixes17:19
fungi(at least that's what's supposed to happen in distro-land)17:20
sean-k-mooneyone would hope17:21
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Move OSA sync to integrated repository  https://review.opendev.org/c/openstack/project-config/+/94762819:37
opendevreviewDmitriy Rabotyagov proposed openstack/project-config master: Deprecate openstack-ansible-tests repository  https://review.opendev.org/c/openstack/project-config/+/94762919:37

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!