On 8 May 2018 at 01:39,  <[email protected]> wrote:
> This is an automated email from the ASF dual-hosted git repository.
>
> rubys pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/whimsy.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
>      new 80a8e74  specify the full path to the repository
> 80a8e74 is described below
>
> commit 80a8e74084a9b216d188e543afe907f87667cd5b
> Author: Sam Ruby <[email protected]>
> AuthorDate: Mon May 7 20:36:58 2018 -0400
>
>     specify the full path to the repository
> ---
>  www/board/agenda/daemon/channel.rb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/www/board/agenda/daemon/channel.rb 
> b/www/board/agenda/daemon/channel.rb
> index 8441897..49d567b 100644
> --- a/www/board/agenda/daemon/channel.rb
> +++ b/www/board/agenda/daemon/channel.rb
> @@ -16,7 +16,9 @@ class Channel
>    @@sockets = Concurrent::Map.new
>    @@users = Concurrent::Map.new {|map,key| map[key]=[]}
>
> -  FOUNDATION_BOARD = ASF::SVN['foundation_board']
> +  # As this tool doesn't load the full whimsy libraries, it can't make use
> +  # of niceties like short names... so specify the full path to repository.
> +  FOUNDATION_BOARD = ASF::SVN['private/foundation/board']

Huh?

I temporarily added the following to channel.rb:

if __FILE__ == $0 # local testing
  puts ASF::SVN['foundation_board']
end

The following works fine:
$ ruby -I /srv/whimsy/lib www/board/agenda/daemon/channel.rb

AFAICT the shortcut processing needs whimsy/as/config which is
required by session anyway.

Are you sure the shortcut causes a failure?
If so, I think a different solution is in order.

>    # add a new socket/userid pair
>    def self.add(ws, id)
>
> --
> To stop receiving notification emails like this one, please contact
> [email protected].

Reply via email to