Skip to content

Move ntripper/stats to cmd/ntripper/stats#535

Open
leoleovich wants to merge 1 commit into
facebook:mainfrom
leoleovich:export-D107570140
Open

Move ntripper/stats to cmd/ntripper/stats#535
leoleovich wants to merge 1 commit into
facebook:mainfrom
leoleovich:export-D107570140

Conversation

@leoleovich

Copy link
Copy Markdown
Contributor

Summary:
ntripper is a command-only tool: all of its logic lives in
cmd/ntripper/main.go and there is no ntripper/ library package, so the
top-level ntripper/ directory existed solely to hold the stats package. That
stats package is imported only by cmd/ntripper.

Move it under cmd/ntripper/stats to match the other command-only tools
(cmd/ntpcheck/checker, cmd/ptpcheck/metrics, cmd/ziffy/node) and remove the
orphan top-level ntripper/ directory. Updates the package_name, the import in
main.go, and the BUCK dep accordingly.

Also add an ntripper section to the top-level README so the command-line tool
is documented alongside the related NTRIP/RTCM entries.


Differential Revision: D107570140

Summary:
ntripper is a command-only tool: all of its logic lives in
cmd/ntripper/main.go and there is no ntripper/ library package, so the
top-level ntripper/ directory existed solely to hold the stats package. That
stats package is imported only by cmd/ntripper.

Move it under cmd/ntripper/stats to match the other command-only tools
(cmd/ntpcheck/checker, cmd/ptpcheck/metrics, cmd/ziffy/node) and remove the
orphan top-level ntripper/ directory. Updates the package_name, the import in
main.go, and the BUCK dep accordingly.

Also add an ntripper section to the top-level README so the command-line tool
is documented alongside the related NTRIP/RTCM entries.

___

Differential Revision: D107570140
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 4, 2026
@meta-codesync

meta-codesync Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

@leoleovich has exported this pull request. If you are a Meta employee, you can view the originating Diff in D107570140.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant