Re: [fossil-users] send mail on checkin?

2012-06-06 Thread Jeremy Anderson
Thanks, Stephan. I guess I'll have to fiddle with figuring out how to
authenticate a special user for our Sharepoint site's RSS reader  (we don't
want to reveal all our changes to the Internet - that would be showing far
too much of our hand ;-)

On Wed, Jun 6, 2012 at 2:12 AM, Stephan Beal  wrote:

> On Wed, Jun 6, 2012 at 10:00 AM, Jeremy Anderson wrote:
>
>> Thanks for the tip... although I'm curious now what security is applied
>> to the RSS feed. Can anyone view it, or can it be locked down? Which 'user'
>> controls access to it (i assume 'anonymous'?).
>
>
> From rss.c:
>
>  if( !g.perm.Read && !g.perm.RdTkt && !g.perm.RdWiki ){
> return;
>   }
>
> so anyone with "read" (checkout), read-ticket, or read-wiki perms can read
> the RSS. i see now that the RSS output is shaped slightly differently
> depending on user permissions, though. e.g. if the user has no read-ticket
> perms than tickets are excluded from the results.
>
>
>
> --
> - stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
>
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] send mail on checkin?

2012-06-06 Thread Stephan Beal
On Wed, Jun 6, 2012 at 10:00 AM, Jeremy Anderson  wrote:

> Thanks for the tip... although I'm curious now what security is applied to
> the RSS feed. Can anyone view it, or can it be locked down? Which 'user'
> controls access to it (i assume 'anonymous'?).


>From rss.c:

 if( !g.perm.Read && !g.perm.RdTkt && !g.perm.RdWiki ){
return;
  }

so anyone with "read" (checkout), read-ticket, or read-wiki perms can read
the RSS. i see now that the RSS output is shaped slightly differently
depending on user permissions, though. e.g. if the user has no read-ticket
perms than tickets are excluded from the results.



-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] send mail on checkin?

2012-06-06 Thread Jeremy Anderson
Thanks for the tip... although I'm curious now what security is applied to
the RSS feed. Can anyone view it, or can it be locked down? Which 'user'
controls access to it (i assume 'anonymous'?).

On Tue, Jun 5, 2012 at 11:55 AM, Matt Welland  wrote:

>
>
> On Tue, Jun 5, 2012 at 11:39 AM, Jeremy Anderson wrote:
>
>> Something my team finds useful at work is a way to send "checkin mail" -
>> an automated email that is fired off by our old SCM (or a companion
>> process) to a specific email list address (which users can sub/unsub from
>> to opt in/out) which describes the change (including the changelist number,
>> the comments, and the files modified).
>>
>> Does fossil have anything like this that can be configured on one of the
>> instances (e.g, in our topology, we have a single fossil "server" which
>> runs Fossil as a service. everyone clones their individual developer repo's
>> from it and syncs to it. this central Fossil instance would be the ideal
>> entity to monitor changes from and to send email as a result).
>>
>
> An alternative possibility for your consideration
>
> We thought we needed the same thing for our team, email notification on
> various events such as commit. Then we took a look at the rss capability of
> fossil and quickly realized that the rss feed is far superior to triggered
> emails. Same data, same granularity, much better management of the
> information, zero setup cost, zero maintenance of scripts etc.
>
> If your repo is at http://host.dom/fossils/myfossil then add
> http://host.dom/fossils/myfossil/timeline.rss to your rss reader (we are
> using outlook which seems to work fine).
>
>
>>
>> Thanks!
>>
>> -jer
>>
>> ___
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] send mail on checkin?

2012-06-05 Thread Matt Welland
On Tue, Jun 5, 2012 at 11:39 AM, Jeremy Anderson  wrote:

> Something my team finds useful at work is a way to send "checkin mail" -
> an automated email that is fired off by our old SCM (or a companion
> process) to a specific email list address (which users can sub/unsub from
> to opt in/out) which describes the change (including the changelist number,
> the comments, and the files modified).
>
> Does fossil have anything like this that can be configured on one of the
> instances (e.g, in our topology, we have a single fossil "server" which
> runs Fossil as a service. everyone clones their individual developer repo's
> from it and syncs to it. this central Fossil instance would be the ideal
> entity to monitor changes from and to send email as a result).
>

An alternative possibility for your consideration

We thought we needed the same thing for our team, email notification on
various events such as commit. Then we took a look at the rss capability of
fossil and quickly realized that the rss feed is far superior to triggered
emails. Same data, same granularity, much better management of the
information, zero setup cost, zero maintenance of scripts etc.

If your repo is at http://host.dom/fossils/myfossil then add
http://host.dom/fossils/myfossil/timeline.rss to your rss reader (we are
using outlook which seems to work fine).


>
> Thanks!
>
> -jer
>
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] send mail on checkin?

2012-06-05 Thread Jeremy Anderson
Something my team finds useful at work is a way to send "checkin mail" - an
automated email that is fired off by our old SCM (or a companion process)
to a specific email list address (which users can sub/unsub from to opt
in/out) which describes the change (including the changelist number, the
comments, and the files modified).

Does fossil have anything like this that can be configured on one of the
instances (e.g, in our topology, we have a single fossil "server" which
runs Fossil as a service. everyone clones their individual developer repo's
from it and syncs to it. this central Fossil instance would be the ideal
entity to monitor changes from and to send email as a result).

Thanks!

-jer
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users