Thanks guys. I ended up doing this: StartupPreferencesLoader default executeAtomicItems: { StartupAction name: '02 Iceberg' code: [ | repo | IceCredentialsProvider default sshCredentials username: 'git'; publicKey: '/Users/mariano/.ssh/id_rsa_github.pub'; privateKey: '/Users/mariano/.ssh/id_rsa_github'; keyPassphrase: 'YYY'. IceCredentialsProvider default plaintextCredentials username: 'marianopeck@gmail.com'; password: 'XXX'. Iceberg enableMetacelloIntegration: true. IceRepository shareRepositoriesBetweenImages: true; sharedRepositoriesLocationString: '/Users/mariano/Pharo/git'. Iceberg showSystemRepositories: false. repo := IceRepositoryCreator new location: '/Users/mariano/pharo61/pharo-local/iceberg/marianopeck/OSSubprocess' asFileReference; subdirectory: 'repository'; createRepository. repo register. "more registrations here" ] runOnce: true. }. On Fri, Nov 10, 2017 at 10:11 AM, Peter Uhnák <i.uhnak@gmail.com> wrote:
You can create repositories programatically.
repo := IceRepositoryCreator new location: '/home/user/.../'; subdirectory: 'codeSubdirectory'; createRepository. repo register.
On Fri, Nov 10, 2017 at 1:11 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
I would also like that :)
On Fri, Nov 10, 2017 at 6:45 AM, Prof. Andrew P. Black <black@cs.pdx.edu> wrote:
I would like to have the git repositories that Iâm working from automatically added to the list of known repositories in Iceberg at startup time. In other words, I don;t want to have to do a bunch of âAdd local repositoryâ commands before I can start work.
What magic can I put in my settings.st file to make this happen?
Andrew
-- Mariano http://marianopeck.wordpress.com
-- Mariano http://marianopeck.wordpress.com