Fix #52 : Created a python script to generate the changelog

This commit is contained in:
John M. Penn 2015-05-05 11:19:48 -05:00
parent 108ec3ebf9
commit d8013068cc
4 changed files with 46 additions and 73 deletions

1
.gitattributes vendored
View File

@ -1,5 +1,6 @@
.gitattributes export-ignore
.gitignore export-ignore
make_changelog export-ignore
Basics_of_Program_Memory_and_Variables.ppt export-ignore
Compiling_and_Linking_Overview.ppt export-ignore
Trick_Advanced_Topics.pptx export-ignore

6
CHANGELOG.md Normal file
View File

@ -0,0 +1,6 @@
![trick_logo](https://raw.github.com/nasa/Trick/master/trick-0.png)
### Trick HEAD Change Log
* [view commit](http://github.com/nasa/Trick/commit/13b2ba644674f57db83644ba76a75879dd5d723d) Add .gitattributes file to exclude files from release.
* [view commit](http://github.com/nasa/Trick/commit/2972685f712efbf82d53af2e4c2001bacbcef6c7) Development flag needs to be set in configure script

View File

@ -1,73 +0,0 @@
<!DOCTYPE html>
<html>
<body>
<h1>Trick v15.0.0 Change Log</h1>
<li> <a href="http://github.com/nasa/Trick/commit/95c9ed3343a23ecf76634394b96e0183eb462a82">view &bull;</a> Initial commit</li>
<li> <a href="http://github.com/nasa/Trick/commit/7a5af5d34780f215a24cb518bfdcff3f3327ad25">view &bull;</a> Added coming soon sign.</li>
<li> <a href="http://github.com/nasa/Trick/commit/f632414854f7376c3b6df22ba3371175e206c7d7">view &bull;</a> Adding license.</li>
<li> <a href="http://github.com/nasa/Trick/commit/e3f4654e3dc2a7617eaec81dbb6608fc50d465b2">view &bull;</a> Added intro and link to installation page.</li>
<li> <a href="http://github.com/nasa/Trick/commit/67f597880f646f5cfa2965fab3d086d5dabeeb04">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/83705636342d0b53e889ad88cf53f3e77a0bd793">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/f0c594f84106506625d94de11ed38ec3ffe710db">view &bull;</a> Initial commit of everything.</li>
<li> <a href="http://github.com/nasa/Trick/commit/2d5901978e1257f3ae75c9a4424baa3e42350920">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/7ee0a6a8de332e525e6f67b074aec30c3a8860ca">view &bull;</a> removing obsolete documentation</li>
<li> <a href="http://github.com/nasa/Trick/commit/c40fa6de0b1f161ce56e76939697e983f35cee83">view &bull;</a> Merge branch 'master' of https://github.com/nasa/Trick</li>
<li> <a href="http://github.com/nasa/Trick/commit/f15d324d407bdf6d3b9660e8615151f7dd354002">view &bull;</a> Added SWIG processing for IPPythonEvent class. Should fix current event restart problem.</li>
<li> <a href="http://github.com/nasa/Trick/commit/87741062e07e67e3541bf5b2a5bb2e7be8d32f52">view &bull;</a> Getting standalone to compile. Fixes #2</li>
<li> <a href="http://github.com/nasa/Trick/commit/2d5370100b0fe8f5e62f969663b95aecdccf73ff">view &bull;</a> Merge pull request #1 from excaliburtb/master</li>
<li> <a href="http://github.com/nasa/Trick/commit/555f78f7b89e2bb2685ec4b0d1a966261cefd17e">view &bull;</a> Removing the unused trick_test directory.</li>
<li> <a href="http://github.com/nasa/Trick/commit/a1a024f320685e069f4df1da3acbdb9e3c6d58b2">view &bull;</a> Merge branch 'master' of https://github.com/nasa/Trick</li>
<li> <a href="http://github.com/nasa/Trick/commit/35bc1214037248fe9a0609813ac3f7c665416e12">view &bull;</a> don't run unit tests that require er7_utils. Fixes #2</li>
<li> <a href="http://github.com/nasa/Trick/commit/e649692e89735fdcc818f8ad0d565b872352f751">view &bull;</a> Fixed the make install rules when er7_utils is not present. #4</li>
<li> <a href="http://github.com/nasa/Trick/commit/6786211037a81be8ed451b76d6bd288f06a8891d">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/2c46d603baa4b9739335248bd321add7a4116614">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/2fab93da66ba533d846221b43ff4a1f39ee49282">view &bull;</a> Added rules in the makefile to include er7_utils and fermi-ware if they exist. If they don't exist then the code that depends on them will not be compiled.</li>
<li> <a href="http://github.com/nasa/Trick/commit/520b6647f871c43162c1088c62e83ac9f081947b">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/04d24827da9bc6d624d8c428f706dee03d1536bd">view &bull;</a> Update README.md</li>
<li> <a href="http://github.com/nasa/Trick/commit/a1fea8a36f4c0a90b823a91808ef08e913efb1b1">view &bull;</a> Added code to trick_dp that will check if fxplot exists. If it does then it will add a radio button for it. If it doesn't exist, it will not show up in the plot menu.</li>
<li> <a href="http://github.com/nasa/Trick/commit/e8c0dc46d8f2dce08fb5c7890bdaff5626977601">view &bull;</a> Merge branch 'master' of https://github.com/nasa/Trick</li>
<li> <a href="http://github.com/nasa/Trick/commit/dbaf7e8ea33fc04e5ef19ab8a7c7e5df30b314ca">view &bull;</a> Incrementing the major number in trick_ver.txt. This is only symbolic as this file is overwritten at release time, the major number will be contained in the tag name. Fixes #8</li>
<li> <a href="http://github.com/nasa/Trick/commit/71b6b252782bd6b5d2d8ed7380eac126ac7cf324">view &bull;</a> Switched to using jaxb.index instead of enumerating classes in the call to JAXBContent.newInstance. Modified the makefile to copy jaxb.index files into the JAR. Removed now-unnecessary annotations from TVBean. Modified and exposed the save/open .tv file framework to subclasses so they can add additional information to .tv files. fixes #12</li>
<li> <a href="http://github.com/nasa/Trick/commit/c7e5ab1139b73e580ab966f3a68762bd52e91665">view &bull;</a> Merge remote-tracking branch 'origin/master'</li>
<li> <a href="http://github.com/nasa/Trick/commit/aecc0504fabb32867c5b2dea588c82b0e46b6c77">view &bull;</a> Changed the calling argument to setASTConsumer.</li>
<li> <a href="http://github.com/nasa/Trick/commit/21c3eaf500504cbd4b1807ecc1dd6ed9603caf38">view &bull;</a> Fixed shell detection logic.</li>
<li> <a href="http://github.com/nasa/Trick/commit/d7987925444afc7eef8bff8dd90b065bd2b9698d">view &bull;</a> Removed protect_ip_hang.</li>
<li> <a href="http://github.com/nasa/Trick/commit/2fc373360c257d37c81d4a1dcc9142381a52589a">view &bull;</a> In Makefile_swig, needed LIB_DIR and OBJECT_DIR as deps for swig objects.</li>
<li> <a href="http://github.com/nasa/Trick/commit/e7ccc77c1e84142cfea1c30e83a84193c8c412e3">view &bull;</a> Added LIB_DIR and OBJECT_DIR as deps for S_OBJECT_FILES</li>
<li> <a href="http://github.com/nasa/Trick/commit/1dc020a47c07a2cad310de5820bc5cc4454441a8">view &bull;</a> Merge pull request #20 from excaliburtb/master</li>
<li> <a href="http://github.com/nasa/Trick/commit/d41e7cb937214327cbcde769a2f0a4a4abbc53e2">view &bull;</a> Genericized the VS* suite of classes, reducing redundancy. Added a <state> element for variables in TV files. Added a Trick 13 to Trick 15 TV file converter. Updated .gitignore files. fixes #21</li>
<li> <a href="http://github.com/nasa/Trick/commit/ab337c20a8c7a41a439a602d687f1ba282e6428a">view &bull;</a> Made the no-argument constructors of the VS* suite of Java classes public.</li>
<li> <a href="http://github.com/nasa/Trick/commit/795839dd56b8ee9e9a2ed739fb27e4b196485f4a">view &bull;</a> Corrected VSBoolean's toString method to return a value that Python will recognize as a boolean.</li>
<li> <a href="http://github.com/nasa/Trick/commit/678cc4b877e237a436a30c125fb2ca0e260d4957">view &bull;</a> Corrected erroneous prototype.</li>
<li> <a href="http://github.com/nasa/Trick/commit/14a75508a3a27cec5343c19eb4048c8d276c1cee">view &bull;</a> Cleaning up once include variables and copyright cleanup.</li>
<li> <a href="http://github.com/nasa/Trick/commit/306dee18a3d506541e1e6768dbaf3d2a8669f873">view &bull;</a> Clean up once include variables</li>
<li> <a href="http://github.com/nasa/Trick/commit/48a09d386e672b403ab36533c4b9934d9632a266">view &bull;</a> CP needs more verbose checking of makefile generation</li>
<li> <a href="http://github.com/nasa/Trick/commit/e2be23c269f7733f065e7dfd7dcde1fcc53daf7b">view &bull;</a> Add emitMessage, emitError, and emitWarning member functions to MemoryMananger</li>
<li> <a href="http://github.com/nasa/Trick/commit/df6e86e7cbdf7405126e8381832ea6334de9910f">view &bull;</a> Made VariableServerConnection autocloseable.</li>
<li> <a href="http://github.com/nasa/Trick/commit/4c5839d437edfbcd5aca19c8dd593e83090be613">view &bull;</a> Merge branch 'master' of https://github.com/nasa/Trick</li>
<li> <a href="http://github.com/nasa/Trick/commit/ea085eb9eea2fd67b0f2c3376ff2104b6bd1070d">view &bull;</a> Fixes io_src code for typedef structures.</li>
<li> <a href="http://github.com/nasa/Trick/commit/c5456fab2a8aee1f3b8774d39e7a2ddf3015699c">view &bull;</a> Variable Server fails to establish listen port on restart under a specific circumstance.</li>
<li> <a href="http://github.com/nasa/Trick/commit/be6d918053be589b7693a92ec1088bfe93bf0664">view &bull;</a> Remove dependency on perl Digest::MD5</li>
<li> <a href="http://github.com/nasa/Trick/commit/08be591e32569f899832a13882c11f2fac1493b9">view &bull;</a> Replace message_publish calls with MemoryManager specific calls. fixes #25</li>
<li> <a href="http://github.com/nasa/Trick/commit/f5334e07d7cd6fdd72c226c1e5d96b8a46ca9a88">view &bull;</a> Merge branch 'devel' to fix issue #25.</li>
<li> <a href="http://github.com/nasa/Trick/commit/8536208822d9f23f1423d8865f105ef08b04a252">view &bull;</a> Removed erroneous stringstream declaration, which compiled on MacOSX but failed on Linux.</li>
<li> <a href="http://github.com/nasa/Trick/commit/2fa76ce704c154a76fa375986cbde76777e95695">view &bull;</a> Remove dependency on perl Data::Dumper</li>
<li> <a href="http://github.com/nasa/Trick/commit/3e0abdddc5e9096cbfd47498844198081dbe447a">view &bull;</a> Checkpoints cannot handle overloaded names</li>
<li> <a href="http://github.com/nasa/Trick/commit/6f989c91577c7d4dc9ac972b12e3617326fbb420">view &bull;</a> Implement Felix Baumgartner parachutist simulation. Fixes #32</li>
<li> <a href="http://github.com/nasa/Trick/commit/6d13282e9086b3e33becbf66c03fc13dbcf3b1bd">view &bull;</a> Merge branch 'master' of https://github.com/nasa/Trick</li>
<li> <a href="http://github.com/nasa/Trick/commit/94b2a4eff0e1bb55a21e57848e91163ddafda9f6">view &bull;</a> Checkpoints cannot handle overloaded names</li>
<li> <a href="http://github.com/nasa/Trick/commit/7544d9cca7ec497d3a403f3207fcb9b5a14e59c6">view &bull;</a> Remove overloaded fields in Integrator/trick_algorithms/ABM_Integrator.hh</li>
<li> <a href="http://github.com/nasa/Trick/commit/ea71eefd52a1403b36aa711647188e280ec7f142">view &bull;</a> Can't access fields in REGULA_FALSI structure in python</li>
<li> <a href="http://github.com/nasa/Trick/commit/c47e650d1e42c7aa77377ee869b22cb440b184b6">view &bull;</a> Wrote a README file that clearly describes the simulation. Also updated the simulation code to be clear and consistent with the documentation. Fixes #36</li>
<li> <a href="http://github.com/nasa/Trick/commit/68fcb0e88539fcee718cbf3ef595ed5c64034935">view &bull;</a> Alas Github Markup doesn't appear to like MathML. Fixes #36</li>
<li> <a href="http://github.com/nasa/Trick/commit/ef5bbef665e6649a361a5fc8872014dd020456b1">view &bull;</a> Fix heading in SIM_parachute README. Fix #36</li>
<li> <a href="http://github.com/nasa/Trick/commit/1769db5e332a888acccb6f84e258756b976707cc">view &bull;</a> A few touchups to SIM_parachute README. Fix #36</li>
<li> <a href="http://github.com/nasa/Trick/commit/c1619156a9f21fb0524d79971c4a9f11a4bd653c">view &bull;</a> Fixed the way that Trick::MemoryManager::ref_dim() calculates the sizes of elements in an unconstrained array. Fixes #37.</li>
<li> <a href="http://github.com/nasa/Trick/commit/df39400847f2a041beb9d25a15bf713a57f915d9">view &bull;</a> Merge branch 'master' of https://github.com/nasa/Trick</li>
<li> <a href="http://github.com/nasa/Trick/commit/203a1bd31d60385c2800b25836d94a828b3b5221">view &bull;</a> Fixes #39: Added logic to restore missing strip chart properties when loaded from a TV file.</li>
<li> <a href="http://github.com/nasa/Trick/commit/9ab540657341d4432b0e735c77811deb6a73a3fa">view &bull;</a> Revert "Remove dependency on perl Digest::MD5"</li>
<li> <a href="http://github.com/nasa/Trick/commit/24a081a32bfa4bb918953e23f2b00c4f67f73586">view &bull;</a> Event messages not printing</li>
<li> <a href="http://github.com/nasa/Trick/commit/871c6904d51c174272ddf27253c6db532dda0b07">view &bull;</a> make install incomplete</li>
<li> <a href="http://github.com/nasa/Trick/commit/936bb9cce286255e23ee26f0c79d210de49c5511">view &bull;</a> Fixes #42: Fixed makefile for graphics app for Satellite model.</li>
<li> <a href="http://github.com/nasa/Trick/commit/8608fd73fc85068439d9b947361739ed7c05b6d7">view &bull;</a> Fix#45: removed thread_version and services issues cruft</li></body>
</html>

39
bin/make_changelog Executable file
View File

@ -0,0 +1,39 @@
#!/usr/bin/python
import subprocess
# These releases tags should be kept in chronological order, latest first.
releases = ['15.0.beta',
'HEAD']
# Create a markdown version of the changelog.
def make_md_changelog():
print "![trick_logo](https://raw.github.com/nasa/Trick/master/trick-0.png)"
for i in range( len(releases)-1 ):
print '### Trick ' + releases[i+1] + ' Change Log'
command = 'git log ' + releases[i] + '...' + releases[i+1] + \
' --pretty=format:\'* [view commit](http://github.com/nasa/Trick/commit/%H) %s\'' + \
' --reverse'
output = subprocess.check_output( command, shell=True )
print output
# Create an html version of the changelog.
def make_html_changelog():
print '<!DOCTYPE html>'
print '<html>'
print '<body>'
print '<img src="https://raw.github.com/nasa/Trick/master/trick-0.png" alt="trick_logo">'
for i in range( len(releases)-1 ):
print '<h1> Trick ' + releases[i+1] + ' Change Log</h1>'
command = 'git log ' + releases[i] + '...' + releases[i+1] + \
' --pretty=format:\'<li> <a href="http://github.com/nasa/Trick/commit/%H">view commit &bull;</a> %s</li>\'' + \
' --reverse'
output = subprocess.check_output( command, shell=True )
print output
if __name__ == '__main__':
make_md_changelog()