Re: Bug#881692: command-not-found: I re-wrote command-not-found
> > > 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 > other hand is required and essential). Ruby has the lowest priority > - optional. > > -- > Debian Developer - deb.li/jak | jak-linux.org - free software dev > Ubuntu Core Developer de, en speaker > -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Bug#881692: command-not-found: I re-wrote command-not-found
On Thu, Nov 16, 2017 at 11:55:07PM -0800, Shawn Landden wrote: > On Thu, Nov 16, 2017 at 11:39 PM, Xenwrote: > > > 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. > > Required: yes. The highest priority. sysvinit was Required: yes until > systemd came along https://www.debian.org/doc/debian-policy/#priorities What it actually means is that you don't have to declare them in Depends fields. And required is a priority, that's distinct. Essential basically is the set of packages dpkg needs for its own operation. > > Speaking of, I can't use 'apt-get indextargets' from shell and had to > rewrite in ruby, because sed doesn't not support lazy matching, and I don't > know how else to match NOT \n\n. (it also doesn't seem to support multiples > of submatches.) Old regular expression implementations are showing their > age (not to mention perl's non-regular features). Ruby is just a major no go. 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 other hand is required and essential). Ruby has the lowest priority - optional. -- Debian Developer - deb.li/jak | jak-linux.org - free software dev Ubuntu Core Developer de, en speaker -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Broken Python link
Hi, I landed on this page http://examplenow.com/package/python-paste/ and noticed you have a link to PythonPaste.org which seems to have gone offline, even the Archive.org record shows an error. I figured you’d want to update to perhaps https://pypi.python.org/pypi/Paste just so you don’t have an error on your page. If you think it would be a good fit, perhaps you could also add a link to our Python resource page - http://wiht.co/python-guide? We’ve added loads of great tools, resources, references, and tutorials on that page and I think it could be useful to people landing on your site. Thank you in advance. -Marilyn Marilyn Shaw | Content Co-ordinatorIf you'd rather I didn't email you in future, please reply with 'UNSUBSCRIBE' in the subject line. WhoIsHostingThis, BM Box 3667, Old Gloucester Street London, WC1N 3XX, United Kingdom -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
Re: Bug#881692: command-not-found: I re-wrote command-not-found
Shawn Landden schreef op 17-11-2017 8:55: On Thu, Nov 16, 2017 at 11:39 PM, Xenwrote: 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. Required: yes. The highest priority. sysvinit was Required: yes until systemd came along https://www.debian.org/doc/debian-policy/#priorities -- What I mean is that since they are already on a system you don't have to require them. "Packages are not required to declare any dependencies they have on other packages which are marked Essential (see below), and should not do so unless they depend on a particular version of that package. [4]" From the same document. As to sed, yeah it has issue with multi-line matching anyway. Some people use perl to achieve the same. -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss