dmwm / WMCore

Core workflow management components for CMS.
Apache License 2.0
46 stars 107 forks source link

Fix patchComponent logic to find the correct python lib path && Zero the codebase #12074

Closed todor-ivanov closed 3 months ago

todor-ivanov commented 3 months ago

Status

ready

Description

This is a PR to add some more logic to bin/patchComponent.sh, such that we make it cover the new deployment models, both docker and virtual env. With this change during execution, the script makes an attempt to:

With the current PR we also increase the functionality of the script to be called by 3 methods:

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

None

External dependencies / deployment changes

None

cmsdmwmbot commented 3 months ago

Jenkins results:

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/15157/artifact/artifacts/PullRequestReport.html

todor-ivanov commented 3 months ago

Hi @amaltaro As we discussed just before I leave for my vacation, here is the PR without an issue, just for pushing upstream the version of the patchComponent script I use for myslef, which proved itself to be quite functional and helps avoiding a lot of human errors and spares also significant operational effort during the process.