Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.01 KB

storage.md

File metadata and controls

31 lines (23 loc) · 1.01 KB

Storage

conveyor needs storage for:

  • firmware
  • machines

conveyor stores data in a folder with a platform-specific location:

  • OSX: /Library/com.makerbot.conveyor/
  • Ubuntu: /var/lib/conveyor/
  • Windows: C:\Program Files\MakerBot\conveyor\

Under the platform-specific folder conveyor uses the same sub-folder layout for all three supported platforms:

  • (prefix)/
    • firmware/
      • (electronics)/
        • (version)/
          • eeprom.json
          • firmware.hex
    • machines/
      • machine.sqlite

Firmware is stored in further sub-folders. At the first level there is a folder for each type of electronics (i.e., "mighty_one"). Under each electronics folder the is a folder for each version of the firmware. Each firmware version folder has two files: the JSON map for the EEPROM and the firmware binary.

Machine information is stored in a SQLite database. SQLite is included in Python starting with version 2.5 so it does not introduce any new dependencies.