halfer / awooga-app

Web application to report coding tutorials of non-optimal quality
0 stars 0 forks source link

Last updated date is wrong for repo reports #32

Open halfer opened 9 years ago

halfer commented 9 years ago

Reports that are pulled in from a repository need to use the file's last commit date in the repo, rather than using the timestamp of when the repo was last pulled.

For example this report appears to be updated every day, when it should be using the last commit date of this file.

halfer commented 9 years ago

The code to do Git operations is pretty rudimentary here, and it was my intention to use an external dependency so as to do this in a more testable fashion. Either look on Packagist for something solid and stable, or write my own thing based on the extensive (but messy) Git code in I ♥ PHP.