Click here to read our paper in ICSME'17.
Before running BuildMeteo.rb, you should:
- If you wish to estimate the build duration for VTK, run
git clone https://gitlab.kitware.com/vtk/vtk.git
; otherwise, for GLib, rungit clone https://github.com/GNOME/glib
- Download MAKAO
- Move
build_files.txt
from./files_*
to their corresponding source repository - Create a new directory
build_dir
in the source repository - Change directory to
build_dir
and runcmake ..
to configure the source repository - Run
$MAKAO/parsing/bin/makewrapper.sh all 2&> trace.txt
and$MAKAO/parsing/bin/generate_makao_graph.pl -in trace.txt -out trace.gdf -format gdf
- In
BuildMeteo.rb
, change bothSRCE_DIR
to the directory of the project you desire to test upon.
Once you finish running BuildMeteo.rb
, there will be 2 csv file outputs, including:
commit_predict.csv
- predicted build duration for each commitreal_time.csv
- real build duration for each commit