NAMD / pypln.web

Web interface for PyPLN
http://pypln.org/
GNU General Public License v3.0
12 stars 8 forks source link

Add HTML comment with SHA1 of running code #105

Closed turicas closed 10 years ago

turicas commented 10 years ago

It'll be easier to debug problems on Web interface if we know exactly which version is running, so I propose to add a little comment in the default template with the SHA1 of the running code. It could be made by our fabfile.py.

fccoelho commented 10 years ago

Good Idea, but wouldn't it be better to use the commit id number? that way we can refer directly to the code.

turicas commented 10 years ago

What do you mean by "commit id"? The commit SHA1, as I said? ;)

fccoelho commented 10 years ago

I thought you meant taking the sha1 of the whole code (tarball or something) ;-)

turicas commented 10 years ago

Oops, sorry. It was about the commit SHA1 - and if there's a tag on that commit, it'd be useful to show too.