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.txtfrom./files_*to their corresponding source repository - Create a new directory
build_dirin the source repository - Change directory to
build_dirand runcmake ..to configure the source repository - Run
$MAKAO/parsing/bin/makewrapper.sh all 2&> trace.txtand$MAKAO/parsing/bin/generate_makao_graph.pl -in trace.txt -out trace.gdf -format gdf - In
BuildMeteo.rb, change bothSRCE_DIRto 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