Reordering working directory mess

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Reordering working directory mess

Paul DeBruicker
Can't this be accomplished today with a symbolic link to a package directory somewhere on your HD?


e.g.
rm -rf package-cache
ln -s /path/to/my/common/package/repo package-cache


Works for me at least.






Nicolas Passerini wrote
I agree with Javier, it would be much nicer to have only one shared package
cache and, while I understand that there might be people not wanting that,
I don't see why it couldn't be the default behavior. I think that it would
be a reasonable default, don't you?

On Fri, Jun 24, 2016 at 3:54 PM, Javier Pimás <[hidden email]>
wrote:

> I don't know for the new directories, but I always thought that it would
> be nice to have package-cache in ~/.pharo or a place shared by all images,
> to avoid redownloading all .MCZs from other projects each time you launch
> pharo from a different directory.
>
> Cheers!
> Pocho
>
> On Thu, Jun 23, 2016 at 12:22 PM, Esteban Lorenzano <[hidden email]>
> wrote:
>
>> Hi,
>>
>> Since some time I’ve seen growing the amount of files/directories
>> generated when running Pharo. Up to Pharo 2.0, we had just this:
>>
>> Pharo.image
>> Pharo.changes
>> PharoDebug.log
>> pharo-cache
>>
>> now we have:
>>
>> Pharo.image
>> Pharo.changes
>> PharoDebug.log
>> pharo-cache
>> epicea-sessions
>> play-cache
>> play-stash
>>
>> it does not looks like much, but I think this does not looks professional
>> (we take too much from user space). So I proposed (and implemented) a
>> “concentrator” directory:
>>
>> Pharo.image
>> Pharo.changes
>> ./pharo
>>         … and everything for “pharo working internally” here
>>
>> then users have again control about what they have along with the image
>> (this allows to some nice strategies too, when we want a version that does
>> not pollutes the file dir).
>>
>> of course, this idea follows other developing spaces, where things are
>> stored in same fashion way… for example in eclipse for java they store all
>> eclipse data under .workspace directory.
>>
>> so, please note that this is NOT user space… regular pharo users will
>> store his files along with the image, for instance filetree repositories…
>> something like:
>>
>> Pharo.image
>> Pharo.changes
>> .pharo/
>> voyage/
>> punqlite/
>> etc.
>>
>> well… I will commit a SLICE with the changes soon (is not a hard change
>> at all).
>>
>> But then:
>>
>> is ./pharo a good name?
>> will this work?
>>
>> Esteban
>>
>
>
>
> --
> Javier Pimás
> Ciudad de Buenos Aires
>
Reply | Threaded
Open this post in threaded view
|

Re: Reordering working directory mess

Stephan Eggermont-3
In reply to this post by Nicolas Passerini
On 24/06/16 18:14, Nicolas Passerini wrote:
> I don't see why it couldn't be the default behavior. I think that it would
> be a reasonable default, don't you?

Not with our current Monticello/Metacello, it won't. You'll never be
able to resolve configuration problems.

Stephan



12