Ticket #44 (new task)

Opened 11 months ago

Last modified 9 months ago

Persistent local preferences for native builds

Reported by: mikeal Owned by: bear
Priority: major Milestone: future
Component: unspecified Version: 0.2-beta
Keywords: Cc:
Dependencies:

Description

I need to standardize, build, and use a local_settings.py for each platform.

Attachments

issue_44.patch (5.6 kB) - added by bear 11 months ago.
patch to make conf/init.py a bit more flexible and not key-case sensitive

Change History

Changed 11 months ago by mikeal

  • owner changed from mikeal to bear

The first part of this just getting a local profile on each platform, so I'm giving this to bear.

Changed 11 months ago by mikeal

  • type changed from defect to task

Changed 11 months ago by bear

  • status changed from new to assigned

Changed 11 months ago by bear

  • owner changed from bear to mikeal
  • status changed from assigned to new

commited in revision 289 conf/local_settings.py that defines two helper functions:

locateSettings(dirname=None) loadSettings(dirname=None, filename='prefs.py')

Changed 11 months ago by bear

patch to make conf/init.py a bit more flexible and not key-case sensitive

Changed 11 months ago by mikeal

  • summary changed from Persistent local prefernces for native builds to Persistent local preferences for native builds

Bear's patch was committed in r290.

We now either need an API for jacob that will write changes/addition back to the local prefs file, or jacob can try just parsing and writing to the file himself.

I think bear mentioned that he had an cool idea about how to do this tho, so we'll wait for his comments.

Changed 10 months ago by mikeal

  • owner changed from mikeal to bear

Bear is going to provide an API for writing the prefs back to the file.

Then bounce the ticket back to mean and I can write a public RPC method for it.

Changed 9 months ago by mikeal

The rest of this work is actually encapsulated in the "IDE doesn't persist local prefs" work.

Changed 9 months ago by mikeal

  • milestone changed from 0.2-release to future
Note: See TracTickets for help on using tickets.