OMG

Comment 11 for bug 620762

Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

The format of the Trophy file is
It starts with something inside [ and ]

Then it has a list of Key=Value pair on each line. This is what the dameon looks for in the trophy file.

All the lines which have a "="in it is taken into consideration and rest all the rejected. This means you can even have
[I met my girlfriend today morning] in the first line

The allowed keys are
* ID
* Title
* Description
* Application
* SetName
* IconPath
* Priority
* Locale

If you use any other keys, they are ignored. Please dont use anything like

Id=Foo=Blah

it would also be rejected. It only looks for
Key=Value

All leading and trailing whitespaces are stripped out from Key and Value

this means
___Id___=__Me_too_
Where _ means whitespace

Finally this will become
Id and Me_too

Please don't put the values in quotes. You dont need to.

I think I have documented the Trophy format. I will move this to some place once we arrive at a conclusion that it is fine.