How does the "Auto" repository browser work?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How does the "Auto" repository browser work?

Erik Ramfelt
Im finishing up the section about repository browser, and stumbled on
a question that bugged for a long time. What is the intention of
"Auto" in the repository browser field selection? Does it
automatically select a repository browser depending on how the job is
configured?

//Erik

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How does the "Auto" repository browser work?

stephenconnolly
AFAIK it does nothing except fool you into thinking it's going to
weive some magic... perhaps we should change it to (none)

On Wed, Jul 16, 2008 at 12:29 PM, Erik Ramfelt <[hidden email]> wrote:

> Im finishing up the section about repository browser, and stumbled on
> a question that bugged for a long time. What is the intention of
> "Auto" in the repository browser field selection? Does it
> automatically select a repository browser depending on how the job is
> configured?
>
> //Erik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How does the "Auto" repository browser work?

Kohsuke Kawaguchi
Administrator

It does try to infer the configuration from other projects that use the
same repository. I find this very convenient, since you tend to have a
lot of jobs that use the same repository.


Stephen Connolly wrote:

> AFAIK it does nothing except fool you into thinking it's going to
> weive some magic... perhaps we should change it to (none)
>
> On Wed, Jul 16, 2008 at 12:29 PM, Erik Ramfelt <[hidden email]> wrote:
>> Im finishing up the section about repository browser, and stumbled on
>> a question that bugged for a long time. What is the intention of
>> "Auto" in the repository browser field selection? Does it
>> automatically select a repository browser depending on how the job is
>> configured?
>>
>> //Erik
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How does the "Auto" repository browser work?

stephenconnolly
Ahhh... hmmm how come it never works for me with sventon???

On Wed, Jul 16, 2008 at 7:12 PM, Kohsuke Kawaguchi
<[hidden email]> wrote:

>
> It does try to infer the configuration from other projects that use the same
> repository. I find this very convenient, since you tend to have a lot of
> jobs that use the same repository.
>
>
> Stephen Connolly wrote:
>>
>> AFAIK it does nothing except fool you into thinking it's going to
>> weive some magic... perhaps we should change it to (none)
>>
>> On Wed, Jul 16, 2008 at 12:29 PM, Erik Ramfelt <[hidden email]> wrote:
>>>
>>> Im finishing up the section about repository browser, and stumbled on
>>> a question that bugged for a long time. What is the intention of
>>> "Auto" in the repository browser field selection? Does it
>>> automatically select a repository browser depending on how the job is
>>> configured?
>>>
>>> //Erik
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How does the "Auto" repository browser work?

Erik Ramfelt
In reply to this post by Kohsuke Kawaguchi
On Wed, Jul 16, 2008 at 8:12 PM, Kohsuke Kawaguchi
<[hidden email]> wrote:
>
> It does try to infer the configuration from other projects that use the same
> repository. I find this very convenient, since you tend to have a lot of
> jobs that use the same repository.

How does it find out if jobs are using the same repository? Is there
something the SCMs have to do in order to support this feature?

I can see the usefulness of this feature, but I dont really get that
intention when I read "auto". "Auto" for me was more like, "oh, this
project is on sourceforge, and therefore the SF browser should be
used". Perhaps it could be changed to something more like "reuse
browser from jobs with same repository". But I guess adding a help
section about it would help.

cheers
//Erik

>
>
> Stephen Connolly wrote:
>>
>> AFAIK it does nothing except fool you into thinking it's going to
>> weive some magic... perhaps we should change it to (none)
>>
>> On Wed, Jul 16, 2008 at 12:29 PM, Erik Ramfelt <[hidden email]> wrote:
>>>
>>> Im finishing up the section about repository browser, and stumbled on
>>> a question that bugged for a long time. What is the intention of
>>> "Auto" in the repository browser field selection? Does it
>>> automatically select a repository browser depending on how the job is
>>> configured?
>>>
>>> //Erik
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems                   [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How does the "Auto" repository browser work?

Kohsuke Kawaguchi
Administrator
In reply to this post by stephenconnolly
Stephen Connolly wrote:
> Ahhh... hmmm how come it never works for me with sventon???

See AutoBrowserHolder and in particular SCMDescriptor.isBrowserReusable.

Ah, and it apparently only works for CVS... So that's why.

>
> On Wed, Jul 16, 2008 at 7:12 PM, Kohsuke Kawaguchi
> <[hidden email]> wrote:
>>
>> It does try to infer the configuration from other projects that use the same
>> repository. I find this very convenient, since you tend to have a lot of
>> jobs that use the same repository.
>>
>>
>> Stephen Connolly wrote:
>>>
>>> AFAIK it does nothing except fool you into thinking it's going to
>>> weive some magic... perhaps we should change it to (none)
>>>
>>> On Wed, Jul 16, 2008 at 12:29 PM, Erik Ramfelt <[hidden email]> wrote:
>>>>
>>>> Im finishing up the section about repository browser, and stumbled on
>>>> a question that bugged for a long time. What is the intention of
>>>> "Auto" in the repository browser field selection? Does it
>>>> automatically select a repository browser depending on how the job is
>>>> configured?
>>>>
>>>> //Erik
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How does the "Auto" repository browser work?

Kohsuke Kawaguchi
Administrator
In reply to this post by Erik Ramfelt
Erik Ramfelt wrote:
> On Wed, Jul 16, 2008 at 8:12 PM, Kohsuke Kawaguchi
> <[hidden email]> wrote:
>>
>> It does try to infer the configuration from other projects that use the same
>> repository. I find this very convenient, since you tend to have a lot of
>> jobs that use the same repository.
>
> How does it find out if jobs are using the same repository? Is there
> something the SCMs have to do in order to support this feature?

Yes. See SCMDescriptor.isBrowserReusable

> I can see the usefulness of this feature, but I dont really get that
> intention when I read "auto". "Auto" for me was more like, "oh, this
> project is on sourceforge, and therefore the SF browser should be
> used". Perhaps it could be changed to something more like "reuse
> browser from jobs with same repository". But I guess adding a help
> section about it would help.

Auto-detecting public hosting site to do the smart thing was also a part
of the original intention, although that was never implemented.

Yes, we should have a better documentation.

> cheers
> //Erik
>
>>
>>
>> Stephen Connolly wrote:
>>>
>>> AFAIK it does nothing except fool you into thinking it's going to
>>> weive some magic... perhaps we should change it to (none)
>>>
>>> On Wed, Jul 16, 2008 at 12:29 PM, Erik Ramfelt <[hidden email]> wrote:
>>>>
>>>> Im finishing up the section about repository browser, and stumbled on
>>>> a question that bugged for a long time. What is the intention of
>>>> "Auto" in the repository browser field selection? Does it
>>>> automatically select a repository browser depending on how the job is
>>>> configured?
>>>>
>>>> //Erik
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems                   [hidden email]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Loading...