Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to python3, stop storing DBs in git, and support downloading DBs from USDA #8

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

lee-b
Copy link

@lee-b lee-b commented Jul 31, 2016

NOTE: this breaks existing git history and compatibility. It:

  • rewrites git history, to remove the DB data. Not to be merged lightly. I think it's necessary though; DBs should not be in git.
  • Moves code to python3, dropping support for python2. Not strictly necessary, probably could support both, but I feel python2 should have been dropped years ago, so I've no interest in spending time on backwards compatibility.

Sigfrido Chirinos and others added 30 commits May 8, 2013 02:00
…e descriptions in program command line options.
Convert port to int for pymongo plugin
Updated README to use nutrientdb.py instead of nutrient.py
So that the #! line at the beginning is actually useful.
They're kind-of-text-ish, but the files (and their diffs) are not really
intended for human consumption.
So far as I can tell this ordering falls out by default because of
insertion order into the db, but it should be very cheap to ask sqlite
to check this at dump time.
The original datatype is actually 'A 5', not 'N'. The code for dumping
to sqlite seems to agree?
@jackmcdade
Copy link

When exporting to JSON, it does not create a valid JSON object (it should be an array of objects, not just a text file with JSON objects inside it), and also includes some logging in the beginning of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants