Commit graph

12 commits

Author SHA1 Message Date
Ed Sanders a1e807cacd updateSubmodule: Show removed files/i18n keys as well as added
Also format these lists with a '- ' prefix.

Change-Id: I4ed9a6c99474057b3053de1f8cda92cd8c375941
2023-12-08 16:51:11 +00:00
Ed Sanders 7eb2d5dcd6 updateSubmodule: Don't fail silently due to grep result being empty
Change-Id: Ie9ffc5bf0ee09d8e5f3b5d6f7e6d94ba9db8beda
2023-12-07 17:45:15 +00:00
Ed Sanders 74991b163a updateSubmodule: Show whole commit message in console output
We lose the color from the git log output, but having
all the information is more useful.

Change-Id: I06b430ce994aa5af4edc700db4676cccd2f9404d
2023-12-02 10:12:40 +00:00
Ed Sanders 770e3e90fa updateSubmodule: Only show new files for resource loader (js/css/less)
We don't care if there are new config files or new i18n files.

Also move --color=never to grep, as that will remove colours from
git diff.

Change-Id: I09ffcb2beefad95b5530b61a9e99c2dbf20c511f
2023-12-02 10:09:21 +00:00
Ed Sanders d3b3c64bb6 updateSubmodule: Remove debug code
Change-Id: I15d9db60e57cf1177d106a203343124ac9765622
2023-11-17 15:59:58 +00:00
Ed Sanders 7ac1622753 updateSubmodule: List new files and new i18n keys in commit message
These new files and message keys will likely need to be
added to extension.json.

Change-Id: I23067fe946038a2bea3eebe74ecffd274e9138b5
2023-11-17 13:35:47 +00:00
Ed Sanders 4870a285f2 updateSubmodule.sh: Use gerrit remote if it exists
Change-Id: I82f23ce8721c16d57f5c918d4ceda634c73bc959
2023-11-10 18:13:04 +00:00
James D. Forrester f3e69d80ef updateSubmodule: Put list in topo (merged), not written, order
Change-Id: Ib563468ca55993784b4372ec2c9dc7916f5b8ed8
2018-05-10 08:51:37 -07:00
Bartosz Dziewoński 3832859fff bin/updateSubmodule.sh: Copy 'Bug:' lines from included changes
This seems to be a new convention and it seems that James has been
doing it by hand. *shakes head*

Change-Id: I519498c9b81d44dc7f8048d128b4fe526cb7b82d
2017-09-13 18:14:41 +02:00
James D. Forrester 1972afe27e Follow-up a4bbe98cd: Kill emptiness hack check in bin/updateSubmodule.sh too
Change-Id: Ia6e530512413268aeafa09918fa1edf4342dd7e1
2015-04-28 17:53:22 -07:00
Timo Tijhof a4bbe98cd3 bin: Enable 'set -e' and 'set -u' in bash scripts
* set -e: Abort on error.
* set -u: Emit error for undefined variables.

There was one case of unconditional access of a possibly
undefined variable in listRecentCommits.sh. Fixed by replacing
the old "x$x"="x" hack with an explicit emptiness check. The hack
is needed when supporting ancient non-bash shells, but this script
explicitly invokes a bash environment which 'test -z'.

Change-Id: I41a1c0d1bd57b5e241b83224096d32876fd913af
2015-04-29 00:48:24 +01:00
Roan Kattouw 74242c790a Add updateSubmodule.sh script
Generates a commit that updates the VE core submodule to
master (or a specified version)

Change-Id: I54c5fa18e9f9d7bb65a490415c5c139fd6072925
2014-02-01 19:03:55 -08:00