Never mind. I swapped ubg & brbg

> ----- Original Message -----
> From: Altu Faltu
> Sent: 07/23/11 12:01 PM
> To: fossil-users@lists.fossil-scm.org
> Subject: Re: [fossil-users] Automatic branch color selection. Was: Question 
> on short-lived branches in fossil
> 
> Why does the same branch (trunk) take different backgrounds?
> 
> ----- Original Message -----
> From: Richard Hipp
> Sent: 07/23/11 04:55 AM
> To: fossil-users@lists.fossil-scm.org
> Subject: [fossil-users] Automatic branch color selection. Was: Question on 
> short-lived branches in fossil
> 
> 
>  On Fri, Jul 22, 2011 at 5:32 PM, Stephan Beal < sgb...@googlemail.com > 
> wrote:
> 
>  On Fri, Jul 22, 2011 at 11:07 PM, Ross Berteig < r...@cheshireeng.com > 
> wrote:
> 
>  For skins that are dark text on white background, then using the existing 
> MD5 hash on the tag name, picking a convenient three;
>  ...
> 
>  it would make an entertaining experiment, whether or not it turns out to be 
> useful in practice.
>  An experimental change to implement this is on the server. Add the "brbg" 
> query parameter to the timeline method to have the background color set by 
> branch name. Add "ubg" to have the background color set by user name. 
> Examples:
> 
> http://www.fossil-scm.org/fossil/timeline?n=200&y=ci&brbg 
> http://www.fossil-scm.org/fossil/timeline?n=200&y=ci&ubg 
> 
>  I tried Ross's proposed color choosing algorithm but it didn't work out. So 
> instead I used the hash to select a Hue in an HSV color space, held the S and 
> V fixed, and mapped the result into RGB. The color chooser code is here, if 
> you are interested:
> 
> http://www.fossil-scm.org/fossil/artifact/506fc3a6b2808?ln=116,144 
> 
>  Feedback is encouraged. Remember this changes is experimental and might 
> disappear at any moment!
> 
>  --
>  D. Richard Hipp
>  d...@sqlite.org
> 

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

Reply via email to