Skip to content

Deprecate auth package and TNetFile#21775

Open
jblomer wants to merge 30 commits intoroot-project:masterfrom
jblomer:deprecate-rootd
Open

Deprecate auth package and TNetFile#21775
jblomer wants to merge 30 commits intoroot-project:masterfrom
jblomer:deprecate-rootd

Conversation

@jblomer
Copy link
Copy Markdown
Contributor

@jblomer jblomer commented Apr 2, 2026

Deprecates TVirtualAuth, the concrete implementation (auth package), and dependencies:

  • Socket authentication
  • TROOT::GetListOfSecContexts
  • TNetFile/TNetFileStager/TNetFileSystem
  • TFTP

Also removes the unused rpdutils (private library).

@jblomer jblomer self-assigned this Apr 2, 2026
@jblomer jblomer changed the title Deprecate auth package and dependencies Deprecate auth package and TNetFile Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Test Results

    21 files      21 suites   2d 23h 47m 12s ⏱️
 3 836 tests  3 784 ✅  1 💤 51 ❌
72 241 runs  72 171 ✅ 18 💤 52 ❌

For more details on these failures, see this check.

Results for commit 0fef1ab.

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown
Member

@dpiparo dpiparo left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM.

@dpiparo
Copy link
Copy Markdown
Member

dpiparo commented Apr 6, 2026

Maybe a small suggestion could be to update the documentation of sockets with something along the lines of 8cbf7e4 .

@hahnjo
Copy link
Copy Markdown
Member

hahnjo commented Apr 6, 2026

Regarding rpdutils, see 46eb07a. I think we cannot remove it (yet) without breaking the deprecated functionality.


} // namespace ROOT::Deprecated

using TVirtualAuth R__DEPRECATED(6, 42, "TVirtualAuth is deprecated") = ROOT::Deprecated::TVirtualAuth;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we provide alternatives/explanations to users that were relying to this class in the deprecation message? In general it's always good practice to not just say "this is deprecated" but also why it is and/or what to use instead

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.

4 participants