Use git rev-parse to find repo root.

Change-Id: Ifb067ad12c2b9ec4080feb02b3076539c71d9e9c
Reviewed-on: http://gerrit.aldebaran.lan:8080/9470
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
Split _update_branch_if_ff with a is_ff function.

Change-Id: Ia9c6d2b1b72a9dab7c85f6782ed89bee92b580a1
Reviewed-on: http://gerrit.aldebaran.lan:8080/9479
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
Add a function to get a sha1 from a ref.

Change-Id: I62d20b6f264c53e9c38ad39dc5eeb6f406fa3f59
Reviewed-on: http://gerrit.aldebaran.lan:8080/9488
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
Remove useless and dangerous overload of qisrc.git.open.

Change-Id: Id80aebb65fa5885feb00f32d821528b8a53dd13e
Reviewed-on: http://gerrit.aldebaran.lan:8080/9552
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
Refactor wrappers in a pytonish way.

Change-Id: Iacf3b7ae457d4f0179e9d8f0eb3b2eb86ff16d8f
Reviewed-on: http://gerrit.aldebaran.lan:8080/9557
Reviewed-by: fmichea <fmichea@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
Add a snapshot generate.

Change-Id: Ib14cc51ce434d78f60a584f8f6d2ac6e9c31d345
Reviewed-on: http://gerrit.aldebaran.lan:8080/9559
Reviewed-by: ncornu <ncornu@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
Disable a pylint error in tests.

Change-Id: I4ceb64e57e38060b3230f1f40b520b962eb914f2
Reviewed-on: http://gerrit.aldebaran.lan:8080/9596
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: ncornu <ncornu@aldebaran-robotics.com>
cmake modules: qt_qttest cmake module

Change-Id: Iab397328b39d9d3d0054aebff431f5d17e33c988
Reviewed-on: http://gerrit.aldebaran.lan:8080/9524
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: vpaleologue <vpaleologue@aldebaran-robotics.com>
qibuild depends: add --tree, --graph. Respect --single, --runtime

Major revision of qibuild depends to support graph output, and tree output
Be more predictable by being deep by default and respecting existing
--single and --runtime flags

Change-Id: I28a90e1d4fea61023b3835fe1191b8d2a3e66737
Reviewed-on: http://gerrit.aldebaran.lan:8080/9548
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: ckilner <ckilner@aldebaran-robotics.com>
qibuild configure: display build options at the end

Change-Id: I7dbbf469914d5164748579fae48bdd26835a7f8d
Reviewed-on: http://gerrit.aldebaran.lan:8080/9135
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
qibuild configure --summarize-options: fix crash

When there was no options, it crashed with:
   [ERROR]:  max() arg is an empty sequence

Change-Id: I6460331a4f12df59f445d10b8ee7d9f08ebfd045
Reviewed-on: http://gerrit.aldebaran.lan:8080/9624
Reviewed-by: vbarbaresi <vbarbaresi@aldebaran-robotics.com>
Tested-by: vbarbaresi <vbarbaresi@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
read_cmake_cache: parse variable containing numbers too

Change-Id: Ic585196c7d2f3c6a557437075f1da62ffe29f61c
Reviewed-on: http://gerrit.aldebaran.lan:8080/9620
Reviewed-by: fmichea <fmichea@aldebaran-robotics.com>
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
summarize-options: fix useless list declaration

Change-Id: Ib2be4a60f75351157566a64af6d601f48db0f2dc
Reviewed-on: http://gerrit.aldebaran.lan:8080/9625
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Tested-by: vbarbaresi <vbarbaresi@aldebaran-robotics.com>