Skip to content

Commit

Permalink
[CE-118] Added Changelog Script
Browse files Browse the repository at this point in the history
* Added script to create changelog from all commits right now
* Integrated changelog.sh into the makefile so that make changelog can
be executed
* Created Changelog.md and added it to the root folder

Change-Id: I789a48272d1ebf7d2b497389089445053a813bc1
Signed-off-by: david_dornseifer <david.paul.dornseifer@sap.com>
  • Loading branch information
david_dornseifer committed Oct 5, 2017
1 parent e557369 commit 0100890
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 0 deletions.
126 changes: 126 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
## HEAD\nWed Oct 4 20:41:18 PDT 2017

* [794ecdd](https://github.com/hyperledger/fabric/commit/794ecdd) [CE-118] Added Changelog Script
* [fbd8b5b](https://github.com/hyperledger/fabric/commit/fbd8b5b) CE-108][CE-126][CE-125][CE-129][CE-130] vSphere Agent.
* [2905dcc](https://github.com/hyperledger/fabric/commit/2905dcc) [CE-147] Add cluster management for vue
* [41a7a30](https://github.com/hyperledger/fabric/commit/41a7a30) [CE-146] Add host management page
* [9ea866c](https://github.com/hyperledger/fabric/commit/9ea866c) [CE-144] Support user management in vue
* [93429cd](https://github.com/hyperledger/fabric/commit/93429cd) [CE-145] Fix documentation structure and links
* [081641f](https://github.com/hyperledger/fabric/commit/081641f) [CE-143] Initial vue theme template
* [9c032dd](https://github.com/hyperledger/fabric/commit/9c032dd) [CE-121] [CE-122] [CE-123] vSphere agent driver code.
* [8f832c5](https://github.com/hyperledger/fabric/commit/8f832c5) [CE-134][CE-133][CE-120] Use fabric ca services
* [d7f2ba1](https://github.com/hyperledger/fabric/commit/d7f2ba1) [CE-119] Fix fail to create swarm worker node
* [97a6ff8](https://github.com/hyperledger/fabric/commit/97a6ff8) [CE-140] Update doc for installation and dev
* [510808c](https://github.com/hyperledger/fabric/commit/510808c) [CE-119] Fix fail to create swarm worker node
* [4abb486](https://github.com/hyperledger/fabric/commit/4abb486) [CE-135] Initialize the vSphere agent
* [3f578c0](https://github.com/hyperledger/fabric/commit/3f578c0) [CE-132][CE-133]Fixed clean up left overs
* [da4f998](https://github.com/hyperledger/fabric/commit/da4f998) [CE-120] make tls enablement configuration for ansible
* [8af2b52](https://github.com/hyperledger/fabric/commit/8af2b52) Provided ansible running configuration files
* [f380987](https://github.com/hyperledger/fabric/commit/f380987) [CE-116] Enable user profile get/update
* [ee4ca22](https://github.com/hyperledger/fabric/commit/ee4ca22) [CE-96] Debugging Scripts and manifests
* [147f223](https://github.com/hyperledger/fabric/commit/147f223) [CE-115] Refine user auth api code structure
* [ffa7404](https://github.com/hyperledger/fabric/commit/ffa7404) [CE-114] Add test case for user management module
* [b048138](https://github.com/hyperledger/fabric/commit/b048138) [CE-112] Refine code structure for user module
* [e7ea324](https://github.com/hyperledger/fabric/commit/e7ea324) [CE-95] Added ansible fabric deploy to cello
* [b9ee96c](https://github.com/hyperledger/fabric/commit/b9ee96c) [CE-105] Add user login support for user dashboard
* [6991d68](https://github.com/hyperledger/fabric/commit/6991d68) [CE-56] Change stat page use echarts
* [4625258](https://github.com/hyperledger/fabric/commit/4625258) [CE-102] Support create/update/delete user for admin
* [ab58e72](https://github.com/hyperledger/fabric/commit/ab58e72) [CE-71] Add login support for basic theme
* [cac5ca7](https://github.com/hyperledger/fabric/commit/cac5ca7) [CE-100] Fix broken links in some docs
* [01175c9](https://github.com/hyperledger/fabric/commit/01175c9) [CE-75] Few Bugs fixed in K8s manifests
* [cc0f8f9](https://github.com/hyperledger/fabric/commit/cc0f8f9) [CE-93] Add details on the installation doc
* [915b020](https://github.com/hyperledger/fabric/commit/915b020) [CE-94] Modify fabric-tools image
* [ce4c1e9](https://github.com/hyperledger/fabric/commit/ce4c1e9) [CE-92]Fixed a broken link [ci-skip]
* [2b224d8](https://github.com/hyperledger/fabric/commit/2b224d8) [CE-90] Worker peer and orderer restart fix
* [558b35e](https://github.com/hyperledger/fabric/commit/558b35e) [CE-65] Add MIT header
* [b564c9b](https://github.com/hyperledger/fabric/commit/b564c9b) [CE-83] Modify workernode fabric image tags to 1.0.0
* [9f67961](https://github.com/hyperledger/fabric/commit/9f67961) [CE-87] Disable login checking for basic theme
* [affbdad](https://github.com/hyperledger/fabric/commit/affbdad) [CE-85] Fix setup scripts and docs
* [6b7c059](https://github.com/hyperledger/fabric/commit/6b7c059) [CE-82] Fix fabric 1.0 support bugs
* [586d372](https://github.com/hyperledger/fabric/commit/586d372) [CE-81] Update doc and add mkdocs.yml
* [dc0f6d5](https://github.com/hyperledger/fabric/commit/dc0f6d5) [CE-80] Fix docker/swarm detection
* [675be3a](https://github.com/hyperledger/fabric/commit/675be3a) [CE-72]Added K8s Manifests for Fabric-1.0
* [19d1f2b](https://github.com/hyperledger/fabric/commit/19d1f2b) [CE-71] Add user authentication for react theme #close
* [bc51f1f](https://github.com/hyperledger/fabric/commit/bc51f1f) [CE-79] Update doc structure
* [274bee8](https://github.com/hyperledger/fabric/commit/274bee8) [CE-78] Support fabric 1.0 start and stop
* [3a5c642](https://github.com/hyperledger/fabric/commit/3a5c642) [CE-77] Fix cluster stop/start/restart operation
* [4ef1854](https://github.com/hyperledger/fabric/commit/4ef1854) [CE-70] #close Fixed background service bug
* [bc94641](https://github.com/hyperledger/fabric/commit/bc94641) [CE-64] Fix fabric images tag
* [7863411](https://github.com/hyperledger/fabric/commit/7863411) [CE-73] Specify supported Docker version
* [269c7e2](https://github.com/hyperledger/fabric/commit/269c7e2) [CE-69] Let network config support more types
* [94ac399](https://github.com/hyperledger/fabric/commit/94ac399) [CE-63] Update fabric-1.0 compose file
* [8f3a042](https://github.com/hyperledger/fabric/commit/8f3a042) [CE-35] #time 3h 13m #comment Auto build for react
* [2296645](https://github.com/hyperledger/fabric/commit/2296645) [CE-68] Init the agent module for k8s-operator
* [df3c834](https://github.com/hyperledger/fabric/commit/df3c834) [CE-61] Add docker image pull script
* [d2a2556](https://github.com/hyperledger/fabric/commit/d2a2556) [CE-65] Add missing license head for userdashboard
* [77d0b0b](https://github.com/hyperledger/fabric/commit/77d0b0b) [CE-58] Add license header for src folder
* [f3741a0](https://github.com/hyperledger/fabric/commit/f3741a0) [CE-60] Fix empty line in README
* [f137fe3](https://github.com/hyperledger/fabric/commit/f137fe3) [CE-62] Add network and network_config module

## v0.6\nWed Oct 4 20:41:18 PDT 2017

* [c0c307b](https://github.com/hyperledger/fabric/commit/c0c307b) [CE-57] Add license header
* [83b460d](https://github.com/hyperledger/fabric/commit/83b460d) [CE-45] Add new logo file Add a new style logo file
* [b496549](https://github.com/hyperledger/fabric/commit/b496549) [CE-55] Update the documentations
* [e11a7cc](https://github.com/hyperledger/fabric/commit/e11a7cc) [CE-33] add document and Dockerfile for user dashboard
* [4b85887](https://github.com/hyperledger/fabric/commit/4b85887) [CE-4] Support fabric 1.0
* [208c470](https://github.com/hyperledger/fabric/commit/208c470) [CE-49] Adapt setup script to multiple linux distros
* [f2fd343](https://github.com/hyperledger/fabric/commit/f2fd343) [CE-41] Swarm detection for latest docker version
* [7758c75](https://github.com/hyperledger/fabric/commit/7758c75) [CE-48] Add store statement for user dashboard
* [56edb7b](https://github.com/hyperledger/fabric/commit/56edb7b) [CE-46] Added changes to install.md
* [da38561](https://github.com/hyperledger/fabric/commit/da38561) [CE-44] Add analytics functions for user dashboard
* [824c369](https://github.com/hyperledger/fabric/commit/824c369) [CE-43] Fix broken doc links
* [d5abd13](https://github.com/hyperledger/fabric/commit/d5abd13) [CE-42] Docker Service file location is updated
* [0aabffd](https://github.com/hyperledger/fabric/commit/0aabffd) [CE-38] Add chain detail functions for user dashboard
* [5e1b189](https://github.com/hyperledger/fabric/commit/5e1b189) [CE-18] Add new svg format logo
* [92e9272](https://github.com/hyperledger/fabric/commit/92e9272) [CE-37] Few typographical errors `fixed in README.md
* [64b7566](https://github.com/hyperledger/fabric/commit/64b7566) [CE-36] Add smart contract functions for user dashboard
* [8b859ac](https://github.com/hyperledger/fabric/commit/8b859ac) [CE-35] Add filter for chains
* [a8455eb](https://github.com/hyperledger/fabric/commit/a8455eb) [CE-34] Add chain CRUD functions
* [62dc532](https://github.com/hyperledger/fabric/commit/62dc532) Add create cluster support in react theme
* [751f259](https://github.com/hyperledger/fabric/commit/751f259) [CE-31] add home page of user dashboard
* [abf6fe8](https://github.com/hyperledger/fabric/commit/abf6fe8) [CE-30] init expressJS and add index page
* [cecc380](https://github.com/hyperledger/fabric/commit/cecc380) [CE-28] Add fabric v1.0 support docker-compose file
* [6b487cb](https://github.com/hyperledger/fabric/commit/6b487cb) A logo in svg format-Suggest modifications
* [8e49b2a](https://github.com/hyperledger/fabric/commit/8e49b2a) A new logo built with Inkspace
* [4c71788](https://github.com/hyperledger/fabric/commit/4c71788) Logo 2 for cello-Suggest changes to be made
* [6c1055e](https://github.com/hyperledger/fabric/commit/6c1055e) logo for cello CE-18
* [380726e](https://github.com/hyperledger/fabric/commit/380726e) Added /docs/monitoring.md file
* [ba103c2](https://github.com/hyperledger/fabric/commit/ba103c2) [CE-26] Update the contribution documentation
* [b3d4986](https://github.com/hyperledger/fabric/commit/b3d4986) Add host operation fillup/clean/reset
* [453389c](https://github.com/hyperledger/fabric/commit/453389c) Add update host support in react theme
* [17f9c82](https://github.com/hyperledger/fabric/commit/17f9c82) Add host add&delete in host view
* [b8d4afd](https://github.com/hyperledger/fabric/commit/b8d4afd) Refine react code structure
* [4778966](https://github.com/hyperledger/fabric/commit/4778966) Fix sed command error in Mac OS
* [0de60fa](https://github.com/hyperledger/fabric/commit/0de60fa) Updated docs -AWS install
* [3a6c9a3](https://github.com/hyperledger/fabric/commit/3a6c9a3) Cello setup using AWS EC2 instances
* [b7c72e3](https://github.com/hyperledger/fabric/commit/b7c72e3) Split the agent code and the orchestration code
* [0353ed4](https://github.com/hyperledger/fabric/commit/0353ed4) [Cello-22] Add missing files
* [a447c81](https://github.com/hyperledger/fabric/commit/a447c81) Fix for broken links in docs/index.md;
* [ba2941b](https://github.com/hyperledger/fabric/commit/ba2941b) Add hosts table view
* [143912f](https://github.com/hyperledger/fabric/commit/143912f) Add more documentation
* [d47ad57](https://github.com/hyperledger/fabric/commit/d47ad57) Update the documentation
* [968cdbb](https://github.com/hyperledger/fabric/commit/968cdbb) Fix overview chart update fail.
* [1d9626c](https://github.com/hyperledger/fabric/commit/1d9626c) A slight change in docs, the URI of cello repository.
* [83b0a2d](https://github.com/hyperledger/fabric/commit/83b0a2d) Add overview chart for react theme
* [81abd09](https://github.com/hyperledger/fabric/commit/81abd09) Fix the missing local compose template files
* [9266d1e](https://github.com/hyperledger/fabric/commit/9266d1e) Update docs slack->chat
* [7d4f808](https://github.com/hyperledger/fabric/commit/7d4f808) Add the docs/index.md
* [6c8f0be](https://github.com/hyperledger/fabric/commit/6c8f0be) Add version range for pip dependencies
* [661c9b1](https://github.com/hyperledger/fabric/commit/661c9b1) Revert "RedHat Fedora - 25"
* [37b5793](https://github.com/hyperledger/fabric/commit/37b5793) FIX #CE-11
* [a934c25](https://github.com/hyperledger/fabric/commit/a934c25) Fix the make restart cmd
* [5212349](https://github.com/hyperledger/fabric/commit/5212349) Fix typo
* [8627fb7](https://github.com/hyperledger/fabric/commit/8627fb7) RedHat Fedora - 25
* [02e3796](https://github.com/hyperledger/fabric/commit/02e3796) Fix check problem
* [126412d](https://github.com/hyperledger/fabric/commit/126412d) Related to #CE-9
* [9f40df5](https://github.com/hyperledger/fabric/commit/9f40df5) Update scenario doc
* [7f3682e](https://github.com/hyperledger/fabric/commit/7f3682e) Support multi themes
* [c8672b5](https://github.com/hyperledger/fabric/commit/c8672b5) Add make help for Makefile
* [271038d](https://github.com/hyperledger/fabric/commit/271038d) Add scripts directory
* [03406ea](https://github.com/hyperledger/fabric/commit/03406ea) Rewrite docs.
* [0cd481e](https://github.com/hyperledger/fabric/commit/0cd481e) Add contribution doc.
* [6cd660e](https://github.com/hyperledger/fabric/commit/6cd660e) Import existing code
* [b9d0399](https://github.com/hyperledger/fabric/commit/b9d0399) Add temp files for macos and nodejs into gitignore
* [7271a4e](https://github.com/hyperledger/fabric/commit/7271a4e) Init repo

12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ else
START_OPTIONS = initial-env
endif

# changelog specific version tags
PREV_VERSION=0.6
BASE_VERSION=

.PHONY: \
all \ # default to run check
check \ # ci checking
clean \ # clean up the env, remove temp files
changelog \ # update the changelog based on the VERSION tags
doc \ # start a doc server locally
image-clean \ # clean up all cello related images
log \ # show logs of specify service
Expand All @@ -71,6 +76,13 @@ clean: ##@Code Clean tox result
rm -rf .tox .cache *.egg-info
find . -name "*.pyc" -o -name "__pycache__" -exec rm -rf "{}" \;

# TODO (david_dornseier): As long as there are no release versions, always rewrite
# the entire changelog (bug)
changelog: ##@Update the changelog.md file in the root folder
rm -rf CHANGELOG.md
bash scripts/changelog.sh bd0c6db v$(PREV_VERSION)
bash scripts/changelog.sh v$(PREV_VERSION) HEAD

doc: ##@Create local online documentation
pip install mkdocs
mkdocs serve
Expand Down
16 changes: 16 additions & 0 deletions scripts/changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
#
# Copyright 2009-2017 SAP SE or an SAP affiliate company.
# All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

# TODO (david_dornseifer): To make the script ready for release versions, git log $1..$2 has to be replaced
# by git log $1..HEAD (bug)
echo "## $2\n$(date)" >> CHANGELOG.new
echo "" >> CHANGELOG.new
git log $1..$2 --oneline | grep -v Merge | sed -e "s/\[\(FAB-[0-9]*\)\]/\[\1\](https:\/\/jira.hyperledger.org\/browse\/\1\)/" -e "s/ \(FAB-[0-9]*\)/ \[\1\](https:\/\/jira.hyperledger.org\/browse\/\1\)/" -e "s/\([0-9|a-z]*\)/* \[\1\](https:\/\/github.com\/hyperledger\/fabric\/commit\/\1)/" >> CHANGELOG.new
echo "" >> CHANGELOG.new
cat CHANGELOG.md >> CHANGELOG.new
mv -f CHANGELOG.new CHANGELOG.md

0 comments on commit 0100890

Please sign in to comment.