[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
I just found this bug in process of getting to bug #880616 Zygmunt, did you mean http://bazaar.launchpad.net/~command-not-found-developers/command-not-found/trunk/revision/113 revision ? There is no code for this, so I assume I missed something. And I agree with Sean that it should be configurable. Are there any configuration file for c-n-f? I didn't see them in package. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/224776 Title: c-n-f should be able offer to install missing programs (preference) To manage notifications about this bug go to: https://bugs.launchpad.net/command-not-found/+bug/224776/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
It works! I like this feature. Thank you, Zygmunt! Could you add snaphot for Maverick in PPA? -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
** Changed in: command-not-found Status: Fix Committed => Fix Released -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
I have created a PPA with this feature, I will upload the package this evening. I think you have to use it for a moment first to decide if we should keep 'ask' as default. The one major factor is that the question is offered *only* if you type exact command name that is available. It does not trigger on spelling suggestion. It does not trigger when command is in multiple packages. I think it actually makes sense to offer that question in the case when the user had intended to run the comma d anyway. If mvo pushes this to lucid we can get wider feedback -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
I agree with what others are saying. Having a default action waiting for input on a mistype would be very annoying. -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
** Changed in: command-not-found Milestone: None => 0.2.41 -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
I was just looking over "revision 113 of lp:command-not-found" to see how this feature was implemented. The one thing that concerns me is that the "ask" appears to be the default value. In other words, if I type in a non-existent command, if it matches a known command, it will force me to answer 'y' or 'n'. My first question, how will a user come to find out how to turn this off. I certainly don't want this feature as I spend 90% of my day in the shell and am a horrible typer. :-) I'm not saying "ask" shouldn't be the default value, but I would like to see a very simple way to turn it off, even if it's a message on the first occurrence of something like: "To turn this feature off, change X value in Y config file" Thoughts? -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
Committed in revision 113 of lp:command-not-found ** Changed in: command-not-found Status: In Progress => Fix Released ** Changed in: command-not-found Status: Fix Released => Fix Committed -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
** Changed in: command-not-found Assignee: (unassigned) => Zygmunt Krynicki (zkrynicki) ** Changed in: command-not-found Status: Confirmed => In Progress -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 224776] Re: c-n-f should be able offer to install missing programs (preference)
This functionality is coming in 0.4.x alpha (as a preference) ** Summary changed: - When a program is not installed and used in the cli it should ask me if I want to install it not how to install it + c-n-f should be able offer to install missing programs (preference) ** Changed in: command-not-found Importance: Undecided => Wishlist ** Changed in: command-not-found Status: New => Confirmed ** Changed in: command-not-found Milestone: None => alpha -- c-n-f should be able offer to install missing programs (preference) https://bugs.launchpad.net/bugs/224776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs