Re: Release 2.5.0

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CG6D8MHRa7WX21yPDiovL21gcXgyvRLEbWEK2F8G62fJg@mail.gmail.com>
To be clear, I'm not for automatic migration.
Users may have reasons no to.
I'm for warnings, and providing a script to do it for them if they choose.

I would sugguest a "--cachedir" flag to the script so it doesn't need to be
run in the cachedir.
The warning might even provide the full command line needed to do so?

-Bill

On Wed, Mar 2, 2016 at 8:01 AM, Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
wrote:

> Anatoly,
>
> Why would they be rebuilding the cache?
> The contents are the same, it's simply the directory structure which
> changes.
>
> Most users use the cachedir because building the contents thereof is
> "expensive".
> Preserving what they've build when we're re-organizing the storage makes a
> lot of sense.
>
> If they're just going to wipe out their old cache none of this hurts them.
>
> So to put it simply, there will be a migration script provided.
> The method listed by Tom looks good to me.
>
> -Bill
>
>
> On Wed, Mar 2, 2016 at 2:18 AM, anatoly techtonik <[email protected]>
> wrote:
>
>> Migration won't help old clients who will be rebuilding the cache.
>>
>> On Thu, Feb 25, 2016 at 8:44 PM, William Blevins <[email protected]>
>> wrote:
>> > Automatic migration sounds legit to me. I just didn't want a SCons
>> option
>> > for it or something like that :)
>> >
>> > On Thu, Feb 25, 2016 at 4:04 PM, Tom Tanner (BLOOMBERG/ LONDON)
>> > <ttanner2-AlFclGv/[email protected]> wrote:
>> >>
>> >> mea culpa. I meant to get round to this with
>> >>
>> >> 1) Does cachedir exist - if not, create and create config file to
>> indicate
>> >> 2 char dir name
>> >> 2) Does cachedir have a config file. if so, read it , otherwise set 1
>> char
>> >> dir name
>> >> 3) update script to copying / moving cache and write version file
>> >>
>> >> From: [email protected] At: Feb 17 2016 23:22:22
>> >> To: [email protected]
>> >> Subject: Re: [Scons-dev] Release 2.5.0
>> >>
>> >> William,
>> >>
>> >> Thinking about what we'd need to pull
>> >>
>> >>
>> https://bitbucket.org/scons/scons/pull-requests/302/change-the-cache-to-use-2-character/diff
>> >> Into 2.5.
>> >>
>> >> Seems like perhaps default to old one character cachedir, enable 2 two
>> >> character with deprecation notice.
>> >> Include tool to migrate.
>> >> Release notes.
>> >> Deprecation notice when not switched to 2 char mode.
>> >>
>> >>
>> >> Thoughts?
>> >>
>> >> -Bill
>> >>
>> >> On Wed, Feb 17, 2016 at 5:30 PM, William Blevins <
>> [email protected]>
>> >> wrote:
>> >>>
>> >>> Bill,
>> >>>
>> >>> Are we waiting on anything for 2.5.0? I haven't seen any hint of a
>> >>> stubprocess pull request.
>> >>>
>> >>> V/R,
>> >>> William
>> >>>
>> >>> _______________________________________________
>> >>> Scons-dev mailing list
>> >>> [email protected]
>> >>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >>>
>> >>
>> >> _______________________________________________
>> >> Scons-dev mailing list
>> >> [email protected]
>> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Scons-dev mailing list
>> >> [email protected]
>> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >>
>> >
>> >
>> > _______________________________________________
>> > Scons-dev mailing list
>> > [email protected]
>> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >
>>
>>
>>
>> --
>> anatoly t.
>> _______________________________________________
>> Scons-dev mailing list
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>
>

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.