You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Blubber/Download"

From Wikitech-static
Jump to navigation Jump to search
imported>Dduvall
(→‎Latest release (0.8.0): Installing from binaries is the easiest option. List it first.)
imported>Hashar
(Remove APT section, we no more provide a Debian package since October 2018 T283891)
Line 24: Line 24:


(Be sure that <code>$GOPATH/bin</code> is in your <code>PATH</code>.)
(Be sure that <code>$GOPATH/bin</code> is in your <code>PATH</code>.)
=== APT ===
Blubber is available from our [[APT]] repo.
<syntaxhighlight lang="bash">
deb https://apt.wikimedia.org/wikimedia stretch-wikimedia main
</syntaxhighlight>
<syntaxhighlight lang="bash">
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9D392D3FFADF18FB
apt-get install blubber
</syntaxhighlight>


=== Installing from source ===
=== Installing from source ===

Revision as of 09:35, 14 June 2021

Blubber is a command line application that is available as a statically compiled binary for multiple platforms

Latest release (0.8.0)

Binaries

Using Go tools

go get -u gerrit.wikimedia.org/r/blubber/cmd/blubber

(Be sure that $GOPATH/bin is in your PATH.)

Installing from source

See CONTRIBUTING.md in the Blubber repo.

Blubber as a (micro)Service

You can also use blubber without installing a local copy by making a well-formed call against blubberoid.wikimedia.org. See Blubber/Idea#Stateless for more details, or simply start using this Bash function.

blubber() {
  if [ $# -lt 2 ]; then
    echo 'Usage: blubber config.yaml variant'
    return 1
  fi
  curl -s -H 'content-type: application/yaml' --data-binary @"$1" https://blubberoid.wikimedia.org/v1/"$2"
}

Past releases

0.6.0

Further reading

Tutorials

Now that you have Blubber installed, try your hand at one of the tutorials.