Depends on D4032
Move all tools to the ::tools namespace
Differential D4033
[services] Move tools to their namespace • karol on May 13 2022, 2:28 AM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Adding @geekbrother since he seems interested in this work, based on discussion in ENG-976 Comment Actions I think we need to distinguish service-specific namespace for tools and GlobalTools. Comment Actions I think it's better to have the same namespace. Maybe someone else can take a vote here? Adding some people to the review Comment Actions How about tools:: (or comm::tools:: or whatever) for the global tools, and tunnelbroker::tools:: (or comm::tunnelbroker::tools:: or whatever) for Tunnelbroker-specific tools? Comment Actions Looks like we have comm::network::tools here, does that really make the most sense for something like services/lib/src/GlobalTools.h? Not sure what it has to do with "network"... passing back to @karol-bisztyga with this question Comment Actions AFAIR network was introduced when we started working on services. I think we agreed that comm::network would be a good namespace for them. Tomek already pointed out that we may want to refactor this. This is the task for that: https://linear.app/comm/issue/ENG-1162/think-of-the-best-namespace-name. As for the tools, looks like I'm outvoted. So let's go with tools for global tools and tunnelbroker::tools for tunnelbroker. Comment Actions Okay fair point, this is best covered as a separate task/diff since it impacts other diffs / other files. Accepting to unblock, and thanks for creating a task!
|