Changelog for Release 0.7.0-alpha (07/14/2015)
Provides a new command-line interface
deepdivewith a new standard DeepDive application layout.- No more installation/configuration complication: Users run everything through the only
deepdivecommand, and everything just works in any environment. The only possible failure mode is not being able to rundeepdivecommand, e.g., by not setting up thePATHenvironment correctly. - No more pathname/environment clutter in apps: repeated settings for
DEEPDIVE_HOME,APP_HOME,PYTHONPATH,LD_LIBRARY_PATH,PGHOST,PGPORT, ... inrun.shorenv.shorenv_local.shorenv_db.shor etc. are gone. Path names (e.g., extractor udf) inapplication.confare all relative to the application root, and brittle relative paths are no longer used in any of the examples. - Clear separation of app code from infrastructure code, as well as source code from object code: No more confusing of deepdive source tree with binary/executable/shared-library distribution or temporary/log/output directories.
- Binary releases can be built with
make package.
- No more installation/configuration complication: Users run everything through the only
Here are a summary of changes visible to users:
- Application settings is now kept in
deepdive.conffile instead ofapplication.conf. - Database settings is now done by putting everything (host, port, user, password, database name) into a single URL in file
db.url. - Path names (e.g., extractor udf) in deepdive.conf are all relative to the application root unless they are absolute paths.
- SQL queries against the database can be run easily with
deepdive sqlcommand when run under an application. - Database schema is now put in file
schema.sqland optional initial data loading can be done by a scriptinput/init.sh. Input data is recommended to be kept underinput/. - By passing the pipeline name as an extra argument to the
deepdive runcommand, different pipelines can be run very easily: No more application.conf editing. - Logs and outputs are placed under application root, under
snapshot/.
- Application settings is now kept in
Adds piggy extractor that replaces the now deprecated plpy extractor.
Includes the latest DDlog compiler with extended syntax support for writing more real world applications.
Includes the latest Mindbender with Dashboard GUI for producing summary reports after each DeepDive run and interactively analyzing data products.
Workaround for Old Style Applications
To have an old style DeepDive applications run with this version, here's a small change you can try.
You can replace your sbt or deepdive line in your run.sh script with the following deepdive env java command:
deepdive env java org.deepdive.Main -c application.conf -o output_dir
However, it is strongly recommended to upgrade to the new standard layout because more features and tools will rely on the app structure, and backward incompatible changes that break the following workaround can be introduced at any release in the future.