[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-284
From: |
Eric S. Raymond |
Subject: |
[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-284-gb880c43 |
Date: |
Sat, 16 Apr 2016 08:27:01 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".
The branch, master has been updated
via b880c430e8e69ef90e1ec0840f3b1c92360e9885 (commit)
via f2ce184299978f27d610c46a40de76e717e53170 (commit)
via 93bf0f900172baf744657342bff7c59bd1e0289c (commit)
via 3572ff3f090220021894ed02a7b577b5d286a05e (commit)
via e32a8f856b810486ea260f450611a6e331692f83 (commit)
via d9119d26f5c7b0963af2090346dff4ea14b87883 (commit)
via 0631b9e3a24a9215f3d10d9434bf42e0c50c2408 (commit)
from 22c3fafb25b742973d7122edc626b30d03bdb36c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b880c430e8e69ef90e1ec0840f3b1c92360e9885
Author: Fred Wright <address@hidden>
Date: Thu Apr 14 19:54:21 2016 -0700
Fixes cycle_analyzer for Python 3 (as well as other bugs).
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.
commit f2ce184299978f27d610c46a40de76e717e53170
Author: Fred Wright <address@hidden>
Date: Thu Apr 14 19:54:20 2016 -0700
Fixes devtools/flocktest for Python 3.
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.
commit 93bf0f900172baf744657342bff7c59bd1e0289c
Author: Fred Wright <address@hidden>
Date: Thu Apr 14 19:54:19 2016 -0700
Fixes scons post-cleanup in devtools/sizes.
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.
commit 3572ff3f090220021894ed02a7b577b5d286a05e
Author: Fred Wright <address@hidden>
Date: Sat Apr 16 00:01:13 2016 -0700
Fixes contrib/webgps.py for Python 3.
Since the import fallback hack doesn't work properly in Python 3, this
gets rid of it and adds a symlink to make the 'gps' package directory
directly available here (similar to what was done in devtools). It
then makes a few minor fixes for Python 3.
The default Python 3 pickle protocol 3 doesn't work in Python 2, but
protocol 2 doesn't work correctly in this case either, so there
doesn't seem to be any way to make the tracks file
backward-compatible. Thus, it just uses the default protocol and
punts at load time if the load fails.
This change also fixes the reversed skyview, for consistency with
pretty much everything else.
There was one case where it crashed with a "dictionary changed size"
error that appeared to be due to the delete_stale method's deleting a
dictionary entry while scanning it, which is a no no. This has also
been fixed.
Also adds the result files to .gitignore.
TESTED:
Ran with both Python 2 and Python 3. This included one run of over
three hours without any more crashes.
commit e32a8f856b810486ea260f450611a6e331692f83
Author: Fred Wright <address@hidden>
Date: Sat Apr 16 00:01:11 2016 -0700
Adds a tool for cleaning up after Python uninstall bug.
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.
commit d9119d26f5c7b0963af2090346dff4ea14b87883
Author: Fred Wright <address@hidden>
Date: Sat Apr 16 00:01:12 2016 -0700
Fixes gps.gps.gps iterator for Python 3.
Python 3 renames the iterator next() method to __next__(). Without
the new name, attempting to use the object as an iterator doesn't
work. This didn't surface until trying webgps.py.
For compatibility with both Python 2 and Python 3, both names need to
be provided. This change renames the existing method to conformto
Python 3 naming, and then adds a wrapper to provide the old name for
Python 2.
TESTED:
Ran webgps.py (with uncommitted fixes) with both Python 2 and Python
3.
commit 0631b9e3a24a9215f3d10d9434bf42e0c50c2408
Author: Fred Wright <address@hidden>
Date: Sat Apr 16 00:01:10 2016 -0700
Fixes uninstall to remove Python package directory.
Uninstall was removing the contents of the Python package directory,
but not the directory itself. There's an asymmetry where an
unmentioned directory is created automatically when needed, but not
removed when it's rendered empty.
In Python 2, this is a fairly harmless error, albeit slightly unclean,
since directories lacking an __init__.py file are ignored by the
import logic. But in Python 3, which allows the init file to be
omitted, leaving the empty directory around causes "import gps" to
apparently succeed and create an empty "namespace" module. Not only
does this confuse programs attempting to detect import failures, but
it also prevents a future import from working even after adjusting
sys.path, since reimporting an already imported module is a NOP.
The fix is simply to include the directory explicitly in the list for
python_install. This has no actual effect on the install, but
includes the directory in the uninstall.
TESTED:
Ran install/uninstall and verified that the directory is now removed
by the uninstall.
-----------------------------------------------------------------------
Summary of changes:
SConstruct | 5 +-
contrib/.gitignore | 3 +
contrib/gps | 1 +
contrib/webgps.py | 36 ++++++----
devtools/cycle_analyzer | 78 +++++++++++---------
devtools/flocktest | 59 ++++++++++------
devtools/gps | 1 +
devtools/sizes | 2 +-
devtools/uninstall_cleanup.py | 154 +++++++++++++++++++++++++++++++++++++++++
gps/gps.py | 7 ++-
10 files changed, 271 insertions(+), 75 deletions(-)
create mode 120000 contrib/gps
create mode 120000 devtools/gps
create mode 100755 devtools/uninstall_cleanup.py
hooks/post-receive
--
GPSD
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.16-284-gb880c43,
Eric S. Raymond <=