Thibault Saunier
acb77ccb0a
update: Enhance logging about what kind of update is happening
2018-11-05 09:52:41 -03:00
Thibault Saunier
57f8844958
update: Ensure that a revision is used when updating a detached repo
...
For the case it was not guaranteed
2018-11-05 09:43:50 -03:00
Thibault Saunier
52c0086c5a
update: Fix the manifest commit dictionnary format
...
The structure was changed in last commit but a code path was not properly updated
2018-11-05 09:42:29 -03:00
Thibault Saunier
7db3c6b0ce
gst-update: Handle specified remotes in manifest
2018-11-03 10:32:01 -03:00
Nirbheek Chauhan
1a75371b8b
git-update: Get the revision of the right repository
...
Typo, should fix the gst-build CI failures.
2018-10-02 13:39:49 +05:30
Nirbheek Chauhan
0f21cf4740
git-update: Don't try to pull --rebase repos that are not on master
...
This fixes updating of repos that are at a specific commit and
a detached HEAD, such as openh264.
2018-10-02 09:51:11 +05:30
Víctor Manuel Jáquez Leal
d3ea533b20
Don't process the whole commit
...
https://bugzilla.gnome.org/show_bug.cgi?id=796655
2018-08-30 17:17:57 +02:00
Edward Hervey
13996d5244
git-update: Close stdin if non-interactive
...
To be 100% certain that any usage of stdin will actually fail
instead of silently waiting for input.
2017-10-20 12:22:57 +02:00
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