- Update HISTORY.rst
- Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
| Traceback (most recent call last): | |
| File "/home/clodo/Projects/Bridge/internal-reporting-dashboard/venv/local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app | |
| response = self.full_dispatch_request() | |
| File "/home/clodo/Projects/Bridge/internal-reporting-dashboard/venv/local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request | |
| rv = self.handle_user_exception(e) | |
| File "/home/clodo/Projects/Bridge/internal-reporting-dashboard/venv/local/lib/python2.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function | |
| return cors_after_request(app.make_response(f(*args, **kwargs))) | |
| File "/home/clodo/Projects/Bridge/internal-reporting-dashboard/venv/local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception | |
| reraise(exc_type, exc_value, tb) | |
| File "/home/clodo/Projects/Bridge/internal-reporting-dashboard/venv/local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request |
| #!/usr/bin/env bash | |
| # Shell prompt based on the Solarized Dark theme. | |
| # Screenshot: http://i.imgur.com/EkEtphC.png | |
| # Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles | |
| # iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing. | |
| if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
| export TERM='gnome-256color'; | |
| elif infocmp xterm-256color >/dev/null 2>&1; then |
| # BASH | |
| # List used ports | |
| $ sudo netstat -nplut | |
| # Alembic | |
| $ PYTHONPATH=.. alembic upgrade head | |
| $ PYTHONPATH=.. alembic downgrade -1 | |
| $ PYTHONPATH=.. alembic revision --autogenerate -m "Migration comment" | |
| $ PYTHONPATH=.. alembic history |
| { | |
| "links": [{ | |
| "url": "http:\/\/img.subscriptionmarketingadv.com\/greens_03272018\/images\/Updated-GGSFS_Email_2018_webUPDATE-(1).jpg", | |
| "type": "img", | |
| "redirects": [], | |
| "status": 200, | |
| "mime": "image\/jpeg", | |
| "warning": false, | |
| "alt": "", | |
| "error": false |
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
| class InvalidEventTypeError(Exception): | |
| def __init__(self, message): | |
| self.message = message | |
| class Event: | |
| def __init__(self, type, auction_id): | |
| self.type = type | |
| self.auction_id = auction_id |
| # Delete every Docker containers | |
| # Must be run first because images are attached to containers | |
| docker rm -f $(docker ps -a -q) | |
| # Delete every Docker image | |
| docker rmi -f $(docker images -q) |
| cd | |
| git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
| echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
| exec $SHELL | |
| git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |
| echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc | |
| exec $SHELL |
| [ | |
| { | |
| "ad": { | |
| "ad_id": "ad_id", | |
| "ad_system_type": "Acudeo Compatible", | |
| "ad_system_version": "ad_system_version", | |
| "ad_title": "Ad Title", | |
| "description": "Ad Description", | |
| "error_uri": "http://creatives.example.com/videoAds/error", | |
| "extensions": [ |
| { | |
| "objects": [ | |
| { | |
| "ad": { | |
| "ad_id": "601364", | |
| "ad_system_type": "Acudeo Compatible", | |
| "ad_system_version": null, | |
| "ad_title": "VAST 2.0 Instream Test 1", | |
| "description": "VAST 2.0 Instream Test 1", | |
| "error_uri": "http://myErrorURL/error", |