GSA/digital-strategy-report-generator — pull request #2 by bsevere (2012-08-10 18:13:17+00:00)
Title: Added functionality and small fixes

Hi,

I am preparing the digital strategy implementation for the Dept. of Commerce and we are using your report generator. Thank you for the tool as it has accelerated our deployment.

I have forked your code and have added a few enhancements that were requested by our DS POC and fixed a couple small issues. These are the changes I have made:
Changed output filenames from ‘digital-strategy’ to digitalstrategy’ (removed hyphen).
Added constant for reports directory.
Added functionality to write to reports directory if it is defined.
Read in existing JSON file from reports directory if present.
Remove “/” from $local_path variable in dgs_zip() to fix “Cannot use absolute pathnames for this command” error.
Fixed unordered HTML report items.
Fixed generate.php to write to /tmp instead of DGS_BASE_DIR/tmp.

This code still points to the Digital-Strategy repo to create the agency and item lists. I have sent a pull request for that as well to fix the missing agency IDs.

I would very much like to combine our efforts on this for the benefit of the entire FED community. Please let me know if you have any questions about the changes made.
Thanks,

Bill Severe