freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
102 stars 25 forks source link

Add "gitinfo" view #195

Closed chigby closed 5 years ago

chigby commented 5 years ago

This pull request adds a view to the admin area that, essentially, reads from a file and displays those file contents to the admin. In theory, this file is filled with information about the current git commit/branch that's deployed, something like

git log HEAD --oneline --no-walk
msheiny commented 5 years ago

@chigby mind if i start slinging commits on-top of this? I think in particular I want to be able to over-ride where the gitinfo file is stored.

chigby commented 5 years ago

Go for it.

conorsch commented 5 years ago

Will take a look at the WIP presented here, and try to get the tests passing.

conorsch commented 5 years ago

Rebased on top of latest master (63b9c0c55f2ab8245f670ff0a5c2d29fcd9e787f). Re-reviewing.