## ## .####. .####.
##. .## .######. .######.
#: ## :# ### ### ### ###
:#:.##.:#: ##. .## ##. .##
# :##:## ## ## ## ##
## ## ## ##. .## ##. .##
###::## ### ### ### ###
:##..##: .######. .######.
.## ## .####. .####.
He who has a 'why' to live for
can bear almost any 'how'.
[Nietzsche]
About
woo is modular tool to ease your daily product work.
Install
We need to put woo into our $PATH so that we can access it easily.
Pick one of the locations that works for you:
~/.local/bin, ~/bin, /usr/local/bin.
# Install requirements
sudo apt install coreutils findutils gawk git grep sed
curl https://get.miconoco.de/woo/woo -o woo
# Verify
curl https://get.miconoco.de/woo/woo.sha256 -o woo.sha256
curl https://get.miconoco.de/woo/woo.sha256.sig -o woo.sha256.sig
gpg --recv-keys 332DFBA7E631DBFA928F0241556898074D18D744
gpg --verify woo.sha256.sig woo.sha256
sha256sum -c woo.sha256
# Install it or move it to the location of your choice
install -m 755 woo ~/.local/bin/woo
Usage
Boot an existing workspace
mkdir -p <PRODUCT_WORKSPACE>; cd <PRODUCT_WORKSPACE>
woo boot git@my-scm:path/to/woo/powered/product.git
. ./activate
Create a new workspace
cd <PRODUCT_WORKSPACE>
woo boot .
git remote add origin <WOO-POWERED-PRODUCT.git>
git commit -a -m 'hello woo master'
git clone <sub-project-a>
echo /sub-project-a >> .gitignore
git clone <sub-project-b>
echo /sub-project-b >> .gitignore
git clone <sub-project-c>
echo /sub-project-c >> .gitignore
echo /sub-project-c >> .wooignore
woo snapshot
git commit -a -m 'initialize projects'
git push -u origin master
Pull changes
cd <PRODUCT_WORKSPACE>
. ./activate
woo pull
woo snapshot
Changelog
cd <PRODUCT_WORKSPACE>
. ./activate
woo log
Custom woo-command
cd <PRODUCT_WORKSPACE>
. ./activate
cat <<EOF > ./bin/yesterday
#!/bin/sh
git --no-pager log --oneline --since='2 days ago'
EOF
chmod + ./bin/yesterday
git commit -a -m 'hello woo yesterday'
woo yesterday
Contribution welcome
Grab the source/mirror; get your hands dirty and send patches or questions to posaune@miconoco.de.
Similar Tools
License
Simplified BSD, see LICENSE for details.
--
Yours truly,
Wizard Of toOls