Skip to content

Bump to v2.7.1 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 95 commits into from
Feb 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
e4222b1
update client-go to v9.0.0 and other k8s deps to v1.12.3
Nov 29, 2018
08d6c83
Merge branch 'master' of https://github.com/prometheus/prometheus int…
Dec 4, 2018
412ca33
update kubernetes deps to v1.13.0
Dec 4, 2018
da69b5a
rebase and resolve merge conflicts
Dec 4, 2018
1fd438e
rebase and resolve merge conflicts
Dec 4, 2018
ba25025
Merge branch 'update_k8s' of github.com:tariq1890/prometheus into upd…
Dec 6, 2018
8264d41
Merge branch 'master' of https://github.com/prometheus/prometheus int…
Dec 6, 2018
fbadd88
Get unique eval times for alert unit tests (#4964)
Dec 18, 2018
240321a
Add taggedAddress to the labels in ConsulSD (#5001)
SamuAlfageme Dec 18, 2018
8fd0c0a
fix typo imeplements -> implements (#4979)
SenXuDC Dec 18, 2018
e8be31e
Fixs typo: 'possibliy' to 'possibly' (#4974)
JoeWrightss Dec 18, 2018
11a93b2
fix link in docs/examples/k8s-rabbitmq readme (#4967)
thomasjfox1 Dec 18, 2018
c96828f
Mention PromQL by name in querying basics doc (#4996)
juliusv Dec 18, 2018
1b166d7
Fix variable 'notifier' collides with imported package name 'github.c…
aixeshunter Dec 18, 2018
a2766a9
cmd/prometheus: add tests for sendAlerts() (#4910)
simonpasquier Dec 18, 2018
d6adfe2
Use a fake SeriesIterator (that generates samples on the fly instead …
free Dec 18, 2018
44bec48
Minor optimization for BufferedSeriesIterator: actually drop the samp…
free Dec 18, 2018
62c8337
Moved configuration into `relabel` package. (#4955)
bwplotka Dec 18, 2018
68f0787
Fix various misspellings of "shepherd" in the release docs (#5006)
juliusv Dec 18, 2018
de6f3b6
expose kubernetes service cluster ip (#4940)
tariq1890 Dec 18, 2018
d55bd57
Makefile.common: fix promu download path for arm32 (#4998)
pgier Dec 18, 2018
b883f68
updating k8s.io/api to v1.13.1
Dec 18, 2018
0d4b6e4
address review comments
Dec 18, 2018
fb8479a
Variable 'labels' collides with imported package name (#5012)
aixeshunter Dec 19, 2018
c7d83b2
discovery: add support for Managed Identity authentication in Azure S…
marratj Dec 19, 2018
1ca7037
the go test -race option is only supported on amd64 (#4382)
pgier Dec 19, 2018
29f21b8
import aliases yaml that can be omitted (#5018)
aixeshunter Dec 20, 2018
5e2f5e4
circleci: add back 'unused' and 'staticcheck' tests (#5021)
simonpasquier Dec 20, 2018
b94eea4
discovery/gce: oauth2.NoContext is deprecated, replace with context.B…
Dec 20, 2018
922c17e
added name label to all discovery metrics (#5002)
qoops-1 Dec 20, 2018
1e4e4c4
Merge branch 'master' of https://github.com/prometheus/prometheus int…
Dec 20, 2018
122b47c
address review comment in client_metrics
Dec 21, 2018
2e725a1
Niptick about relabel config (#4994)
roidelapluie Dec 21, 2018
dbe55c1
Subquery (#4831)
Dec 22, 2018
a15a5a2
Fix Docker Hub markdown link (#5032)
parkr Dec 22, 2018
ad22389
Add ingress in UnmarshalYAML and init (#5035)
MIBc Dec 24, 2018
9f903fb
github.com/cznic/golex has moved to modernc.org/golex (#5034)
aixeshunter Dec 24, 2018
d304269
Update text (#5039)
eyalev Dec 25, 2018
8066327
update inconsistent comment (#5046)
aixeshunter Dec 27, 2018
de213d4
rule manager: Moved metric registration to custom registerer which is…
bwplotka Dec 28, 2018
7d30ccd
Sort samples before comparing - PromQL unit test (#5052)
Dec 31, 2018
6e08029
Move err to be the last return value from storage.Select. (#5054)
tomwilkie Jan 2, 2019
121603c
Expose rules.NewGroupMetrics and rules.Metrics. (#5059)
tomwilkie Jan 3, 2019
7a41038
Add Azure tenant and subscription ID labels
Dec 7, 2018
93d13c5
Sort
Dec 23, 2018
5ddde19
tune the "Wal segment size" with a flag (#5029)
glutamatt Jan 3, 2019
7632e97
Move the build badge to the badge list (#5060)
zhulongcheng Jan 3, 2019
aa94efe
Merge branch 'master' of https://github.com/prometheus/prometheus int…
tariq1890 Jan 3, 2019
9b4a25e
use klog dependency
tariq1890 Jan 3, 2019
b50ea48
Fix typo in comment (#5061)
MIBc Jan 4, 2019
f678e27
*: use latest release of staticcheck (#5057)
simonpasquier Jan 4, 2019
ca93c8e
Merge pull request #4969 from prometheus/azuresubid
fabxc Jan 6, 2019
e9ae0b5
Merge pull request #4927 from tariq1890/update_k8s
brancz Jan 7, 2019
834adc9
Propose myself as the 2.7 shepard
gouthamve Jan 7, 2019
341f04c
Empty slice after last append in promql test LazyLoader
Jan 7, 2019
fae49ab
Merge pull request #5071 from gouthamve/release-2.7-shepard
brancz Jan 7, 2019
d7225ac
Merge pull request #5069 from codesome/bug-5064
beorn7 Jan 8, 2019
d6841c5
Merge branch 'release-2.6'
Jan 8, 2019
305f383
Adjust test_test.go to new Select return order
Jan 8, 2019
8cac9cb
Merge pull request #5081 from prometheus/beorn7/release
beorn7 Jan 8, 2019
43c9d9e
promql: apply golint suggestions (#5066)
mdlayher Jan 8, 2019
b8ede99
Fix comment typo (#5087)
MIBc Jan 9, 2019
7183444
openstack_sd: Supporting application credential for authentication. (…
kmbulebu Jan 9, 2019
fd3ef6b
Add metric rule_group_rules_loaded to get the number of rules loaded …
vn-ki Jan 13, 2019
d9f4a8c
sd: Fix stuck Azure service discovery (#5088)
sylr Jan 14, 2019
9922c35
marathon-sd - use Tasks.Ports instead of PortDefinitions.Ports if Req…
tommarute Jan 14, 2019
edaa483
Update WAL directory structure, and mention that the last three are a…
Daniel15 Jan 15, 2019
375ad11
*: bump gRPC dependencies (#5075)
simonpasquier Jan 15, 2019
b639fe1
*: cut v2.6.1 (#5098)
simonpasquier Jan 15, 2019
5358f76
update remote write path proto so that Labels/Timeseries can't be nil…
cstyan Jan 15, 2019
22a1def
Merge pull request #5099 from prometheus/release-2.6
simonpasquier Jan 16, 2019
45c8b08
fix TestFailedStartupExitCode (#5076)
rleungx Jan 16, 2019
f62fd2b
promql: use subtests in TestLexer
mdlayher Jan 16, 2019
28eff63
pkg/runtime: use panic instead of log.Fatal for system call errors
mdlayher Jan 16, 2019
302148f
*: apply gofmt -s
mdlayher Jan 16, 2019
a68d1f2
Merge pull request #5100 from prometheus/mdl-lexer-subtests
mdlayher Jan 17, 2019
67c43f3
Merge pull request #5101 from prometheus/mdl-no-fatal
mdlayher Jan 17, 2019
c44cd7e
Merge pull request #5102 from prometheus/mdl-gofmt
mdlayher Jan 17, 2019
a1f34be
Added CORS Origin flag (#5011)
geekodour Jan 17, 2019
68e4c21
discovery/azure: more robust handling of go routines (#5106)
simonpasquier Jan 18, 2019
3bd41cc
Udpate tsdb to 0.4 (#5110)
krasi-georgiev Jan 18, 2019
384cba1
Add flag for size based retention (#5109)
gouthamve Jan 18, 2019
4068968
Protect retention from overflowing (#5112)
gouthamve Jan 18, 2019
24f19f0
*: cut 2.7.0-rc.0 (#5114)
gouthamve Jan 18, 2019
9c4e258
corrected regex string check for anyorigin(*) (#5117)
geekodour Jan 21, 2019
4e83f91
Rollback Dockerfile to version @ 2.5.x (#5122)
gouthamve Jan 21, 2019
b454ed3
*: cut 2.7.0-rc.1 (#5123)
gouthamve Jan 21, 2019
7f7b211
*: cut 2.7.0-rc.2 (#5134)
gouthamve Jan 24, 2019
410ee9e
*: cut 2.7.0 (#5141)
gouthamve Jan 28, 2019
787eb1e
Set rule_group_last_duration_seconds to seconds (#5153)
Jan 31, 2019
10ae00a
Fix bug from #4898 (#5161)
Jan 31, 2019
b03d6f6
Remove custom highlight code, it's not needed. (#5163)
gouthamve Jan 31, 2019
62e591f
*: cut 2.7.1 (#5164)
gouthamve Jan 31, 2019
4fb579b
Merge tag 'v2.7.1' into aos-bump-v2.7.1
simonpasquier Jan 31, 2019
077967e
Update spec file and Dockerfiles
simonpasquier Jan 31, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ executors:
jobs:
test:
executor: golang
resource_class: large

steps:
- checkout
- run: make promu
# 'unused' and 'staticcheck' are skipped because 'go mod tidy' gives different results for Go1.11.3 and Go 1.11.4.
# They should be added back once CircleCI updates to 1.11.4.
- run: make check_license style build check_assets
- run: make check_license style unused staticcheck build check_assets
- run:
command: |
curl -s -L https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip > /tmp/protoc.zip
unzip -d /tmp /tmp/protoc.zip
chmod +x /tmp/bin/protoc
echo 'export PATH=/tmp/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
make proto
- run: git diff --exit-code
- store_artifacts:
path: prometheus
Expand Down
37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,48 @@
## 2.7.1 / 2019-01-31

This release has a fix for a Stored DOM XSS vulnerability that can be triggered when using the query history functionality. Thanks to Dor Tumarkin from Checkmarx for reporting it.

* [BUGFIX/SECURITY] Fix a Stored DOM XSS vulnerability with query history. #5163
* [BUGFIX] `prometheus_rule_group_last_duration_seconds` now reports seconds instead of nanoseconds. #5153
* [BUGFIX] Make sure the targets are consistently sorted in the targets page. #5161

## 2.7.0 / 2019-01-28

We're rolling back the Dockerfile changes introduced in 2.6.0. If you made changes to your docker deployment in 2.6.0, you will need to roll them back. This release also adds experimental support for disk size based retention. To accomodate that we are deprecating the flag `storage.tsdb.retention` in favour of `storage.tsdb.retention.time`. We print a warning if the flag is in use, but it will function without breaking until Prometheus 3.0.

* [CHANGE] Rollback Dockerfile to version at 2.5.0. Rollback of the breaking change introduced in 2.6.0. #5122
* [FEATURE] Add subqueries to PromQL. #4831
* [FEATURE] [EXPERIMENTAL] Add support for disk size based retention. Note that we don't consider the WAL size which could be significant and the time based retention policy also applies. #5109 prometheus/tsdb#343
* [FEATURE] Add CORS origin flag. #5011
* [ENHANCEMENT] Consul SD: Add tagged address to the discovery metadata. #5001
* [ENHANCEMENT] Kubernetes SD: Add service external IP and external name to the discovery metadata. #4940
* [ENHANCEMENT] Azure SD: Add support for Managed Identity authentication. #4590
* [ENHANCEMENT] Azure SD: Add tenant and subscription IDs to the discovery metadata. #4969
* [ENHANCEMENT] OpenStack SD: Add support for application credentials based authentication. #4968
* [ENHANCEMENT] Add metric for number of rule groups loaded. #5090
* [BUGFIX] Avoid duplicate tests for alert unit tests. #4964
* [BUGFIX] Don't depend on given order when comparing samples in alert unit testing. #5049
* [BUGFIX] Make sure the retention period doesn't overflow. #5112
* [BUGFIX] Make sure the blocks don't get very large. #5112
* [BUGFIX] Don't generate blocks with no samples. prometheus/tsdb#374
* [BUGFIX] Reintroduce metric for WAL corruptions. prometheus/tsdb#473

## 2.6.1 / 2019-01-15

* [BUGFIX] Azure SD: Fix discovery getting stuck sometimes. #5088
* [BUGFIX] Marathon SD: Use `Tasks.Ports` when `RequirePorts` is `false`. #5026
* [BUGFIX] Promtool: Fix "out-of-order sample" errors when testing rules. #5069

## 2.6.0 / 2018-12-17

* [CHANGE] Remove default flags from the container's entrypoint, run Prometheus from `/etc/prometheus` and symlink the storage directory to `/etc/prometheus/data`. #4976
* [CHANGE] Promtool: Remove the `update` command. #3839
* [FEATURE] Add JSON log format via the `--log.format` flag. #4876
* [FEATURE] API: Add /api/v1/labels endpoint to get all label names. #4835
* [FEATURE] Web: Allow setting the page's title via the `--web.ui-title` flag. #4841
* [ENHANCEMENT] Add `prometheus_tsdb_lowest_timestamp_seconds`, `prometheus_tsdb_head_min_time_seconds` and `prometheus_tsdb_head_max_time_seconds` metrics. #4888
* [ENHANCEMENT] Add `rule_group_last_evaluation_timestamp_seconds` metric. #4852
* [ENHANCEMENT] Add `prometheus_template_text_expansion_failures_total` and `prometheus_template_text_expansions_total` metrics. #4747
* [ENHANCEMENT] Remove default flags from the container's entrypoint. #4976
* [ENHANCEMENT] Set consistent User-Agent header in outgoing requests. #4891
* [ENHANCEMENT] Azure SD: Error out at load time when authentication parameters are missing. #4907
* [ENHANCEMENT] EC2 SD: Add the machine's private DNS name to the discovery metadata. #4693
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL io.k8s.display-name="OpenShift Prometheus" \
io.k8s.description="The Prometheus monitoring system and time series database." \
io.openshift.tags="prometheus,monitoring" \
maintainer="The Prometheus Authors <[email protected]>" \
version="v2.6.0"
version="v2.7.1"

ARG FROM_DIRECTORY=/go/src/github.com/prometheus/prometheus
COPY --from=builder ${FROM_DIRECTORY}/prometheus /bin/prometheus
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LABEL io.k8s.display-name="OpenShift Prometheus" \
io.k8s.description="The Prometheus monitoring system and time series database." \
io.openshift.tags="prometheus,monitoring" \
maintainer="OpenShift Development <[email protected]>" \
version="v2.6.0"
version="v2.7.1"

ARG FROM_DIRECTORY=/go/src/github.com/prometheus/prometheus
COPY --from=builder ${FROM_DIRECTORY}/prometheus /bin/prometheus
Expand Down
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@
include Makefile.common

STATICCHECK_IGNORE = \
github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:SA1019 \
github.com/prometheus/prometheus/discovery/kubernetes/node.go:SA1019 \
github.com/prometheus/prometheus/documentation/examples/remote_storage/remote_storage_adapter/main.go:SA1019 \
github.com/prometheus/prometheus/pkg/textparse/promlex.l.go:SA4006 \
github.com/prometheus/prometheus/pkg/textparse/openmetricslex.l.go:SA4006 \
github.com/prometheus/prometheus/pkg/pool/pool.go:SA6002 \
github.com/prometheus/prometheus/promql/engine.go:SA6002 \
github.com/prometheus/prometheus/prompb/rpc.pb.gw.go:SA1019
github.com/prometheus/prometheus/pkg/textparse/openmetricslex.l.go:SA4006

DOCKER_IMAGE_NAME ?= prometheus

Expand Down
43 changes: 25 additions & 18 deletions Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ GO ?= go
GOFMT ?= $(GO)fmt
FIRST_GOPATH := $(firstword $(subst :, ,$(shell $(GO) env GOPATH)))
GOOPTS ?=
GOHOSTOS ?= $(shell $(GO) env GOHOSTOS)
GOHOSTARCH ?= $(shell $(GO) env GOHOSTARCH)

GO_VERSION ?= $(shell $(GO) version)
GO_VERSION_NUMBER ?= $(word 3, $(GO_VERSION))
Expand Down Expand Up @@ -66,17 +68,30 @@ endif
STATICCHECK := $(FIRST_GOPATH)/bin/staticcheck
pkgs = ./...

GO_VERSION ?= $(shell $(GO) version)
GO_BUILD_PLATFORM ?= $(subst /,-,$(lastword $(GO_VERSION)))
ifeq (arm, $(GOHOSTARCH))
GOHOSTARM ?= $(shell GOARM= $(GO) env GOARM)
GO_BUILD_PLATFORM ?= $(GOHOSTOS)-$(GOHOSTARCH)v$(GOHOSTARM)
else
GO_BUILD_PLATFORM ?= $(GOHOSTOS)-$(GOHOSTARCH)
endif

PROMU_VERSION ?= 0.2.0
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
STATICCHECK_VERSION ?= 2019.1
STATICCHECK_URL := https://github.com/dominikh/go-tools/releases/download/$(STATICCHECK_VERSION)/staticcheck_$(GOHOSTOS)_$(GOHOSTARCH)

PREFIX ?= $(shell pwd)
BIN_DIR ?= $(shell pwd)
DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD))
DOCKER_REPO ?= prom

ifeq ($(GOHOSTARCH),amd64)
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux freebsd darwin windows))
# Only supported on amd64
test-flags := -race
endif
endif

.PHONY: all
all: precheck style staticcheck unused build test

Expand Down Expand Up @@ -114,7 +129,7 @@ common-test-short:
.PHONY: common-test
common-test:
@echo ">> running all tests"
GO111MODULE=$(GO111MODULE) $(GO) test -race $(GOOPTS) $(pkgs)
GO111MODULE=$(GO111MODULE) $(GO) test $(test-flags) $(GOOPTS) $(pkgs)

.PHONY: common-format
common-format:
Expand All @@ -129,8 +144,12 @@ common-vet:
.PHONY: common-staticcheck
common-staticcheck: $(STATICCHECK)
@echo ">> running staticcheck"
chmod +x $(STATICCHECK)
ifdef GO111MODULE
GO111MODULE=$(GO111MODULE) $(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" -checks "SA*" $(pkgs)
# 'go list' needs to be executed before staticcheck to prepopulate the modules cache.
# Otherwise staticcheck might fail randomly for some reason not yet explained.
GO111MODULE=$(GO111MODULE) $(GO) list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null
GO111MODULE=$(GO111MODULE) $(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" $(pkgs)
else
$(STATICCHECK) -ignore "$(STATICCHECK_IGNORE)" $(pkgs)
endif
Expand Down Expand Up @@ -196,21 +215,9 @@ proto:
@echo ">> generating code from proto files"
@./scripts/genproto.sh

.PHONY: $(STATICCHECK)
$(STATICCHECK):
ifdef GO111MODULE
# Get staticcheck from a temporary directory to avoid modifying the local go.{mod,sum}.
# See https://github.com/golang/go/issues/27643.
# For now, we are using the next branch of staticcheck because master isn't compatible yet with Go modules.
tmpModule=$$(mktemp -d 2>&1) && \
mkdir -p $${tmpModule}/staticcheck && \
cd "$${tmpModule}"/staticcheck && \
GO111MODULE=on $(GO) mod init example.com/staticcheck && \
GO111MODULE=on GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck@next && \
rm -rf $${tmpModule};
else
GOOS= GOARCH= GO111MODULE=off $(GO) get -u honnef.co/go/tools/cmd/staticcheck
endif
mkdir -p $(FIRST_GOPATH)/bin
curl -s -L $(STATICCHECK_URL) > $(STATICCHECK)

ifdef GOVENDOR
.PHONY: $(GOVENDOR)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Prometheus [![Build Status](https://travis-ci.org/prometheus/prometheus.svg)][travis]
# Prometheus

[![Build Status](https://travis-ci.org/prometheus/prometheus.svg)][travis]
[![CircleCI](https://circleci.com/gh/prometheus/prometheus/tree/master.svg?style=shield)][circleci]
[![Docker Repository on Quay](https://quay.io/repository/prometheus/prometheus/status)][quay]
[![Docker Pulls](https://img.shields.io/docker/pulls/prom/prometheus.svg?maxAge=604800)][hub]
Expand Down
16 changes: 9 additions & 7 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
# Releases

This page describes the release process and the currently planned schedule for upcoming releases as well as the respective release schepherds. Release shepards are chosen on a voluntary basis.
This page describes the release process and the currently planned schedule for upcoming releases as well as the respective release shepherd. Release shepherd are chosen on a voluntary basis.

## Release schedule

Release cadence of first pre-releases being cut is 6 weeks.

| release series | date of first pre-release (year-month-day) | release shepard |
| release series | date of first pre-release (year-month-day) | release shepherd |
|----------------|--------------------------------------------|---------------------------------------------|
| v2.4 | 2018-09-06 | Goutham Veeramachaneni (GitHub: @gouthamve) |
| v2.5 | 2018-10-24 | Frederic Branczyk (GitHub: @brancz) |
| v2.6 | 2018-12-05 | Simon Pasquier (GitHub: @simonpasquier) |
| v2.7 | 2019-01-16 | **searching for volunteer** |
| v2.7 | 2019-01-16 | Goutham Veeramachaneni (GitHub: @gouthamve) |
| v2.8 | 2019-02-27 | **searching for volunteer** |
| v2.9 | 2019-04-10 | **searching for volunteer** |

If you are interested in volunteering please create a pull request against the [prometheus/prometheus](https://github.com/prometheus/prometheus) repository and propose yourself for the release series of your choice.

## Release shepard responsibilities
## Release shepherd responsibilities

The release shepard is responsible for the entire release series of a minor release, meaning all pre- and patch releases of a minor release. The process starts with the initial pre-release.
The release shepherd is responsible for the entire release series of a minor release, meaning all pre- and patch releases of a minor release. The process starts with the initial pre-release.

* The first pre-release is scheduled according to the above schedule.
* With the pre-release the release shepard is responsible for running and monitoring a benchmark run of the pre-release for 3 days, after which, if successful, the pre-release is promoted to a stable release.
* With the pre-release the release shepherd is responsible for running and monitoring a benchmark run of the pre-release for 3 days, after which, if successful, the pre-release is promoted to a stable release.
* Once a pre-release has been released, the `master` branch of the repository is frozen for any feature work, only critical bug fix work concerning the minor release is merged.
* Pre-releases are done from `master`, after pre-releases are promoted to the stable release a `release-major.minor` branch is created.

Expand All @@ -36,7 +38,7 @@ We use [Semantic Versioning](http://semver.org/).

We maintain a separate branch for each minor release, named `release-<major>.<minor>`, e.g. `release-1.1`, `release-2.0`.

The usual flow is to merge new features and changes into the master branch and to merge bug fixes into the latest release branch. Bug fixes are then merged into master from the latest release branch. The master branch should always contain all commits from the latest release branch. Whether merging master back into a release branch makes more sense is left up to the shepard's judgement.
The usual flow is to merge new features and changes into the master branch and to merge bug fixes into the latest release branch. Bug fixes are then merged into master from the latest release branch. The master branch should always contain all commits from the latest release branch. Whether merging master back into a release branch makes more sense is left up to the shepherd's judgement.

If a bug fix got accidentally merged into master, cherry-pick commits have to be created in the latest release branch, which then have to be merged back into master. Try to avoid that situation.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.0
2.7.1
Loading