Gary E. Miller cb1f4d388d SCons*: "scons zip" and "scons dist" work, with caveats. преди 4 години
..
README 17dfbff718 Remove the flock files, as we are no longer using that преди 4 години
ais.py b0a47ba546 devtools/ais.py: Fix copyright преди 4 години
aivdmtable 0961c96764 devtools/aivdmtable: Fix copyright преди 4 години
client-projects 30d0a65390 Updating some more http -> https преди 5 години
cycle_analyzer a482695b64 devtools/cycle_analyzer: Fix copyright, remove tabs. преди 4 години
dchroot-exec 899c543796 Remove bash-isms that snuck in. преди 4 години
do-build 8d706a067f Add do-build script to run tests. преди 10 години
easyinverse.pl bc5c1b4119 Fix spelling преди 4 години
editcomment 34a928102e Pacify recent versions of git. преди 4 години
fakecompare 71635b9d81 devtools/fakecompare: Fix copyright преди 4 години
get_geoid_table.py 88f84ff203 devtools/get_geoid_table.py: Improve docstring. преди 4 години
get_mag_var_table.py e1fda6ea92 devtools/get_mag_var_table.py: Fix docstring nit per codacy. преди 4 години
gpsd-debian-regressions.sh 684e6e9223 devtools/gpsd-debian-regressions.sh: Codacy cleanup. преди 4 години
gpsdfake 0e37f9af5f devtools/gpsdfake: Fix copyright, remove tabs. преди 4 години
identify_failing_build_options.py 341d3a66a3 devtools/identify_failing_build_options.py: Fix docstrings. преди 4 години
logextract 54e35b11b2 devtools/logextract: Fix copyright, remove tabs. преди 4 години
regress-builder 7270ec45a9 devtools/regress-builder: remove unused import преди 4 години
regressdiff d2bd60a0e3 devtools/regressdiff: Fix copyright, remove tabs. преди 4 години
reindent a5e56a4354 The failed attempt at reindenting should be kept for the record. преди 14 години
sizes ca6333f47c devtools/sizes: remove use of obsolete variable. преди 4 години
striplog 2a7f4ac1b8 devtools/striplog: Fix copyright преди 4 години
tablegen.py ed8f440b94 devtools/tablegen.py: Fix docstrings. DOn't reuse globals as locals. преди 4 години
test_json_validity.py 3ee037f496 devtools/test_json_validity.py: Fix docstring nit per codacy. преди 4 години
uninstall_cleanup.py 6ed6eab083 devtools/uninstall_cleanup.py: Fix docstring nits. преди 4 години

README

This is a list of developer tools included in the source repository
but not necessarily shipped in the tarball or binary distributions If you're
viewing it with Emacs, you can try doing Ctl-C Ctl-t browse through
the outline headers. Ctl-C Ctl-a will unfold them again.

== ais.py ==

AIS packet decoder in Python. Useful as a check on the C code.
Also, if you have AISHub privileges (see ),
a command like

nc data.aishub.net 4006 | devtools/ais.py -c -v -t RANGE >AIS.LOG 2>&1"

is a handy way to capture filtered AIS samples; RANGE can be a comma-separated
list of AIS types.

== aidvmtable ==

Generate an asciidoc table of the six-bit encoding used in AIVDM packets.

== cycle_analyzer ==

Finds end-of-cycle sentences from GPS output logs.

== dchroot-exec ==

Very simple wrapper around the DSA version of dchroot
on the Debian porter boxes. dchroot only accepts one command
as argument, nothing else. This wrapper creates a temporary script
which will be executed then.

== do-build ==

Very simple wrapper around scons clean, build, and check, saving
output in a file named with "git describe".

== easyinverse.pl ==

Generate random pairirs of mutually inverse covariance matrices
suitable for testing a matrix-inversion algorithm.

== editcomment ==

Give this a commit-ID specification. It will edit the associated comment.
Usual caveats apply; the edited one and all commits after will change IDs,
and pushing them to a repo with the old commits will wreak havoc.
Note also that this cavalierly overwrites refs/original.

== fakeserver ==

Analogue of gpsfake. Impersonates a gpsd, spewing specified data to
clients connecting to localhost:2947

== fakecompare ==

Compare the results from running gpsfake on a logfile between this
machine and a remote one. Especially useful when remote and local
have different word lengths.

== gpsd-debian-regressions.sh ==

Retrieves the latest build logs from Debian's buildds and extracts a
list of failed regression tests, sorted by architecture.

== identify_failing_build_options.py ==

Run from the top level to try to identify any combinations of build
options that don't compile. To run cd to the root of the repo and
run "devtools/identify_failing_build_options.py" it will generate
failed_build_configs.txt for any that failed to compile.

== logextract ==

Extract pure NMEA from an emailed gpsd error log. The output can be fed
to gpsfake.

== regress-builder ==

This script runs an exhaustive test on combinations of compilation options,
looking for ones that break the build.

== regressdiff ==

Walk through a pair of text files looking for where they begin to differ.
May be useful for comparing logs when regression tests break.

== reindent ==

Try to reindent the code in a uniform style.

== sizes ==

Test-build interesting versions of the daemon and display their sizes.

== striplog ==

Strip leading comment lines from NMEA sentence logs. gpsfake can do
this itself now, so this script has a lot of dust on it.

== tablegen.py ==

Generate most of the code required to support a message type from
AIVDM message layout tables. Also, redo their bit offsets to be
conformant with field lengths.

== test_json_validity.py ==

Test a file full of lines containing GPSD-JSON reports to verify that each
line is in fact well-formed JSON.