Bug#881692: command-not-found: I re-wrote command-not-found

2019-06-04 Thread Shawn Landden
Package: command-not-found Version: 18 Followup-For: Bug #881692 Dear Maintainer, Dear Maintainer, A snap hook was just merged https://github.com/snapcore/snapd/pull/6734 My package now supports the Commands hook that Ubuntu servers export (as well as apt-file). As Debian does not yet ship

Bug#881692: command-not-found: I re-wrote command-not-found

2018-05-10 Thread Julian Andres Klode
On Thu, May 10, 2018 at 03:19:13PM +, Shawn Landden wrote: > I re-wrote command-not-found in C. It consists of two C programs: > command-not-found, which gets triggered by bash, and > update-command-not-found, which digests the data obtained with apt-file > update. > > AFAIK there is only one

Bug#881692: command-not-found: I re-wrote command-not-found

2018-05-10 Thread Shawn Landden
I re-wrote command-not-found in C. It consists of two C programs: command-not-found, which gets triggered by bash, and update-command-not-found, which digests the data obtained with apt-file update. AFAIK there is only one rough edge, in that the parsing of /etc/apt/sources.list is not the same

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-25 Thread Shawn Landden
On Mon, Nov 13, 2017 at 11:50 PM, Julian Andres Klode wrote: > (forwarding this to ubuntu-devel-discuss and Zygmunt) > > On Mon, Nov 13, 2017 at 10:33:39PM -0800, Shawn Landden wrote: >> Package: command-not-found >> Severity: wishlist >> >> I re-wrote command-not-found to get

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-17 Thread Shawn Landden
> > > Ruby is just a major no go. Re-written in C. And in the future, what about Lua? It is only 300KB. > At that system level, the best choices > are Perl, Shell, and C++. Maybe Python (on Ubuntu it's in ubuntu-minimal, > but in Debian it's only used by standard priority and less, perl on the

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-17 Thread Julian Andres Klode
On Thu, Nov 16, 2017 at 11:55:07PM -0800, Shawn Landden wrote: > On Thu, Nov 16, 2017 at 11:39 PM, Xen wrote: > > > Julian Andres Klode schreef op 14-11-2017 8:50: > > > > * You should not depend on grep, sed, coreutils, they are Essential. > >> > > > > Can I ask what this

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-17 Thread Xen
Shawn Landden schreef op 17-11-2017 8:55: On Thu, Nov 16, 2017 at 11:39 PM, Xen wrote: Julian Andres Klode schreef op 14-11-2017 8:50: * You should not depend on grep, sed, coreutils, they are Essential. Can I ask what this means? I actually assume that these

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-16 Thread Shawn Landden
On Thu, Nov 16, 2017 at 11:39 PM, Xen wrote: > Julian Andres Klode schreef op 14-11-2017 8:50: > > * You should not depend on grep, sed, coreutils, they are Essential. >> > > Can I ask what this means? > > I actually assume that these dependencies are not *required*, not that

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-16 Thread Xen
Julian Andres Klode schreef op 14-11-2017 8:50: * You should not depend on grep, sed, coreutils, they are Essential. Can I ask what this means? I actually assume that these dependencies are not *required*, not that you can't use the tools.

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-16 Thread Shawn Landden
On Thu, Nov 16, 2017 at 6:44 PM, Colin Watson wrote: > On Thu, Nov 16, 2017 at 05:10:19PM -0800, Shawn Landden wrote: > > On Mon, Nov 13, 2017 at 11:50 PM, Julian Andres Klode > > wrote: > > > * It needs to be translated - also very important. > > > > I

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-16 Thread Colin Watson
On Thu, Nov 16, 2017 at 05:10:19PM -0800, Shawn Landden wrote: > On Mon, Nov 13, 2017 at 11:50 PM, Julian Andres Klode > wrote: > > * It needs to be translated - also very important. > > I made a pot file and used translations from the python version, but I > can't get my app to

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-16 Thread Shawn Landden
> * Did you test your format on a slow HDD with caches dropped? It >> must not be slower than the Python one (that one is way too slow >> already) - I did, it seems to be faster (0.4 vs 0.68 seconds) >> - I believe the database-based C rewrite was even much faster, >> though >> > I tested

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-16 Thread Shawn Landden
On Mon, Nov 13, 2017 at 11:50 PM, Julian Andres Klode wrote: > (forwarding this to ubuntu-devel-discuss and Zygmunt) > > On Mon, Nov 13, 2017 at 10:33:39PM -0800, Shawn Landden wrote: > > Package: command-not-found > > Severity: wishlist > > > > I re-wrote command-not-found to

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-14 Thread Shawn Landden
On Nov 14, 2017 8:15 AM, "Julian Andres Klode" wrote: On Tue, Nov 14, 2017 at 03:35:02PM +, John Lenton wrote: > On 14 November 2017 at 12:34, Julian Andres Klode wrote: > > On Tue, Nov 14, 2017 at 01:00:54PM +0100, Zygmunt Krynicki wrote: > >> I would love

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-14 Thread Julian Andres Klode
On Tue, Nov 14, 2017 at 03:35:02PM +, John Lenton wrote: > On 14 November 2017 at 12:34, Julian Andres Klode wrote: > > On Tue, Nov 14, 2017 at 01:00:54PM +0100, Zygmunt Krynicki wrote: > >> I would love if we have a compact representation of mapping from name > >> to list of

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-14 Thread John Lenton
On 14 November 2017 at 12:34, Julian Andres Klode wrote: > On Tue, Nov 14, 2017 at 01:00:54PM +0100, Zygmunt Krynicki wrote: >> I would love if we have a compact representation of mapping from name >> to list of bits of information where each bit can be a small structure >> with

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-14 Thread Julian Andres Klode
On Tue, Nov 14, 2017 at 01:00:54PM +0100, Zygmunt Krynicki wrote: > Hey everyone. > > Thank you for your interest in command-not-found. > > On Tue, Nov 14, 2017 at 8:50 AM, Julian Andres Klode wrote: > > (forwarding this to ubuntu-devel-discuss and Zygmunt) > > > > On Mon, Nov

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-14 Thread Zygmunt Krynicki
Hey everyone. Thank you for your interest in command-not-found. On Tue, Nov 14, 2017 at 8:50 AM, Julian Andres Klode wrote: > (forwarding this to ubuntu-devel-discuss and Zygmunt) > > On Mon, Nov 13, 2017 at 10:33:39PM -0800, Shawn Landden wrote: >> Package: command-not-found

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-13 Thread Julian Andres Klode
(forwarding this to ubuntu-devel-discuss and Zygmunt) On Mon, Nov 13, 2017 at 10:33:39PM -0800, Shawn Landden wrote: > Package: command-not-found > Severity: wishlist > > I re-wrote command-not-found to get rid of the python dependancy, and > to reduce the database size, as to reduce memory

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-13 Thread Shawn Landden
Oh, I forgot about the spelling feature On Nov 13, 2017 22:36, "Shawn Landden" wrote: > Package: command-not-found > Severity: wishlist > > I re-wrote command-not-found to get rid of the python dependancy, and > to reduce the database size, as to reduce memory usage. > >

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-13 Thread Shawn Landden
close 881692 thanks On Mon, Nov 13, 2017 at 10:53 PM, Shawn Landden wrote: > Oh, I forgot about the spelling feature > > On Nov 13, 2017 22:36, "Shawn Landden" wrote: > >> Package: command-not-found >> Severity: wishlist >> >> I re-wrote

Bug#881692: command-not-found: I re-wrote command-not-found

2017-11-13 Thread Shawn Landden
Package: command-not-found Severity: wishlist I re-wrote command-not-found to get rid of the python dependancy, and to reduce the database size, as to reduce memory usage. https://github.com/shawnl/command-not-found I was preparing to upload it to mentors as command-not-found-ng -- System