forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'grafana/master' into anno-panel
* grafana/master: (22 commits) grafana/toolkit: bundle plugins with webpack (grafana#17850) Explore: Adds orgId to URL for sharing purposes (grafana#17895) grafana/toolkit: copy sass files (grafana#17888) ChangePassword: Rewrite change password page to react (grafana#17811) AngularPanels: Fixed loading state indication for angular panels (grafana#17900) Explore: Adds support for toggling text edit mode in explore (grafana#17870) LDAP: Divide the requests (grafana#17885) Build: fixes missing shebang in release tagging script. (grafana#17894) Teams: show proper label for each auth provider (grafana#17860) Logging: Login and Logout logging actions (grafana#17760) (grafana#17883) Loki: Adds comment explaining usage of RFC3339Nano string (grafana#17872) Explore: Query rows are now reset when changing data sources (grafana#17865) Codestyle: add guidelines for removing the m alias for models (grafana#17890) Docs: How to work with themes (grafana#17876) Docs: Fix developing plugins index page (grafana#17877) StatsPicker: Fix multiple value input layout etc. (grafana#17827) Chore: Build grafana-cli when running bra run (grafana#17788) Build: use golangci-lint as a make command (grafana#17739) Explore: Log highlights only update when user stops typing (grafana#17845) Loki: getHighlighterExpressionsFromQuery Returns null if filter term is not quoted (grafana#17852) ...
- Loading branch information
Showing
85 changed files
with
4,495 additions
and
986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,18 +22,30 @@ The Grafana project uses [Go modules](https://golang.org/cmd/go/#hdr-Modules__mo | |
|
||
All dependencies are vendored in the `vendor/` directory. | ||
|
||
_Note:_ Since most developers of Grafana still use the `GOPATH` we need to specify `GO111MODULE=on` to make `go mod` and `got get` work as intended. If you have setup Grafana outside of the `GOPATH` on your machine you can skip `GO111MODULE=on` when running the commands below. | ||
|
||
To add or update a new dependency, use the `go get` command: | ||
|
||
```bash | ||
# The GO111MODULE variable can be omitted when the code isn't located in GOPATH. | ||
# Pick the latest tagged release. | ||
go get example.com/some/module/pkg | ||
GO111MODULE=on go get example.com/some/module/pkg | ||
|
||
# Pick a specific version. | ||
go get example.com/some/module/[email protected] | ||
GO111MODULE=on go get example.com/some/module/[email protected] | ||
``` | ||
|
||
Tidy up the `go.mod` and `go.sum` files and copy the new/updated dependency to the `vendor/` directory: | ||
|
||
```bash | ||
# The GO111MODULE variable can be omitted when the code isn't located in GOPATH. | ||
GO111MODULE=on go mod tidy | ||
|
||
GO111MODULE=on go mod vendor | ||
``` | ||
|
||
You have to commit the changes to `go.mod`, `go.sum` and the `vendor/` directory before submitting the pull request. | ||
|
||
## Node.js Dependencies | ||
|
||
Updated using `yarn`. | ||
|
@@ -60,7 +72,7 @@ Our builds run on CircleCI through our build script. | |
|
||
The main build step (in CircleCI) is built using a custom build container that comes pre-baked with some of the necessary dependencies. | ||
|
||
Link: [grafana-build-container](https://github.com/grafana/grafana-build-container) | ||
Link: [grafana/build-container](https://github.com/grafana/grafana/tree/master/scripts/build/ci-build) | ||
|
||
#### Dependencies | ||
|
||
|
Oops, something went wrong.