From Fedora Project Wiki

Grafana packaging (version 2.6)

source: https://github.com/grafana/grafana

build requirements:

  • go 1.5 (packaged)
  • NodeJS (packaged)
  • grunt (packaged)
  • godeps (not packaged)

Major issue is, build tries to pull down everything from the net, which is not desired on koji.

Building backend


[fedora@f23-grafana-build grafana]$ go run build.go setup
teration beta11459428203
Version: 3.0.0-beta1, Linux Version: 3.0.0, Package Iteration: beta11459428203
go get -v github.com/tools/godep
github.com/tools/godep (download)
github.com/tools/godep/Godeps/_workspace/src/github.com/kr/fs
github.com/tools/godep/Godeps/_workspace/src/github.com/kr/text
github.com/tools/godep/Godeps/_workspace/src/github.com/kr/pretty
github.com/tools/godep/Godeps/_workspace/src/github.com/pmezard/go-difflib/difflib
github.com/tools/godep/Godeps/_workspace/src/golang.org/x/tools/go/vcs
github.com/tools/godep
go get -v github.com/blang/semver
github.com/blang/semver (download)
github.com/blang/semver
go get -v github.com/mattn/go-sqlite3
github.com/mattn/go-sqlite3 (download)
github.com/mattn/go-sqlite3
go install -v github.com/mattn/go-sqlite3


building frontend

deps

  • jquery 2.1.4
  • angular 1.5.3
  • angular-route 1.5.3
  • angular-mocks 1.5.3
  • angular-sanitize 1.5.3
  • angular-bindonce 0.3.3
  • phantomjs (vendored)
  • grunt-cli
  • grunt-jscs 1.5.x
  • grunt-sass-lint 0.1.0
  • grunt-sync 0.4.1
  • karma-sinon 1.0.3
  • lodash 2.4.1
  • remarkable 1.6.2
  • sinon 1.16.1
  • systemjs-builder 0.15.13
  • tether 1.2.0
  • tether-drop 1.4.2
  • tslint 3.4.0
  • typescript 1.7.5