commit | 77ae6a2042d8e380f52e4dd195bbd4ac6666767a | [log] [tgz] |
---|---|---|
author | Ashwin Verleker <ashwinpv@google.com> | Thu Oct 12 18:57:46 2023 +0000 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Oct 12 19:11:42 2023 +0000 |
tree | ec19f357dcc0eb4b73ed29a2aeb32f665ec2c5c6 | |
parent | a1666bf633a86117f0e9e6a8e73399309879e812 [diff] |
Fix query selection when loading page with url - Currently if you open the explore page with a pre-crafted url, open the query dialog and make a change to the query params, only the newly selected params are reflected. - The current query param selection in the query-sk is done via the current_query attribute. - However when loading the page like this, we weren't setting the paramset for the query-sk before setting the current_query attr. This caused the setting of selected params to reset since the paramset did not have the required keys at that stage (see the rationalizeQuery function in query-sk.ts). - In this change we just set the paramset first and then set the current_query attribute. Bug: b/301786467 Change-Id: I84d84e8eadf06e5ae4796437604c619d22dc8625 Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/765605 Reviewed-by: Sean McCullough <seanmccullough@google.com> Commit-Queue: Ashwin Verleker <ashwinpv@google.com>
This repo contains infrastructure code for Skia.
The main source code repository is a Git repository hosted at https://skia.googlesource.com/buildbot.git. It is possible to check out this repository directly with git clone
or via go get
.
Using git clone
allows you to work in whatever directory you want. You will still need to set GOPATH in order to build some apps (recommended to put this in a cache dir). E.g.:
$ cd ${WORKDIR} $ git clone https://skia.googlesource.com/buildbot.git $ export GOPATH=${HOME}/.cache/gopath/$(basename ${WORKDIR}) $ mkdir $GOPATH $ cd buildbot
Almost all applications are built with Bazel, and bazelisk is the recommended tool to ensure you have the right version of bazel installed:
go install github.com/bazelbuild/bazelisk@latest go install github.com/bazelbuild/buildtools/buildifier@latest go install github.com/kisielk/errcheck@latest go install golang.org/x/tools/cmd/goimports@latest go install github.com/mikefarah/yq/v4@latest go install go.chromium.org/luci/client/cmd/...@latest
sudo apt-get install jq
bazelisk build --config=mayberemote //...
bazelisk test --config=mayberemote //...
To update generated code run the following in any directory:
go generate ./...
Install Cloud SDK.
Use this command to run the presubmit tests:
./run_unittests --small