Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » [buckminster-dev] question about rmap and mutable and anon
[buckminster-dev] question about rmap and mutable and anon [message #479903] Wed, 12 August 2009 20:58 Go to next message
Ted Kubaska is currently offline Ted Kubaska
Messages: 10
Registered: July 2009
Junior Member
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.

--
-Ted
Re: [buckminster-dev] question about rmap and mutable and anon [message #479916 is a reply to message #479903] Thu, 13 August 2009 01:28 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3228
Registered: July 2009
Senior Member
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.

Regards,
Thomas Hallgren
Re: [buckminster-dev] question about rmap and mutable and anon [message #479975 is a reply to message #479903] Thu, 13 August 2009 06:23 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
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
Re: [buckminster-dev] question about rmap and mutable and anon [message #479979 is a reply to message #479975] Thu, 13 August 2009 06:43 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
I changed the text to:

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
Previous Topic:Tutorial for building an RCP from hudson
Next Topic:Check-in comments
Goto Forum:
  


Current Time: Sat Aug 23 15:16:57 EDT 2014

Powered by FUDForum. Page generated in 0.01842 seconds