You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2011/01/24 05:01:07 UTC

[jira] Created: (KARAF-413) Tab completion on path when installing bundles

Tab completion on path when installing bundles
----------------------------------------------

                 Key: KARAF-413
                 URL: https://issues.apache.org/jira/browse/KARAF-413
             Project: Karaf
          Issue Type: New Feature
          Components: console
            Reporter: Andreas Pieber


I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:

{code}
install mvn:o <tab>
install mvn:org.ap <tab>
install mvn:org.apache...
{code}

or 

{code}
install file:///ho <tab>
install file:///home/pie <tab>
install file:///home/pieber/
{code}

I hope you can imagine what I like to say :)

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


[jira] Commented: (KARAF-413) Tab completion on path when installing bundles

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995354#comment-12995354 ] 

Jean-Baptiste Onofré commented on KARAF-413:
--------------------------------------------

Christian,

it seems that the http URL completion doesn't work too.

The UrlCompleter should be able to:
1/ complete mvn URLs
2/ complete file URLs
3/ complete http URLs
4/ later, other URLs (we discussed about scp URL with Guillaume in the past :))

I'm resuming my tests and I will merge with my implementation. We should have something clean :)

> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Issue Comment Edited: (KARAF-413) Tab completion on path when installing bundles

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995322#comment-12995322 ] 

Christian Schneider edited comment on KARAF-413 at 2/16/11 2:50 PM:
--------------------------------------------------------------------

I just finished a prototype for a filecompleter .. 
https://github.com/cschneider/urlcompleter
It installs a command install2 that works like install but has completion if you type install2 file:///(tab)
Anyone wanna try out?


      was (Author: chris@die-schneider.net):
    I just finished a prototype for a filecompleter .. 
https://github.com/cschneider/urlcompleter
It installs a command install2 that works like install but has completion if you type install2 file:///<tab>
Anyone wanna try out?

  
> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-413) Tab completion on path when installing bundles

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-413:
---------------------------------------

    Fix Version/s: 3.1.0
                   3.0.0

> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>             Fix For: 3.0.0, 3.1.0
>
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (KARAF-413) Tab completion on path when installing bundles

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995330#comment-12995330 ] 

Guillaume Nodet commented on KARAF-413:
---------------------------------------

Great work Christian.
One question though: shouldn't the completer support file:xxx too ? i.e. relative to the current folder ?


> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (KARAF-413) Tab completion on path when installing bundles

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995325#comment-12995325 ] 

Jean-Baptiste Onofré commented on KARAF-413:
--------------------------------------------

Awesome Christian.
I made quite the same in the place yesterday so I will compare :)
In the mean time, I have a AliasCompleter too that I will add :)

> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (KARAF-413) Tab completion on path when installing bundles

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985540#action_12985540 ] 

Guillaume Nodet commented on KARAF-413:
---------------------------------------

That would definitely be a good thing.  We should have a UrlCompleter so that we can reuse it in several commands (even cat, etc...)
The file one should not be too difficult to write, the mvn one can reuse the configured local repository to propose completions (I don't think going to the internet would be wise here).

> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

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


[jira] [Updated] (KARAF-413) Tab completion on path when installing bundles

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider updated KARAF-413:
--------------------------------------

    Assignee:     (was: Christian Schneider)
    
> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Andreas Pieber
>             Fix For: 3.1.0
>
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (KARAF-413) Tab completion on path when installing bundles

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985541#action_12985541 ] 

Jean-Baptiste Onofré commented on KARAF-413:
--------------------------------------------

+1
An UrlCompleter will be very helpful is a lot of commands.

Maybe if the URL start with file, the UrlCompleter could delegated to a FileCompleter.

> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

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


[jira] [Updated] (KARAF-413) Tab completion on path when installing bundles

Posted by "Jamie goodyear (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear updated KARAF-413:
---------------------------------

    Fix Version/s:     (was: 3.0.0)
    
> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Andreas Pieber
>             Fix For: 3.1.0
>
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (KARAF-413) Tab completion on path when installing bundles

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995322#comment-12995322 ] 

Christian Schneider commented on KARAF-413:
-------------------------------------------

I just finished a prototype for a filecompleter .. 
https://github.com/cschneider/urlcompleter
It installs a command install2 that works like install but has completion if you type install2 file:///<tab>
Anyone wanna try out?


> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: console
>            Reporter: Andreas Pieber
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (KARAF-413) Tab completion on path when installing bundles

Posted by "Christian Schneider (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider reassigned KARAF-413:
-----------------------------------------

    Assignee: Christian Schneider
    
> Tab completion on path when installing bundles
> ----------------------------------------------
>
>                 Key: KARAF-413
>                 URL: https://issues.apache.org/jira/browse/KARAF-413
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Andreas Pieber
>            Assignee: Christian Schneider
>             Fix For: 3.1.0
>
>
> I'm not sure if this is even possible but it would be really cool to have a feature doing tab-completion depending on url element when you install a bundle. For example:
> {code}
> install mvn:o <tab>
> install mvn:org.ap <tab>
> install mvn:org.apache...
> {code}
> or 
> {code}
> install file:///ho <tab>
> install file:///home/pie <tab>
> install file:///home/pieber/
> {code}
> I hope you can imagine what I like to say :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira