easybuilders / easybuild-framework

EasyBuild is a software installation framework in Python that allows you to install software in a structured and robust way.
https://easybuild.io
GNU General Public License v2.0
152 stars 202 forks source link

buildstats format should follow code style #233

Closed boegel closed 12 years ago

boegel commented 12 years ago

The build statistics that are emitted in the easyconfig repository after a successful build should follow our code style.

Now, something like this is added at the bottom of the .eb file:

#Build statistics
buildstats=[{'timestamp': 1346797039, 'cpu_model': 'Intel(R) Xeon(R) CPU           L5640  @ 2.27GHz', 'build_time': 53.079999999999998, 'platform': 'Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.5', 'host': 'gaia-11', 'install_size': 845303, 'core_count': 12}]

This should be changed to something like:

# build statistics
buildstats=[
            {
             'timestamp': 1346797039,
             'cpu_model': 'Intel(R) Xeon(R) CPU           L5640  @ 2.27GHz',
             'build_time': 53.079999999999998,
             'platform': 'Linux-2.6.32-5-amd64-x86_64-with-debian-6.0.5',
             'host': 'gaia-11',
             'install_size': 845303,
             'core_count': 12,
            }
           ]
boegel commented 12 years ago

Fixed by 8e28a09.