Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add all Rucio lfns2pfns args. to getPFN. Fix #10056 #10122

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

belforte
Copy link
Member

Fixes #10056

Status

ready

Description

introduce new optional parameters for Rucio.client.getPFN
to be able to use all functionalities of Rucio python lnfs2pfns API as per
https://rucio.readthedocs.io/en/latest/api/rse.html

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

YES

Related PRs

#10121 on CRAB branch 1.3.6.crab

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Unit tests: succeeded
    • 1 tests no longer failing
    • 1 changes in unstable tests
  • Pylint check: failed
    • 1 warnings and errors that must be fixed
    • 13 warnings
    • 12 comments to review
  • Pycodestyle check: succeeded
    • 7 comments to review
  • Python3 compatibility checks: succeeded

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

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me, but I'd like to have that variable name updated if possible.
Stefano, once you make that change, please squash your two commits.

src/python/WMCore/Services/Rucio/Rucio.py Outdated Show resolved Hide resolved
belforte added a commit to belforte/WMCore that referenced this pull request Dec 1, 2020
@cmsdmwmbot
Copy link

Jenkins results:

  • Unit tests: succeeded
  • Pylint check: failed
    • 1 warnings and errors that must be fixed
    • 13 warnings
    • 11 comments to review
  • Pycodestyle check: succeeded
    • 7 comments to review
  • Python3 compatibility checks: succeeded

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

@amaltaro
Copy link
Contributor

amaltaro commented Dec 1, 2020

@belforte thanks Stefano. Could you please squash those 2 commits into a single one? In case you need some instructions on how to accomplish that, I usually refer to this short and clear doc: https://steveklabnik.com/writing/how-to-squash-commits-in-a-github-pull-request

@belforte belforte force-pushed the expandRucioGetPFN-fix-10056 branch from f7fc709 to 720130c Compare December 2, 2020 10:32
@belforte
Copy link
Member Author

belforte commented Dec 2, 2020

rebased and squashed. Yeah. I have added tips from that URL to may cheat sheet and had used already to squash my few commits while testing, so I did not realize it was needed again. Sorry.

@cmsdmwmbot
Copy link

Jenkins results:

  • Unit tests: succeeded
  • Pylint check: failed
    • 1 warnings and errors that must be fixed
    • 13 warnings
    • 11 comments to review
  • Pylint py3k check: failed
    • 0 errors and warnings that should be fixed
    • 6 warnings
    • 0 comments to review
  • Pycodestyle check: succeeded
    • 7 comments to review
  • Python3 compatibility checks: succeeded

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

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Stefano!

@amaltaro amaltaro merged commit d357fdb into dmwm:master Dec 2, 2020
@amaltaro
Copy link
Contributor

amaltaro commented Dec 2, 2020

Just spotted badly encoded chars in this PR (though a git diff)

Supported are <E2><80><98>LAN<E2><80><99>, <E2><80><98>WAN<E2><80><99>, and <E2><80><98>ALL<E2><80><99> (as default)

will get that fixed in another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allow Rucio.getPFN to support all args in the upstream API
3 participants