Commit graph

12 commits

Author SHA1 Message Date
Arun Raghavan
225419e030 git-update: Update submodules too
More correct than not doing it, and prevents careless people from
mistakenly pushing changes to submodules.
2017-01-11 17:29:33 +05:30
Scott D Phillips
978f107a0b git-update: fixes for running on windows
when running git-update as `py git-update` (which is convenient on
windows), SCRIPTDIR is '' instead of '.'. Fix that with normpath.

Printing emdash (U+2014) doesn't work on windows because it isn't in
cp437. Change it to hyphen.

https://bugzilla.gnome.org/show_bug.cgi?id=774636
2016-11-17 17:49:17 -03:00
Nirbheek Chauhan
30a35c3d60 git-update: Use git config to set autostash
The build bots don't like it; probably because the git version is
ancient there. Bots should ignore the unknown config variable.
2016-11-10 01:10:58 +05:30
Thibault Saunier
c843f48740 Add 'update' and git-update targets to update git repos 2016-11-08 15:16:57 -03:00
Thibault Saunier
ac383f6b68 git-update: Also update gst-build 2016-11-08 15:10:50 -03:00
Thibault Saunier
a6e6feac3e Add a way to skip updating a particular repo
When entering a shell to fix the rebasing you can just `exit 255`
and we concider it means 'skip update'.

Also support entering shell on windows
2016-11-08 15:10:50 -03:00
Nirbheek Chauhan
6707b41d08 git-update: Use --autosquash during pull --rebase
This option has existed forever and allows people to automatically
update and autosquash/pop changes in subproject git repositories.
2016-11-08 23:30:16 +05:30
Thibault Saunier
6a1d489cc5 Minor improvement in the git function 2016-10-11 02:05:39 +02:00
Thibault Saunier
76e946465f Add meson as a submodule for now
Allowing us to control the meson version in use so that it just works.
2016-10-11 02:00:32 +02:00
Thibault Saunier
5428359c31 git-update: Add a way for user to fix any rebasing issue interactively 2016-09-30 10:54:36 -03:00
Thibault Saunier
0b58ccccbb Allow passing a manifest to update subprojects repository
Allowing to have reproducible builds on the CI server, and locally.
2016-09-14 10:01:25 -03:00
Thibault Saunier
7e7caeec93 Add an helper to update subprojects git repos 2016-09-09 09:01:58 -03:00