Ticket #178 (closed defect: fixed)

Opened 4 years ago

Last modified 21 months ago

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

Changed 4 years ago by erikos

  • status changed from new to accepted

Changed 4 years ago by erikos

  • distribution set to Unspecified
  • severity set to Blocker
  • status_field set to Unconfirmed

 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.

Changed 4 years ago by erikos

  • severity changed from Blocker to Major
  • status_field changed from Unconfirmed to Assigned

Changed 4 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

Changed 2 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.

Changed 22 months ago by godiard

  • keywords GPA, olpc-test added; GPA removed
  • status changed from accepted to closed
  • resolution set to fixed

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

Tested in 11.2

Changed 21 months ago by greenfeld

  • keywords GPA added; GPA, 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.