Skip to content

Support XRootD URLs in validate_rootfile.py#85

Open
rahmans1 wants to merge 1 commit intomainfrom
feature/xrootd-validate-rootfile
Open

Support XRootD URLs in validate_rootfile.py#85
rahmans1 wants to merge 1 commit intomainfrom
feature/xrootd-validate-rootfile

Conversation

@rahmans1
Copy link
Copy Markdown
Contributor

Briefly, what does this PR introduce?

Add XRootD path detection (root://) and skip filesystem-level checks (file_exists, non_empty) for remote paths, relying on ROOT's native XRootD support to open and validate the file.

🤖 Generated with Claude Code

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

Does this PR change default behavior?

Add XRootD path detection (root://) and skip filesystem-level checks
(file_exists, non_empty) for remote paths, relying on ROOT's native
XRootD support to open and validate the file.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rahmans1 rahmans1 requested review from sjdkay and veprbl February 17, 2026 20:14
@veprbl
Copy link
Copy Markdown
Member

veprbl commented Feb 17, 2026

I would just remove local filesystem checks altogether. Detecting URLs by prefix is not very robust (e.g. you miss roots://), if you do, check for arbitrary URI.

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.

2 participants