| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Note the program pep8 is now called pycodestyle
|
|
|
|
| |
Note the program pep8 is now called pycodestyle
|
|
|
|
| |
Note the program pep8 is now called pycodestyle
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is the last remaining included Python program that isn't
compatible with Python 3, and it doesn't make sense to fix that
unless someone is motivated to fix its general outdatedness.
TESTED:
No.
Signed-off-by: Gary E. Miller <gem@rellim.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It appears that this program hadn't been used in a while, since it had
bugs unrelated to Python 3. After fixing some bugs, it's able to run
successfully on all the test logfiles, except that it chokes on the
binary data in ac12_binary (due to a newline within the binary data),
and on the known malformed sentence in triton400.
In order to allow the utility functions in gps.misc to be imported, it
adds a symlink from devtools/gps to gps. Due to some weirdness in
Python 3 imports, there didn't seem to be any other way to make this
work with uninstalled libraries, and in any case it allows the local
libraries to take precendence over the system libraries.
TESTED:
Ran with all six supported Python versions on all daemon logfiles,
with only the errors noted above.
|
|
|
|
|
|
|
|
|
| |
These fixes are applied "mostly blind" due to the inability to run
this "for real", but they're pretty straightforward.
TESTED:
Ran -? and (unsuccessful) -c with both Python 2 and Python 3.
Otherwise untested.
|
|
|
|
|
|
|
|
|
| |
I'd missed that there were two places doing cleaning. This applies
the same fix to the second as was previouly applied to the first.
TESTED:
Ran and verified that the .sconf_temp directory is no longer left
around.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the just-fixed SConstruct bug could have left empty Python
package directories lying around in multiple Python installs,
this provides a tool for cleaning them all up. It applies to
every non-text python* file in the command PATH, and removes
any empty 'gps' package directories. Nonempty directories are not
removed.
TESTED:
Verified that directories left over by the uncorrected uninstall were
removed, and that nonempty directories weren't. Tested with both
Python 2 and Python 3.
|
|
|
|
|
|
|
|
| |
This was using the less reliable non-env version of the Python shebang
line. The fix was neglected in the previous commit.
TESTED:
Verified that it launches and passes text.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the aivdmtable, regressdiff, sizes, and striplog programs
to work with Python 3. The "striplog" program didn't require any
actual changes, but it still adds the usual compatibility comment and
future import.
In the case of "sizes", it also adjusts the scons cleanup pattern to
include the temporary directory, and adds explicit checking (with an
exception) for build failures.
TESTED:
Ran all four programs with both Python 2 and Python 3.
|
|
|
|
|
|
| |
See previous commits for the rationale.
Not tested.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This applies the 2to3 fixes as well as integer division fixes to the
four programs in devtools. Most of these transformations are similar
to ones used elsewhere, with the notable exception of the
reraise_with_traceback() function in ais.py.
TESTED:
Ran identify_failing_build_options.py with both Python 2 and Python 3
up through length 1, with identical results. Did *not* test the other
three programs. Someone more familiar with their usage should do
that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Adds the recently added 'gpsd' and 'gpsdclients' to the test list.
2) Uses 'build-all' rather than 'build', for more complete testing.
3) Fixes a potential ordering issue with the pre-clean.
4) Makes the removal of scons temporaries more complete.
5) Derives the number of jobs from the number of CPUs, rather than
hard-coding it.
6) Applies parallelism to "check' as well as 'build-all'.
7) Makes the error-list file names more descriptive.
TESTED:
Runs and gets a couple of failures, which don't appear to be new
problems.
|
|
|
|
|
| |
Signed-off-by: Beat Bolli <dev@drbeat.li>
Signed-off-by: Jon Schlueter <jschlueter@redhat.com>
|
|
|
|
|
|
|
| |
Iterating over a generator function is preferred and saves memory.
Signed-off-by: Beat Bolli <dev@drbeat.li>
Signed-off-by: Jon Schlueter <jschlueter@redhat.com>
|
|
|
|
|
| |
Signed-off-by: Beat Bolli <dev@drbeat.li>
Signed-off-by: Jon Schlueter <jschlueter@redhat.com>
|
|
|
|
|
| |
Signed-off-by: Beat Bolli <dev@drbeat.li>
Signed-off-by: Jon Schlueter <jschlueter@redhat.com>
|
| |
|
|
|
|
|
| |
had to extend check to include extra size
Also tweaked devtools/ais.py
|
| |
|
|
|
|
|
|
|
| |
change guard for scons check to just require passing scons
Now that we have some better guards on the individual check targets for
what they require
|
| |
|
|
|
|
| |
added ntp and removed oldstyle
|
|
|
|
|
|
| |
As a side effect, simplify configuration slightly.
All regression tests pass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script is a helper script to run through various combinations
of build options as enumerated in the script looking for broken
builds. This has helped identify several bugs and some other general
cleanup in the code base.
to run:
> devtools/identify_failing_build_options.py
it will run for as long as you let it trying to build different build
configurations with minimal=on to find failing ones. It prints out
hopefully useful status as well as stderr but discards stdout from the
builds. Any failing build configurations are logged to
failed_build_configs.txt and can be easily checked later to see why they
failed and how to fix them.
|
| |
|
|
|
|
|
|
|
| |
This script is almost too trivial to check in, but it leaves files
named like
CHECK.release-3.11-181-g2ab8763
with regression test output, which is helpful when trouble arises.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|