[Bf-committers] scons/install stale files problem.

Campbell Barton ideasman42 at gmail.com
Sun Feb 14 00:18:14 CET 2010


This is whats happening on linux/unix for years with blender 2.4x, if
~/.blender is defined, maybe we switch to ~/blender-2.5.x in future,
this has been discussed in other posts.

They can be made to co-exist pretty easy I think, just make
"$PWD/.blender" override "$HOME/.blender"

I explained in the first post the problems with keeping old scripts around.

On Sun, Feb 14, 2010 at 12:08 AM, joe <joeedh at gmail.com> wrote:
> That would be bad, as it'd make different branches share the same
> .blender folder.
>
> Why are you messing with this?
>
> Joe
>
> On Sat, Feb 13, 2010 at 4:26 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
>> Update: only remove the scripts dir now, not the entire install
>> folder, apparently gives troubles on windows,
>> We should still look into having a blender home on windows that isnt
>> related to the install dir, and making it usable (create on startup if
>> its not there for instance).
>>
>> On Sat, Feb 13, 2010 at 10:51 AM, joe <joeedh at gmail.com> wrote:
>>> The install folder scons spits out is supposed to create/use a
>>> .blender folder in the same folder.
>>>
>>> Joe
>>>
>>> On Fri, Feb 12, 2010 at 3:53 PM, Campbell Barton <ideasman42 at gmail.com> wrote:
>>>> to conclude this tedious topic I better give an update for those who
>>>> dont read the logs.
>>>> Discussed this with Brect (over lunch) and Martin (over IRC) and Both
>>>> agree this is best in the long run.
>>>>
>>>> Now the default scons behavior is to remove the install dir each time
>>>> so it always contains an up to date build, however Aligorith uses
>>>> scons for development on windows, which needs DLL's etc, so copying
>>>> each time isnt nice.
>>>>
>>>> For this case I added WITHOUT_BF_OVERWRITE_INSTALL
>>>>
>>>> This also brought up the issue that on windows there isnt a ~/.blender
>>>> directory thats easy to access/create (I'm not clear on the details).
>>>> Would be good to have a home dir on windows too but thats another
>>>> topic.
>>>>
>>>> On Thu, Feb 11, 2010 at 1:51 PM, Brecht Van Lommel <brecht at blender.org> wrote:
>>>>> Hi,
>>>>>
>>>>> I don't think we should try to support people installing scripts there
>>>>> and try to make the build systems clever about this. These really are
>>>>> just standard building rules, don't work in directories or files that
>>>>> are autogenerated by the build system because any changes will get
>>>>> overwritten. If anyone wants to make this kind of unsupported usage
>>>>> more convenient I guess they can, but more important in my opinion is
>>>>> fixing the problem of outdated scripts, and getting loading scripts
>>>>> from the user directory to work properly.
>>>>>
>>>>> Loading from the user directory seems to be suboptimal on Windows
>>>>> right now, the expected directory is this.
>>>>> C:\Documents and Settings\User\.blender\scripts
>>>>>
>>>>> That can be changed to this, and the folder can be created
>>>>> automatically on startup to make things easier.
>>>>> C:\Documents and Settings\User\Blender Foundation\Blender\scripts
>>>>>
>>>>> Brecht.
>>>>> _______________________________________________
>>>>> Bf-committers mailing list
>>>>> Bf-committers at blender.org
>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> - Campbell
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers at blender.org
>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>
>>
>>
>> --
>> - Campbell
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list