It’s very easy to contribute to minikube (and other similar packages) when the only thing that is needed is just a version bump in the spec file. You first need to install these:

# zypper in osc spec-cleaner

Configure your ~/.oscrc file:

no_verify = 1
extra-pkgs = vim less mc

user=pgeorgiadis           # CHANGE # CHANGE
pass=123456789             # CHANGE
trusted_prj=SUSE:SLE-12:GA openSUSE:13.2 openSUSE:Leap:42.3 openSUSE:Factory Base:System Virtualization:containers SUSE:SLE-12-SP3:GA SUSE:SLE-12:SLE-Module-Containers SUSE:Templates:Images:SLE-12-SP3:Base SUSE:SLE-12-SP3:Update openSUSE:Leap:42.3:Update
build_repository = openSUSE_Tumbleweed

Contributing in a nutshell

This is pkg that somebody else has prepared already. We are going just to bump the version:

# Create a dir to work inside
mkdir packaging

# Branch and checkout the package
osc bco minikube

# Change directory into it
cd home\:pgeorgiadis\:branches\:Virtualization\:containers/minikube/

# Change the version number to the current one
vi minikube.spec
# example:
# -Version:        0.28.2
# +Version:        0.29.0

# Download the new sources

# Clean the spec file
spec-cleaner -i minikube.spec

# Add the new tarball
osc add v0.29.0.tar.gz

# Remove the old tarball 
osc rm v0.28.2.tar.gz

# Write the changelog
osc vc

# Commit the changes
osc ci

# Send the changes
osc sr

# Monitor the building with your browser

Get notified via mail

Now what would be cool is to get a notification when a new version is available:

cat /root/


curl --silent | grep "$OLD"
if [ $RC -ne 0 ]; then
    NEW=$(curl --silent | awk -F "tag/" '{print $2}' | awk -F '"' '{ print $1 }')
    echo "New Version $NEW"
    echo "Read the changelog at $CHANGELOG" |  mail -s "Minikube $NEW version released"

Run it every day at 14:00:

crontab -e

# add this:
0 14 * * * /root/

Have fun, Panos