From Fedora Project Wiki
 
(36 intermediate revisions by the same user not shown)
Line 13: Line 13:
== Building backend ==
== Building backend ==
----
----
<pre>
[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
</pre>


{|
! Path !! Version !! included or rhbz#
|-
| github.com/BurntSushi/toml || Versionv0.1.0-21-g056c9bc || {{ check }}
|-
| github.com/Unknwon/com || v1 || {{ result|inprogress }}
|-
| github.com/aws/aws-sdk-go/aws || Versionv1.0.0 || {{ check }}
|-
| github.com/bmizerany/assert || Versionrelease.r60-6-ge17e998 || {{ check }}
|-
| github.com/bradfitz/gomemcache/memcache || Versionrelease.r60-40-g72a6864 || {{ result|inprogress }}
|-
| github.com/codegangsta/cli || Version1.2.0-187-gc31a797 || {{ check }}
|-
| github.com/davecgh/go-spew/spew || || {{ check }}
|-
| github.com/fatih/color || Versionv0.1-16-g4f7bcef || {{ result|inprogress }}, requires mattn-packages below
|-
| github.com/franela/goreq || (no release) || {{ result|inprogress|mrunge }}
|-
| github.com/go-ini/ini || Versionv0-48-g060d7da || {{ important }} https://bugzilla.redhat.com/show_bug.cgi?id=1327497
|-
| github.com/go-ldap/ldap || Versionv2.2.1 || {{ check }}
|-
| github.com/go-macaron/binding || (no release) || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/gzip || (no release) || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/inject || (no release) || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/macaron || 1.1.3 || {{result|inprogress|mrunge}}, dep to go-macaron-session
|-
| github.com/go-macaron/session || (no release) || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/session/memcache || || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/session/mysql || || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/session/postgres || || {{result|inprogress|mrunge}}
|-
| github.com/go-macaron/session/redis || || {{result|inprogress|mrunge}}
|-
| github.com/go-sql-driver/mysql || Versionv1.2-171-g267b128 || {{ check }}
|-
| github.com/go-xorm/core  || Versionv0.4.4-7-g9e608f7 || {{result|inprogress|mrunge}}
|-
| github.com/go-xorm/xorm || Versionv0.4.4-44-gf561133 || {{result|inprogress|mrunge}}
|-
| github.com/gorilla/websocket || || {{ check }}
|-
| github.com/gosimple/slug || || {{result|inprogress|mrunge}}
|-
| github.com/hashicorp/go-version || (no release) || {{result|inprogress|mrunge}}
|-
| github.com/jmespath/go-jmespath  || 0.2.2 || {{result|inprogress|mrunge}} https://bugzilla.redhat.com/show_bug.cgi?id=1297550
|-
| github.com/jtolds/gls || || {{ check }}
|-
| github.com/klauspost/compress/flate || 1.0 || {{result|inprogress|mrunge}}
|-
| github.com/klauspost/compress/gzip || 1.0 || {{result|inprogress|mrunge}}
|-
| github.com/klauspost/cpuid || 1.0 || {{result|inprogress|mrunge}}
|-
| github.com/klauspost/crc32 || 1.0 || {{result|inprogress|mrunge}}
|-
| github.com/kr/pretty || go.weekly.2011-12-22-27-ge6ac2fc ||  {{ check }}
|-
| github.com/kr/text || || {{ check }}
|-
| github.com/lib/pq || go1.0-cutoff-13-g19eeca3 || {{ check }}
|-
| github.com/lib/pq/oid  || go1.0-cutoff-13-g19eeca3 || {{ check }}
|-
| github.com/mattn/go-colorable || (no release upstream) || {{ result|inprogress }}
|-
| github.com/mattn/go-isatty || 0.0.1 || {{ result|inprogress }}
|-
| github.com/mattn/go-sqlite3 || || {{ check }}
|-
|github.com/rainycape/unidecode || (no release) || {{result|inprogress|mrunge}}
|-
| github.com/smartystreets/goconvey/convey || Version1.5.0-356-gfbc0a1c || {{ check }}
|-
| github.com/smartystreets/goconvey/convey/assertions || Version1.5.0-356-gfbc0a1c ||
|-
| github.com/smartystreets/goconvey/convey/assertions/oglematchers || Version1.5.0-356-gfbc0a1c
|-
| github.com/smartystreets/goconvey/convey/gotest || Version1.5.0-356-gfbc0a1c ||
|-
| github.com/smartystreets/goconvey/convey/reporting  || Version1.5.0-356-gfbc0a1c ||
|-
| github.com/streadway/amqp || (no release) || {{result|inprogress|mrunge}}
|-
| golang.org/x/net/context || ||
|-
| golang.org/x/oauth2 || ||
|-
| golang.org/x/sys/unix || ||
|-
| gopkg.in/asn1-ber.v1 || Versionv1 || {{ check }}
|-
| gopkg.in/bufio.v1  Versionv1
|-
| gopkg.in/ini.v1  Versionv0-16-g1772191
|-
| gopkg.in/macaron || v1 || {{ important }}
|-
| gopkg.in/redis.v2  Versionv2.3.2
|-
|}


== building frontend ==
== building frontend ==
Line 47: Line 138:
* phantomjs (vendored)
* phantomjs (vendored)
* grunt-cli
* grunt-cli
*   "grunt-jscs": "~1.5.x",
* grunt-jscs 1.5.x
*   "grunt-sass-lint": "^0.1.0",
* grunt-sass-lint 0.1.0
*   "grunt-sync": "^0.4.1",
* grunt-sync 0.4.1
*   "karma-sinon": "^1.0.3",
* karma-sinon 1.0.3
*   "lodash": "^2.4.1",
* lodash 2.4.1
*   "remarkable": "^1.6.2",
* remarkable 1.6.2
*   "sinon": "1.16.1",
* sinon 1.16.1
*   "systemjs-builder": "^0.15.13",
* systemjs-builder 0.15.13
*   "tether": "^1.2.0",
* tether 1.2.0
*   "tether-drop": "^1.4.2",
* tether-drop 1.4.2
*   "tslint": "^3.4.0",
* tslint 3.4.0
*   "typescript": "^1.7.5"
* typescript 1.7.5

Latest revision as of 08:15, 20 April 2016

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


Path Version included or rhbz#
github.com/BurntSushi/toml Versionv0.1.0-21-g056c9bc
github.com/Unknwon/com v1
Inprogress inprogress
github.com/aws/aws-sdk-go/aws Versionv1.0.0
github.com/bmizerany/assert Versionrelease.r60-6-ge17e998
github.com/bradfitz/gomemcache/memcache Versionrelease.r60-40-g72a6864
Inprogress inprogress
github.com/codegangsta/cli Version1.2.0-187-gc31a797
github.com/davecgh/go-spew/spew
github.com/fatih/color Versionv0.1-16-g4f7bcef
Inprogress inprogress
, requires mattn-packages below
github.com/franela/goreq (no release)
Inprogress inprogress mrunge
github.com/go-ini/ini Versionv0-48-g060d7da https://bugzilla.redhat.com/show_bug.cgi?id=1327497
github.com/go-ldap/ldap Versionv2.2.1
github.com/go-macaron/binding (no release)
Inprogress inprogress mrunge
github.com/go-macaron/gzip (no release)
Inprogress inprogress mrunge
github.com/go-macaron/inject (no release)
Inprogress inprogress mrunge
github.com/go-macaron/macaron 1.1.3
Inprogress inprogress mrunge
, dep to go-macaron-session
github.com/go-macaron/session (no release)
Inprogress inprogress mrunge
github.com/go-macaron/session/memcache
Inprogress inprogress mrunge
github.com/go-macaron/session/mysql
Inprogress inprogress mrunge
github.com/go-macaron/session/postgres
Inprogress inprogress mrunge
github.com/go-macaron/session/redis
Inprogress inprogress mrunge
github.com/go-sql-driver/mysql Versionv1.2-171-g267b128
github.com/go-xorm/core Versionv0.4.4-7-g9e608f7
Inprogress inprogress mrunge
github.com/go-xorm/xorm Versionv0.4.4-44-gf561133
Inprogress inprogress mrunge
github.com/gorilla/websocket
github.com/gosimple/slug
Inprogress inprogress mrunge
github.com/hashicorp/go-version (no release)
Inprogress inprogress mrunge
github.com/jmespath/go-jmespath 0.2.2
Inprogress inprogress mrunge
https://bugzilla.redhat.com/show_bug.cgi?id=1297550
github.com/jtolds/gls
github.com/klauspost/compress/flate 1.0
Inprogress inprogress mrunge
github.com/klauspost/compress/gzip 1.0
Inprogress inprogress mrunge
github.com/klauspost/cpuid 1.0
Inprogress inprogress mrunge
github.com/klauspost/crc32 1.0
Inprogress inprogress mrunge
github.com/kr/pretty go.weekly.2011-12-22-27-ge6ac2fc
github.com/kr/text
github.com/lib/pq go1.0-cutoff-13-g19eeca3
github.com/lib/pq/oid go1.0-cutoff-13-g19eeca3
github.com/mattn/go-colorable (no release upstream)
Inprogress inprogress
github.com/mattn/go-isatty 0.0.1
Inprogress inprogress
github.com/mattn/go-sqlite3
github.com/rainycape/unidecode (no release)
Inprogress inprogress mrunge
github.com/smartystreets/goconvey/convey Version1.5.0-356-gfbc0a1c
github.com/smartystreets/goconvey/convey/assertions Version1.5.0-356-gfbc0a1c
github.com/smartystreets/goconvey/convey/assertions/oglematchers Version1.5.0-356-gfbc0a1c
github.com/smartystreets/goconvey/convey/gotest Version1.5.0-356-gfbc0a1c
github.com/smartystreets/goconvey/convey/reporting Version1.5.0-356-gfbc0a1c
github.com/streadway/amqp (no release)
Inprogress inprogress mrunge
golang.org/x/net/context
golang.org/x/oauth2
golang.org/x/sys/unix
gopkg.in/asn1-ber.v1 Versionv1
gopkg.in/bufio.v1 Versionv1
gopkg.in/ini.v1 Versionv0-16-g1772191
gopkg.in/macaron v1
gopkg.in/redis.v2 Versionv2.3.2

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