[jira] Commented: (FELIX-534) Allow filtering by status in ps command (shell)

2010-05-27 Thread Richard S. Hall (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12872360#action_12872360
 ] 

Richard S. Hall commented on FELIX-534:
---

Perhaps this bug can be closed now that Gogo is becoming the shell of choice. 
Gogo handles things like piping and grep much better. Please close this issue 
if you think it is no longer warranted. Thanks.

 Allow filtering by status in ps command (shell)
 ---

 Key: FELIX-534
 URL: https://issues.apache.org/jira/browse/FELIX-534
 Project: Felix
  Issue Type: New Feature
  Components: Shell
Reporter: Toni Menzel
Priority: Minor
 Attachments: FELIX-534_2.patch, FELIX-534_3.patch


 If you have many bundles it would be nice if you could filter certain status 
 when executing the ps command like so:
 ps active resolved -- shows active and resolved bundles
 ps -- shows all bundles (just like its currently)
 Simple solution is attached.
 btw.: there is no shell component in Felix Jira..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FELIX-534) Allow filtering by status in ps command (shell)

2008-04-13 Thread Richard S. Hall (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588418#action_12588418
 ] 

Richard S. Hall commented on FELIX-534:
---

Interesting. However, it might be easier for us to judge the impact if you 
didn't reformat the code before creating the patch.

 Allow filtering by status in ps command (shell)
 ---

 Key: FELIX-534
 URL: https://issues.apache.org/jira/browse/FELIX-534
 Project: Felix
  Issue Type: New Feature
Reporter: Toni Menzel
Priority: Minor
 Attachments: FELIX-534_2.patch


 If you have many bundles it would be nice if you could filter certain status 
 when executing the ps command like so:
 ps active resolved -- shows active and resolved bundles
 ps -- shows all bundles (just like its currently)
 Simple solution is attached.
 btw.: there is no shell component in Felix Jira..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FELIX-534) Allow filtering by status in ps command (shell)

2008-04-13 Thread Toni Menzel (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588437#action_12588437
 ] 

Toni Menzel commented on FELIX-534:
---

Not sure about the word simple: Is the java.util.regex implementation too 
slow/memory intense itself to be used or is it the probability of complex 
stuff someone _could_ enter? 

I don't think an ldap filter would give better usability for 85% of usages 
compared to a simple substring matching.
In this case i'd just use a substring matching. 
Though it reduces much of the capabilities - not sure about maybe providing a 
different set of powerful commands for powerful machines?
And the whole piping thing makes a lot more stuff possible but won't run/be 
useful on small devices.



 Allow filtering by status in ps command (shell)
 ---

 Key: FELIX-534
 URL: https://issues.apache.org/jira/browse/FELIX-534
 Project: Felix
  Issue Type: New Feature
Reporter: Toni Menzel
Priority: Minor
 Attachments: FELIX-534_2.patch, FELIX-534_3.patch


 If you have many bundles it would be nice if you could filter certain status 
 when executing the ps command like so:
 ps active resolved -- shows active and resolved bundles
 ps -- shows all bundles (just like its currently)
 Simple solution is attached.
 btw.: there is no shell component in Felix Jira..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FELIX-534) Allow filtering by status in ps command (shell)

2008-04-13 Thread Richard S. Hall (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588457#action_12588457
 ] 

Richard S. Hall commented on FELIX-534:
---

To be clear, we target the foundation profile, so you can only use 
classes/methods that are in it...regex is not. If you want to see what is 
available, look at Felix' org.osgi.foundation subproject.

The shell service can definitely be used from small devices, for example, you 
could telnet into them.

In the long run we may have other options, but for now this is the approach 
that we have adopted.

 Allow filtering by status in ps command (shell)
 ---

 Key: FELIX-534
 URL: https://issues.apache.org/jira/browse/FELIX-534
 Project: Felix
  Issue Type: New Feature
Reporter: Toni Menzel
Priority: Minor
 Attachments: FELIX-534_2.patch, FELIX-534_3.patch


 If you have many bundles it would be nice if you could filter certain status 
 when executing the ps command like so:
 ps active resolved -- shows active and resolved bundles
 ps -- shows all bundles (just like its currently)
 Simple solution is attached.
 btw.: there is no shell component in Felix Jira..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (FELIX-534) Allow filtering by status in ps command (shell)

2008-04-12 Thread Richard S. Hall (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12588337#action_12588337
 ] 

Richard S. Hall commented on FELIX-534:
---

Well, this is not completely unreasonable, but if we are going to add filtering 
to the command, why would we only filter on state? Why not bundle name, 
location, etc? What we really need is a way to do something like piping with 
grep or something similar.

 Allow filtering by status in ps command (shell)
 ---

 Key: FELIX-534
 URL: https://issues.apache.org/jira/browse/FELIX-534
 Project: Felix
  Issue Type: New Feature
Reporter: Toni Menzel
Priority: Minor
 Attachments: FELIX-534.patch


 If you have many bundles it would be nice if you could filter certain status 
 when executing the ps command like so:
 ps active resolved -- shows active and resolved bundles
 ps -- shows all bundles (just like its currently)
 Simple solution is attached.
 btw.: there is no shell component in Felix Jira..

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.