Happy !

SeanDeNigris / DeNigrisPreferences

Project infos

License MIT
Tags
Creation date 2013-10-05
Website

Monticello registration

About DeNigrisPreferences

Moved to GitHub.

This is how I manage my Pharo Preferences. Feel free to use it or adapt it to make it more generally useful - Sean

Preference file glue

I have one preference file that loads this project. It looks like this:


StartupLoader default executeAtomicItems: {
    StartupAction name: 'Load DeNigrisPreferences' code: [
        Gofer it 
            url: 'http://smalltalkhub.com/mc/SeanDeNigris/DeNigrisPreferences/main';
            package: 'DeNigrisPreferences-Core';
            load 
    ] runOnce: true
}.

Monticello Log-in

The way the logins work is that a file named .mcconfig is expected in the general preferences folder with the format:


[squeaksource]
    user := 'me'.
    password := 'pwd'.
[squeaksource3]
    user := 'me'.
    password = 'pwd'.
[smalltalkhub]
    user := 'me'.
    password := 'pwd'.

Other files

It also uses a file called "localRepositoryRoot" in the general preferences folder which contains the text of the full path to wherever one keeps local repositories on disk