Feature #735

Newer tool versions should be able to read files written by older versions

Added by J. Moringen over 9 years ago. Updated over 9 years ago.

Status:ResolvedStart date:11/25/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:-
Target version:Robotics Service Bus - 0.6

Related issues

Related to RSBag - Bug #867: Include IDL in channel format field Resolved 02/08/2012
Related to RSBag - Feature #875: Newer tool versions should be able to write files in form... In Progress 02/14/2012

Associated revisions

Revision a4791e89
Added by J. Moringen over 9 years ago

Added rsb-schema-name in src/transform/rsb-event.lisp
refs #735, refs #875
  • src/transform/rsb-event.lisp (rsb-schema-name): new constant;
    versioned designator for the `rsb-event' transform class
    (find-transform-class eql rsb-schema-name): changed specializer
    :rsb-event -> rsb-schema-name
    (transform-name rsb-event): changed return value :rsb-event ->
    rsb-schema-name
  • src/transform/package.lisp (header): updated copyright
    (package rsbag.transform): added exported symbol rsb-schema-name
  • src/rsb/channel-strategies.lisp
    (make-channel-for channel-connection event scope-and-type): use
    `+rsb-schema-name+' when requesting the transform

Revision 8a77566f
Added by J. Moringen over 9 years ago

Added more test data in test/data/**
refs #735, refs #875
  • test/data/*.*/*.tide: versioned TIDELog test data
  • test/data/elan/simple.eaf: new file; Elan test data
  • test/data/elan/empty.eaf: likewise
  • test/data/elan/empty-tiers.eaf: likewise
  • CMakeLists.txt: run test for bag-info, bag-cat and bag-play
    against multiple serialization versions and TIDELog and Elan file
    formats; not completely implemented, this is just the CMake stuff
    for test execution

Revision c06edc34
Added by J. Moringen over 9 years ago

Multiple serialization versions in src/transform/rsb-event*.lisp
fixes #735, refs #875
  • compact: new directory; contains implementations of legacy
    serialization versions
  • src/versioned-packages.lisp: new file; contains support
    functions and macros for loading stuff into versioned packages
  • src/package.lisp (package rsbag): added exported symbols
    make-versioned-name, with-renamed-package, with-renamed-packages and
    with-versioned-packages
  • src/transform/rsb-event-version-detection.lisp: new file; contains
    code for automatically detecting multiple versions of the rsb-event
    serialization scheme
  • src/transform/rsb-event-multi-version.lisp: new file; contains code
    to support legacy versions of the rsb-event serialization scheme
  • src/transform/package.lisp (package rsbag.transform): import
    make-versioned-name and with-versioned-packages from package rsbag
  • cl-rsbag.asd (system cl-rsbag): added files
    src/versioned-packages.lisp,
    src/transform/rsb-event-version-detection.lisp and
    src/transform/rsb-event-multi-version.lisp

History

#1 Updated by J. Moringen over 9 years ago

There is code which tries RSB event serializations for versions 0.6, 0.5 and 0.4 successively. Starting with version 0.6, the serialization version is stored explicitly.

#2 Updated by J. Moringen over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

Applied in changeset r319.

#3 Updated by J. Moringen over 9 years ago

  • Target version set to 0.6

Also available in: Atom PDF