On 08/13/2009 02:58 AM, Ted Kubaska wrote:
> Some of the examples I've seen of rmap files use mutable="true" with a
> readerType="cvs" and a uri format=":pserver:anonymous@ ...."
>
> Does it make sense to have mutable="true" if you are checking out
> anonymously. The Bucky book tells me
>
> "The attribute mutable is set to true because we want the projects
> checked out from CVS (so we
> can work on them and check in again)."
>
> As an anon user, I'm clearly not going to check in files. Is it worng
> to set mutable="false" in this case.
>
No, it's not wrong. Buckminster only uses the mutable attribute if you use it yourself in a CQUERY. If you don't care
about its setting, neither will Buckminster.

The intention is the same as with the source="false", i.e. to help selecting the right provider in case there are
several possible matches. A provider with a mutable status that matches your cquery has higher priority. And that's all
there's to it.

Ted Kubaska wrote:
> Does it make sense to have mutable="true" if you are checking out
> anonymously. The Bucky book tells me
>
> "The attribute mutable is set to true because we want the projects
> checked out from CVS (so we
> can work on them and check in again)."
>
I should rephrase that to explain that what is set up in the RMAP is
just the *capability* to get mutable access.

The attribute mutable is set to true because we want searches for
mutable source (i.e. projects checked out from CVS that can be worked on
and checked in again) to also use this search path. Note that in this
example we are using an anonymous user so in order to be
able to actually check things in again, someone with write access would
have to use the IDE’s team CVS functionality to relocate the projects
with their user id once they have been materialized to the workspace.
You will see later how to create entries using authentication — see the
section called, “Providers and authentication”.

Henrik Lindberg wrote:
> Ted Kubaska wrote:
>> Does it make sense to have mutable="true" if you are checking out
>> anonymously. The Bucky book tells me
>>
>> "The attribute mutable is set to true because we want the projects
>> checked out from CVS (so we
>> can work on them and check in again)."
>>
> I should rephrase that to explain that what is set up in the RMAP is
> just the *capability* to get mutable access.
>
> - henrik