Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#178 closed defect (fixed)

Adding Memorize MIME information to the database

Reported by: erikos Owned by: erikos
Priority: normal Milestone:
Component: Memorize Version: Git as of bugdate
Severity: Major Keywords: GPA
Cc: Distribution/OS: Unspecified
Bug Status: Assigned

Description

We need to add mime information to the database, so that games created by the activity can be transferred and recognized to other systems.

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <mime-type type="application/x-memorize-project">
         <comment xml:lang="en">Memorize Game</comment>
         <comment xml:lang="de">Erinnern Spiel</comment>
         <glob pattern="*.memorize"/>
  </mime-type>
</mime-info>

We need to add this to mimetypes.xml and make sure it is installed and added to the database on installation.

Change History (7)

comment:1 Changed 10 years ago by erikos

  • Status changed from new to accepted

comment:2 Changed 10 years ago by erikos

  • Bug Status set to Unconfirmed
  • Distribution/OS set to Unspecified
  • Severity set to Blocker

http://git.sugarlabs.org/projects/memorize/repos/mainline/commits/684d938ff4ecbd3716a533bfc6e37e6103c06b04

I think this is fixing it. The database gets only updated on installation - not when using "./setup.py dev". But should cover mostly all the cases. Will verify in next soas.

comment:3 Changed 10 years ago by erikos

  • Bug Status changed from Unconfirmed to Assigned
  • Severity changed from Blocker to Major

comment:4 Changed 10 years ago by gregorio

  • Keywords GPA added

This was uncovered as an issue at GPA.

See: http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg06470.html

If this will allow a kid to launch a specific Memorize instance with a specific game loaded directly from the Journal, it would have been very useful.

Thanks,

Greg S

comment:5 Changed 8 years ago by greenfeld

Not certain how much of an issue this is or isn't anymore; we can copy Memorize games to a USB device in OLPC 11.2.0 os14/Memorize-36, but they lack any extension in that case, and rely on Sugar's USB metadata support to figure out it's a Memorize game on another Sugar system.

comment:6 Changed 8 years ago by godiard

  • Keywords olpc-test added
  • Resolution set to fixed
  • Status changed from accepted to closed

When I save a game, and copy it to the usb drive, the file have a extension .memorize

Tested in 11.2

comment:7 Changed 8 years ago by greenfeld

  • Keywords olpc-test removed

Tested in 11.3.0-os3 copying to and from USB, as well as with wiping the .Sugar-Metadata folder on the USB stick so no Sugar-specific hints other than the file extension were present.

Note: See TracTickets for help on using tickets.