Repo is a wonderful tool which simplifies my daily work across multiple Git repositories.
One of the most useful commands in my opinion is repo forall
.
However, it does not show project name before performing a command on a specific repository.
There is a -p
parameter, which does exactly what I need, but some part of the output seems to be missing (at least in my case with 50+ repositories).
After playing a bit around command-line parameters I came up with a simple solution. Just add the following to your bash alias list:
repo_forall () { repo forall -c "echo -e \"\\e[32m\"\$REPO_PROJECT\"\\e[39m\"; $@" ;}
After that just pass the command to this function:
repo_forall "git branch"
Here is a sample output:
If you use Deluge WebUI then from time to time you have to enter your password and select default connection in the connection manager. It could be a bit annoying, especially if you use your own local server (e.g. OpenMediaVault) and do not expose WebUI to the external world. Of course, you can use a workaround and avoid direct interaction with WebUI. For example, Transdrone is a good Android interface, which can connect to Deluge using your WebUI password. Looks good, but it’s much better just to remove these annoying windows. In this post you’ll find a step-by-step instruction.