Skip to content

Commit

Permalink
Merge pull request #1613 from jmchilton/release_process
Browse files Browse the repository at this point in the history
Work toward automating release management.
  • Loading branch information
martenson committed Mar 22, 2016
2 parents 4bf8adb + eee044a commit 67b7294
Show file tree
Hide file tree
Showing 3 changed files with 348 additions and 84 deletions.
46 changes: 45 additions & 1 deletion Makefile
Expand Up @@ -5,11 +5,55 @@ RELEASE_NEXT:=16.04
#RELEASE_NEXT_BRANCH:=release_$(RELEASE_NEXT)
RELEASE_NEXT_BRANCH:=dev
RELEASE_UPSTREAM:=upstream
# Location of virtualenv used for development.
VENV?=.venv
# Source virtualenv to execute command (flake8, sphinx, twine, etc...)
IN_VENV=if [ -f $(VENV)/bin/activate ]; then . $(VENV)/bin/activate; fi;
PROJECT_URL?=https://github.com/galaxyproject/galaxy
GRUNT_DOCKER_NAME:=galaxy/client-builder:16.01

all: help
@echo "This makefile is primarily used for building Galaxy's JS client. A sensible all target is not yet implemented."

help:
@echo "client - rebuild all client artifacts"
@echo "docs - generate Sphinx HTML documentation, including API docs"
@echo "open-docs - generate Sphinx HTML documentation and open in browser"
@echo "open-project - open project on github"
@echo "lint - check style using tox and flake8 for Python 2 and Python 3"
@echo "release-check-metadata - check github PR metadata for target release"
@echo "release-bootstrap-history - bootstrap history for a new release"

docs:
$(IN_VENV) $(MAKE) -C docs clean
$(IN_VENV) $(MAKE) -C docs html

_open-docs:
open docs/_build/html/index.html || xdg-open docs/_build/html/index.html

open-docs: docs _open-docs

open-project:
open $(PROJECT_URL) || xdg-open $(PROJECT_URL)

lint:
$(IN_VENV) tox -e py27-lint && tox -e py34-lint

release-issue:
$(IN_VENV) python scripts/bootstrap_history.py --create-release-issue $(RELEASE_CURR)

release-check-metadata:
$(IN_VENV) python scripts/bootstrap_history.py --check-release $(RELEASE_CURR)

release-check-blocking-issues:
$(IN_VENV) python scripts/bootstrap_history.py --check-blocking-issues $(RELEASE_CURR)

release-check-blocking-prs:
$(IN_VENV) python scripts/bootstrap_history.py --check-blocking-prs $(RELEASE_CURR)

release-bootstrap-history:
$(IN_VENV) python scripts/bootstrap_history.py --release $(RELEASE_CURR)

npm-deps:
cd client && npm install

Expand All @@ -35,7 +79,7 @@ clean-grunt-docker-image: ## Remove grunt docker image


# Release Targets
create_release_rc: ## Create a release-candidate branch
release-create-rc: ## Create a release-candidate branch
git checkout dev
git pull --ff-only ${RELEASE_UPSTREAM} dev
git push origin dev
Expand Down
2 changes: 2 additions & 0 deletions doc/source/releases/index.rst
Expand Up @@ -4,6 +4,8 @@ Releases
.. toctree::
:maxdepth: 1

.. annoucements
16.04_announce
16.01_announce
15.10_announce
15.07_announce
Expand Down

0 comments on commit 67b7294

Please sign in to comment.