* [ANN] raindrops 0.10.0 - minor feature updates
@ 2012-06-19 8:33 5% Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-06-19 8:33 UTC (permalink / raw)
To: raindrops
Changes:
Improvements to the Unix domain socket handling and small
bugfixes throughout.
Support for the "unix_diag" facility in Linux 3.3+ is planned
but not yet implemented (patches to raindrops@librelist.org
appreciated)
Brian Corrigan (1):
resolve symlinks to Unix domain sockets
Eric Wong (6):
unix_listener_stats follows and remembers symlinks
middleware/proxy: favor __send__ for method dispatch
unix: show zero-value stats for idle listeners
test_watcher: fix incorrect request/date comparison
watcher: sort index of listener listing
watcher: do not require Rack::Head for HEAD response
See "git log v0.9.0..v0.10.0" for full details
* http://raindrops.bogomips.org/
* raindrops@librelist.org
* git://bogomips.org/raindrops.git
* http://raindrops.bogomips.org/NEWS.atom.xml
--
Eric Wong
^ permalink raw reply [relevance 5%]
* [PATCH 0/3] preparing for raindrops 0.10.0
@ 2012-06-18 21:20 5% Eric Wong
2012-06-18 21:20 7% ` [PATCH 2/3] watcher: sort index of listener listing Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2012-06-18 21:20 UTC (permalink / raw)
To: raindrops
A few more minor changes pushed to master of git://bogomips.org/raindrops
Eric Wong (3):
test_watcher: fix incorrect request/date comparison
watcher: sort index of listener listing
watcher: do not require Rack::Head for HEAD response
Feedback/comments greatly appreciated. I'll probably tag the release
tonight if everything goes well.
^ permalink raw reply [relevance 5%]
* [PATCH 2/3] watcher: sort index of listener listing
2012-06-18 21:20 5% [PATCH 0/3] preparing for raindrops 0.10.0 Eric Wong
@ 2012-06-18 21:20 7% ` Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2012-06-18 21:20 UTC (permalink / raw)
To: raindrops
For hosts with many listeners, it should be easier to read the
index page if the results are shown in a consistent order.
Requested privately via email to raindrops@bogomips.org
---
lib/raindrops/watcher.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index 869fa17..5493374 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -337,7 +337,9 @@ class Raindrops::Watcher
"<table><tr>" \
"<th>address</th><th>active</th><th>queued</th><th>reset</th>" \
"</tr>" <<
- all.map do |addr,stats|
+ all.sort do |a,b|
+ a[0] <=> b[0] # sort by addr
+ end.map do |addr,stats|
e_addr = escape addr
"<tr>" \
"<td><a href='/tail/#{e_addr}.txt' " \
--
1.7.11.rc0.55.gb2478aa
^ permalink raw reply related [relevance 7%]
Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-06-18 21:20 5% [PATCH 0/3] preparing for raindrops 0.10.0 Eric Wong
2012-06-18 21:20 7% ` [PATCH 2/3] watcher: sort index of listener listing Eric Wong
2012-06-19 8:33 5% [ANN] raindrops 0.10.0 - minor feature updates Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/raindrops.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).