Re: Pimp your shell - Debian developer tips?
On Jo, 04 iun 20, 10:13:06, Michael Shuler wrote: > On 6/3/20 7:30 PM, Gunnar Wolf wrote: > > Like Paul said in his reply, I also have a "bash monstrosity" as a > > Bash prompt. > > For many years, I have taken a different approach; use the default and add > only a few minor changes. Each stable update, I use /etc/skel/.bashrc and > edit/add in my little bits. +1 While not a developer I'll dare share some my changes as well. At least 'linux' and 'screen' should be added to /etc/skel/.bashrc # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; rxvt*) color_prompt=yes;; linux) color_prompt=yes;; screen*) color_prompt=yes;; esac Let's use packages in the distribution whenever possible ;) I don't recall where I got the prompt command from... # add git branch information to avoid commiting to 'master' by mistake if [[ -e /usr/lib/git-core/git-sh-prompt ]]; then . /usr/lib/git-core/git-sh-prompt fi GIT_PS1_SHOWUPSTREAM="verbose" #PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00;32m\]" "\[\033[00m\]\nāā> \$ "' PROMPT_COMMAND='__git_ps1 "${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00;32m\]" "\[\033[00m\]\$ "' BTW, I prefer 'W' to 'w' (it's my only change below) :) if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi unset color_prompt force_color_prompt '--human-readable' makes for a nicer 'ls -l' in the age of MiB, GiB files. Maybe grep --color should be enabled by default as well? # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto --human-readable' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' #alias fgrep='fgrep --color=auto' #alias egrep='egrep --color=auto' fi Hope this is useful to someone, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Bug#962140: ITP: bdebstrap -- YAML config based multi-mirror Debian chroot creation tool
[sorry for the Cc in case you are subscribed to -devel] On Mi, 03 iun 20, 19:26:13, Benjamin Drung wrote: > Package: wnpp > Severity: wishlist > Owner: Benjamin Drung > > * Package name: bdebstrap > Version : 0.1 > Upstream Author : Benjamin Drung > * URL : https://github.com/bdrung/bdebstrap > * License : MIT > Programming Lang: Python > Description : YAML config based multi-mirror Debian chroot creation tool > > bdebstrap is an alternative to debootstrap and a wrapper around > mmdebstrap to support YAML based configuration files. It inherits all > benefits from mmdebstrap. The support for configuration allows storing > all customization in a YAML file instead of having to use a very long > one-liner call to mmdebstrap. It also layering multiple customizations > on top of each other, e.g. to support flavors of an image. Just curious, how does it compare to vmdb2, besides using mmdebstrap instead of debootstrap. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Bug#962341: ITP: ruamel.yaml.clib -- C based reader/scanner and emitter for ruamel.yaml
Package: wnpp Severity: wishlist Owner: Drew Parsons * Package name: ruamel.yaml.clib Version : 0.2.0 Upstream Author : Anthon van der Neut * URL : https://sourceforge.net/projects/ruamel-yaml-clib/ * License : MIT Programming Lang: Python/C Description : C based reader/scanner and emitter for ruamel.yaml This package was split of from ruamel.yaml, so that ruamel.yaml can be build as a universal wheel. Apart from the C code seldom changing, and taking a long time to compile for all platforms, this allows installation of the .so on Linux systems under /usr/lib64/pythonX.Y (without a .pth file or a ruamel directory) and the Python code for ruamel.yaml under /usr/lib/pythonX.Y. Required by ruamel.yaml >= 0.16.8. To be maintained by the Python Modules Team.
Bug#962361: ITP: r-cran-tmvnsim -- GNU R package for truncated multivariate normal simulation
Package: wnpp Owner: Dirk Eddelbuettel Severity: wishlist * Package name: r-cran-tmvnsim Version : 1.0-2 Upstream Author : Samsiddhi Bhattacjarjee * URL or Web page : https://cran.r-project.org/package=tmvnsim * License : GPL-2 Description : GNU R package for truncated multivariate normal simulation This package is now a build-depends of package r-cran-mnormt which has been in Debian since 2007. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
Bug#962375: ITP: ruby-http-2 -- Pure-ruby HTTP 2.0 protocol implementation
Package: wnpp Severity: wishlist Owner: Hideki Yamane X-Debbugs-Cc: debian-devel@lists.debian.org * Package name: ruby-http-2 Version : 0.10 Upstream Author : Ilya Grigorik * URL : https://github.com/igrigorik/http-2 * License : MIT Programming Lang: Ruby Description : Pure-ruby HTTP 2.0 protocol implementation Pure Ruby, framework and transport agnostic, implementation of HTTP/2 protocol and HPACK header compression with support for: . - Binary framing parsing and encoding - Stream multiplexing and prioritization - Connection and stream flow control - Header compression and server push - Connection and stream management - And more
Bug#962374: ITP: ruby-protocol-http -- providing abstractions to handle HTTP protocol
Package: wnpp Severity: wishlist Owner: Hideki Yamane X-Debbugs-Cc: debian-devel@lists.debian.org * Package name: ruby-protocol-http Version : 0.20.0 Upstream Author : Samuel G. D. Williams * URL : https://github.com/socketry/protocol-http * License : MIT Programming Lang: Ruby Description : providing abstractions to handle HTTP protocol Protocol::HTTP provides abstractions for working with the HTTP protocol.
Bug#962376: ITP: ruby-console -- Beautiful logging for Ruby
Package: wnpp Severity: wishlist Owner: Hideki Yamane X-Debbugs-Cc: debian-devel@lists.debian.org * Package name: ruby-console Version : 1.8.2 Upstream Author : Samuel Williams * URL : https://github.com/socketry/console * License : MIT Programming Lang: Ruby Description : Beautiful logging for Ruby Provides beautiful console logging for Ruby applications. Implements fast, buffered log output. For introduce fluentd, this package is necessary (fluentd->ruby-async-http ->ruby-async->ruby-console)