Sean, Don't know if this has already mentioned, but you can programmatically add Directory repositories as follows:
| repo | {'/path/to/repositories/project-1/'. '/path/to/repositories/project-2/'. '/path/to/repositories/project-3/'. } do: [:path | repo := MCDirectoryRepository new directory: (FileDirectory on: path). MCRepositoryGroup default addRepository: repo ]. ----- "Sean P. DeNigris" <s...@clipperadams.com> wrote: | I'll give you my use case: | I share my projects among a few images, and I like to keep them in | sub- | directories like: | /path/to/repositories/project-1/ | /path/to/repositories/project-2/ | /path/to/repositories/project-3/ | So each one of these is a separate, unrelated repository in a common | | parent directory for ease of finding. | | So when I +Repository to each image, I have to navigate from the | default directory to my repository for each new repository. If I can | | pick a start directory once as a setting, I can add new project's sub- | | directory or open them without any navigation. | | Does that make sense? | | Sean | | On Apr 20, 2010, at 1:33 PM, "Chris Muller-3 [via Smalltalk]" | <ml-node+2017760-613088063-217...@n4.nabble.com | > wrote: | | > Whether the user is required to specify a "default directory" or a | > directory to a repository, it's the same task isn't it? | > | > Once you add it once to MC, it can be "added" to any other package. | > So this defaultDirectory would seem to be a feature not worth its | > weight.. | > | > | > On Mon, Apr 19, 2010 at 6:00 PM, Sean P. DeNigris <[hidden email]> | | > wrote: | > | > > | > > http://code.google.com/p/pharo/issues/detail?id=2329 | > > | > > Pharo image: Pharo 1.0 | > > | > > In Monticello Browser, when I click "+Repository" and select | > "directory," | > > I'd love to be taken right to the directory where I keep my local | > > repositories, instead of having to click to the same place over | > and over. | > > | > > I changed the following method: | > > MCDirectoryRepository class>>morphicConfigure | > > ^ (UIManager default chooseDirectoryFrom: (FileDirectory | on: | > > '/path/to/my/Repositories')) ifNotNil: | > > [:directory | | > > self new directory: directory] | > > | > > How should I store the default repository directory? Would anyone | | > else find | > > this helpful? | > > | > > Sean DeNigris | > > -- | > > View this message in context: | http://n4.nabble.com/FEATURE-User-chooses-preferred-location-for-MC-directory-repositories-tp2016684p2016684.html | > > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. | > > | > > _______________________________________________ | > > Pharo-project mailing list | > > [hidden email] | > > | http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project | > > | > | > _______________________________________________ | > Pharo-project mailing list | > [hidden email] | > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project | > | > View message @ | http://n4.nabble.com/FEATURE-User-chooses-preferred-location-for-MC-directory-repositories-tp2016684p2017760.html | > To unsubscribe from FEATURE: User chooses preferred location for MC | | > directory repositories, click here. | > | | -- | View this message in context: | http://n4.nabble.com/FEATURE-User-chooses-preferred-location-for-MC-directory-repositories-tp2016684p2018216.html | Sent from the Pharo Smalltalk mailing list archive at Nabble.com. | | _______________________________________________ | Pharo-project mailing list | Pharo-project@lists.gforge.inria.fr | http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project