]> git.ozlabs.org Git - next-scripts/log
next-scripts
15 months agomake_tree_file, message_helper: get around grep binary file behaviour
Stephen Rothwell [Wed, 21 Feb 2024 06:40:32 +0000 (17:40 +1100)]
make_tree_file, message_helper: get around grep binary file behaviour

These files are not binary but may contain some control characters

15 months agomake_summ: improve regexp
Stephen Rothwell [Wed, 21 Feb 2024 06:39:45 +0000 (17:39 +1100)]
make_summ: improve regexp

15 months agofetch_trees: suppress error for teh first fetch of a new tree
Stephen Rothwell [Wed, 21 Feb 2024 06:38:34 +0000 (17:38 +1100)]
fetch_trees: suppress error for teh first fetch of a new tree

20 months agomake_summ: egrep is obsolete
Stephen Rothwell [Thu, 5 Oct 2023 22:15:53 +0000 (09:15 +1100)]
make_summ: egrep is obsolete

21 months agobackup_next: cannot use open_noatime as the rsync on fs does no support it
Stephen Rothwell [Fri, 15 Sep 2023 02:09:03 +0000 (12:09 +1000)]
backup_next: cannot use open_noatime as the rsync on fs does no support it

21 months agobackup_next: add open_noatime option
Stephen Rothwell [Thu, 14 Sep 2023 22:45:46 +0000 (08:45 +1000)]
backup_next: add open_noatime option

21 months agobackup_next: update to remove qult and mmotm
Stephen Rothwell [Thu, 14 Sep 2023 22:36:27 +0000 (08:36 +1000)]
backup_next: update to remove qult and mmotm

also cd to the top directory

21 months agodo_stats: Andrew uses git, so remove an irrelevant sentence
Stephen Rothwell [Mon, 11 Sep 2023 02:41:54 +0000 (12:41 +1000)]
do_stats: Andrew uses git, so remove an irrelevant sentence

23 months agoto_ozlabs: just rsync the whole thing
Stephen Rothwell [Wed, 12 Jul 2023 02:20:06 +0000 (12:20 +1000)]
to_ozlabs: just rsync the whole thing

This actually reduces the data on ozlabs.org as we have
pruned the main repo before we run this

23 months agodo_merge: exit on build failure
Stephen Rothwell [Mon, 10 Jul 2023 06:59:23 +0000 (16:59 +1000)]
do_merge: exit on build failure

we can just retsart do_merge in this case

2 years agoto/from_build_host: we no longer care about mmotm/
Stephen Rothwell [Wed, 10 May 2023 00:01:50 +0000 (10:01 +1000)]
to/from_build_host: we no longer care about mmotm/

2 years agoadd an s390 build
Stephen Rothwell [Mon, 27 Mar 2023 20:59:23 +0000 (07:59 +1100)]
add an s390 build

2 years agoadd NO_BPF_SKEL=1 to the perf build for now
Stephen Rothwell [Thu, 23 Mar 2023 22:49:08 +0000 (09:49 +1100)]
add NO_BPF_SKEL=1 to the perf build for now

2 years agomerge_old_version: shellcheck, update style, convert to posix shell script
Stephen Rothwell [Mon, 20 Mar 2023 23:17:20 +0000 (10:17 +1100)]
merge_old_version: shellcheck, update style, convert to posix shell script

2 years agomessage_helper: ignore old version merges
Stephen Rothwell [Mon, 20 Mar 2023 23:04:18 +0000 (10:04 +1100)]
message_helper: ignore old version merges

2 years agodo_build: I am now using gcc 12
Stephen Rothwell [Fri, 17 Mar 2023 02:32:49 +0000 (13:32 +1100)]
do_build: I am now using gcc 12

2 years agodo_build: try higher -j numbers
Stephen Rothwell [Tue, 21 Feb 2023 22:21:36 +0000 (09:21 +1100)]
do_build: try higher -j numbers

on zz1, I am seeing ~20% idle time while building

2 years agodo_merge: just assume an existing SHA1s file means continue
Stephen Rothwell [Thu, 19 Jan 2023 20:28:08 +0000 (07:28 +1100)]
do_merge: just assume an existing SHA1s file means continue

2 years agodo_merge: add the -c (continue) option
Stephen Rothwell [Wed, 18 Jan 2023 23:56:19 +0000 (10:56 +1100)]
do_merge: add the -c (continue) option

This starts mergeing again from where we left off i.e. the
tree after the last entry in the SHA`s file.

2 years agodo_merge: add duplicates to the log file
Stephen Rothwell [Thu, 12 Jan 2023 22:00:57 +0000 (09:00 +1100)]
do_merge: add duplicates to the log file

2 years agodetect duplicate patches
Stephen Rothwell [Wed, 11 Jan 2023 01:05:11 +0000 (12:05 +1100)]
detect duplicate patches

2 years agoadd script for reporting duplicate commits
Stephen Rothwell [Mon, 9 Jan 2023 21:23:58 +0000 (08:23 +1100)]
add script for reporting duplicate commits

2 years agodo_merge: convert to a posix shell script
Stephen Rothwell [Wed, 14 Dec 2022 20:49:49 +0000 (07:49 +1100)]
do_merge: convert to a posix shell script

2 years agomake_tree_file: simplify the tag deleting
Stephen Rothwell [Wed, 7 Dec 2022 07:56:31 +0000 (18:56 +1100)]
make_tree_file: simplify the tag deleting

2 years agomake_tree_file: general tidy up
Stephen Rothwell [Wed, 7 Dec 2022 06:49:03 +0000 (17:49 +1100)]
make_tree_file: general tidy up

use new get_* functions
quote more things
change some double quotes to single
make into a Posix script

2 years agocommon.sh: allow scripts to explicitly as for no arg parsing
Stephen Rothwell [Wed, 7 Dec 2022 05:50:04 +0000 (16:50 +1100)]
common.sh: allow scripts to explicitly as for no arg parsing

Use this in final_msg so it has no bashisms left and
can be just a Posix shell script
(see https://www.shellcheck.net/wiki/SC2240)

2 years agofinal_msg: use new get_* functions
Stephen Rothwell [Wed, 7 Dec 2022 04:13:28 +0000 (15:13 +1100)]
final_msg: use new get_* functions

add another one to get the prending fixes branches

2 years agofetch_trees: use new get_* functions
Stephen Rothwell [Wed, 7 Dec 2022 04:00:16 +0000 (15:00 +1100)]
fetch_trees: use new get_* functions

2 years agocommon.sh: restructure the get_ functions
Stephen Rothwell [Wed, 7 Dec 2022 01:13:07 +0000 (12:13 +1100)]
common.sh: restructure the get_ functions

add get_control_field and get_branches

2 years agoremove more akpm/mmotm stuff
Stephen Rothwell [Wed, 30 Nov 2022 07:29:31 +0000 (18:29 +1100)]
remove more akpm/mmotm stuff

2 years agocommon.sh: some shellcheck fixes
Stephen Rothwell [Wed, 30 Nov 2022 07:07:15 +0000 (18:07 +1100)]
common.sh: some shellcheck fixes

2 years agoroll_back: first pass
Stephen Rothwell [Wed, 30 Nov 2022 07:06:09 +0000 (18:06 +1100)]
roll_back: first pass

roll_back <branch> ralls us back to just after <branch> was merged

2 years agocommon.sh: use "normal" conditionals
Stephen Rothwell [Wed, 30 Nov 2022 05:17:47 +0000 (16:17 +1100)]
common.sh: use "normal" conditionals

2 years agocommon.sh: make the TAB field separator more reliable
Stephen Rothwell [Wed, 30 Nov 2022 05:08:48 +0000 (16:08 +1100)]
common.sh: make the TAB field separator more reliable

2 years agomake_tree_file: shellcheck fixes
Stephen Rothwell [Wed, 30 Nov 2022 04:53:15 +0000 (15:53 +1100)]
make_tree_file: shellcheck fixes

2 years agofix typo
Stephen Rothwell [Fri, 25 Nov 2022 00:13:04 +0000 (11:13 +1100)]
fix typo

2 years agocommon: add a "remote branch" control file accessor
Stephen Rothwell [Thu, 24 Nov 2022 23:59:59 +0000 (10:59 +1100)]
common: add a "remote branch" control file accessor

simplify the awk programs a little

2 years agofix some shellcheck warnings
Stephen Rothwell [Thu, 24 Nov 2022 23:54:40 +0000 (10:54 +1100)]
fix some shellcheck warnings

2 years agofrom_build_host: log progress (for when the network is bad)
Stephen Rothwell [Wed, 23 Nov 2022 23:58:52 +0000 (10:58 +1100)]
from_build_host: log progress (for when the network is bad)

2 years agosend_email: email addresses are case insensitive (more or less)
Stephen Rothwell [Wed, 23 Nov 2022 23:58:26 +0000 (10:58 +1100)]
send_email: email addresses are case insensitive (more or less)

2 years agoupdate j factor for new build server
Stephen Rothwell [Thu, 27 Oct 2022 03:28:21 +0000 (14:28 +1100)]
update j factor for new build server

2 years agofetch_trees: don't do anything if we have merged the last tree
Stephen Rothwell [Wed, 24 Aug 2022 03:16:52 +0000 (13:16 +1000)]
fetch_trees: don't do anything if we have merged the last tree

2 years agoAndrew uses git now
Stephen Rothwell [Wed, 24 Aug 2022 03:13:55 +0000 (13:13 +1000)]
Andrew uses git now

2 years agocommon.sh: make the default build dir user agnostic
Stephen Rothwell [Thu, 14 Jul 2022 07:10:17 +0000 (17:10 +1000)]
common.sh: make the default build dir user agnostic

2 years agomerge_akpm: gut this since Andrew is now using git
Stephen Rothwell [Thu, 14 Jul 2022 07:09:00 +0000 (17:09 +1000)]
merge_akpm: gut this since Andrew is now using git

2 years agohave fetch_commits call check_commits
Stephen Rothwell [Thu, 14 Jul 2022 07:07:16 +0000 (17:07 +1000)]
have fetch_commits call check_commits

and check_commits not run gitk

3 years agoonly "git push" the repos that get gc'd every day or so
Stephen Rothwell [Thu, 9 Jun 2022 05:20:31 +0000 (15:20 +1000)]
only "git push" the repos that get gc'd every day or so

just rsync the rest

3 years agocheck_fixes: update a messages
Stephen Rothwell [Mon, 4 Apr 2022 22:18:15 +0000 (08:18 +1000)]
check_fixes: update a messages

3 years agoto/from_build_host: add to exlcudes
Stephen Rothwell [Wed, 30 Mar 2022 07:31:16 +0000 (18:31 +1100)]
to/from_build_host: add to exlcudes

do some quoting

3 years agofetch_trees: stick to IPv4 for now
Stephen Rothwell [Wed, 30 Mar 2022 07:30:42 +0000 (18:30 +1100)]
fetch_trees: stick to IPv4 for now

3 years agoupdate to_build_host a bit
Stephen Rothwell [Tue, 18 Jan 2022 05:39:10 +0000 (16:39 +1100)]
update to_build_host a bit

bring back (at least the .git part of) next-fixes

3 years agouse gandalf for akpm files for now
Stephen Rothwell [Thu, 9 Dec 2021 21:45:52 +0000 (08:45 +1100)]
use gandalf for akpm files for now

3 years agodo_last_build: add arm64 defconfig build
Stephen Rothwell [Wed, 10 Nov 2021 03:54:04 +0000 (14:54 +1100)]
do_last_build: add arm64 defconfig build

3 years agodo_last_build: adjust -j factors
Stephen Rothwell [Wed, 10 Nov 2021 03:51:48 +0000 (14:51 +1100)]
do_last_build: adjust -j factors

3 years agodo_last_build: so the powerpc allyesconfig build in parallel
Stephen Rothwell [Fri, 5 Nov 2021 03:34:35 +0000 (14:34 +1100)]
do_last_build: so the powerpc allyesconfig build in parallel

3 years agomake_tree_file: make the columns line up
Stephen Rothwell [Fri, 5 Nov 2021 03:34:15 +0000 (14:34 +1100)]
make_tree_file: make the columns line up

3 years agobegin to hide away the CRTL_FILE accesses
Stephen Rothwell [Thu, 16 Sep 2021 22:06:27 +0000 (08:06 +1000)]
begin to hide away the CRTL_FILE accesses

3 years agodo_build: update the SHA1 file before applying fixes
Stephen Rothwell [Thu, 16 Sep 2021 21:55:49 +0000 (07:55 +1000)]
do_build: update the SHA1 file before applying fixes

3 years agomake the merge messages more useful
Stephen Rothwell [Thu, 16 Sep 2021 12:15:21 +0000 (22:15 +1000)]
make the merge messages more useful

Put the git URL and branch name of the tree in there.

3 years agofinal_msg: auto generate the number of pending trees
Stephen Rothwell [Mon, 5 Jul 2021 23:19:10 +0000 (09:19 +1000)]
final_msg: auto generate the number of pending trees

3 years agodo_build: suppress some ABI warnings in the perf build
Stephen Rothwell [Mon, 5 Jul 2021 23:17:11 +0000 (09:17 +1000)]
do_build: suppress some ABI warnings in the perf build

also update the section mismatch pattern

4 years agoto_ozlabs: cleanup
Stephen Rothwell [Thu, 15 Apr 2021 22:22:18 +0000 (08:22 +1000)]
to_ozlabs: cleanup

4 years agoto_build_host: don't copy left over top level patches
Stephen Rothwell [Thu, 15 Apr 2021 22:19:13 +0000 (08:19 +1000)]
to_build_host: don't copy left over top level patches

4 years agomake_tree_file: make finding the latest tag in Linus' tree more reliable
Stephen Rothwell [Thu, 15 Apr 2021 22:18:01 +0000 (08:18 +1000)]
make_tree_file: make finding the latest tag in Linus' tree more reliable

4 years agocheck_fixes: use extglob to avoind some regexp work
Stephen Rothwell [Thu, 8 Oct 2020 00:52:31 +0000 (11:52 +1100)]
check_fixes: use extglob to avoind some regexp work

also simplify some message creation

4 years agono_sig: the message body comes from the check_commits script
Stephen Rothwell [Wed, 7 Oct 2020 00:48:57 +0000 (11:48 +1100)]
no_sig: the message body comes from the check_commits script

4 years agoprompt for the MERG_HEAD sides commits
Stephen Rothwell [Fri, 2 Oct 2020 04:01:50 +0000 (14:01 +1000)]
prompt for the MERG_HEAD sides commits

4 years agomerge_msg: prompt for the HEAD side trees involved
Stephen Rothwell [Fri, 2 Oct 2020 03:24:27 +0000 (13:24 +1000)]
merge_msg: prompt for the HEAD side trees involved

4 years agomerge_msg: prompt for the HEAD side commits
Stephen Rothwell [Fri, 2 Oct 2020 00:12:28 +0000 (10:12 +1000)]
merge_msg: prompt for the HEAD side commits

Insert these commit logs into the message.  Also add email addresses
associated with them to the Cc list and pass them down.

4 years agomerge_msg: set and use tools_dir
Stephen Rothwell [Thu, 1 Oct 2020 01:47:22 +0000 (11:47 +1000)]
merge_msg: set and use tools_dir

There will be more uses soon

4 years agouse -b (branch) instead of -t (tree)
Stephen Rothwell [Thu, 1 Oct 2020 01:41:25 +0000 (11:41 +1000)]
use -b (branch) instead of -t (tree)

I am going to use -t for "To:" addresses

4 years agomerge_msg: fix branch handling
Stephen Rothwell [Thu, 1 Oct 2020 01:16:22 +0000 (11:16 +1000)]
merge_msg: fix branch handling

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
4 years agomessage_helper: improve filtering
Stephen Rothwell [Thu, 1 Oct 2020 01:10:34 +0000 (11:10 +1000)]
message_helper: improve filtering

4 years agosend_email: allow multiple cc's and use that in message_helper
Stephen Rothwell [Thu, 1 Oct 2020 00:42:22 +0000 (10:42 +1000)]
send_email: allow multiple cc's and use that in message_helper

4 years agochange the order of arguments to send_email
Stephen Rothwell [Wed, 30 Sep 2020 11:48:00 +0000 (21:48 +1000)]
change the order of arguments to send_email

I want to pass more cc's and the other 2 parameters are
(effectively) single items.

4 years agosend_email: tidy up
Stephen Rothwell [Wed, 30 Sep 2020 11:42:21 +0000 (21:42 +1000)]
send_email: tidy up

4 years agoget_commit: cpture all the Signed-off-bys as Ccs
Stephen Rothwell [Wed, 30 Sep 2020 08:17:14 +0000 (18:17 +1000)]
get_commit: cpture all the Signed-off-bys as Ccs

also a bit of tidying

4 years agoclean up merge_msg
Stephen Rothwell [Wed, 30 Sep 2020 06:41:36 +0000 (16:41 +1000)]
clean up merge_msg

no intended change in semantics

4 years agoadd get_commit
Stephen Rothwell [Wed, 19 Aug 2020 01:46:03 +0000 (11:46 +1000)]
add get_commit

a helper when constructing emails

4 years agodo_merge: report the correct branch name
Stephen Rothwell [Sun, 2 Aug 2020 22:52:09 +0000 (08:52 +1000)]
do_merge: report the correct branch name

4 years agoremove support for quilt trees
Stephen Rothwell [Sun, 19 Jul 2020 22:38:04 +0000 (08:38 +1000)]
remove support for quilt trees

4 years agofetch_trees: the body of a functions can be any compound command
Stephen Rothwell [Sun, 12 Jul 2020 22:09:52 +0000 (08:09 +1000)]
fetch_trees: the body of a functions can be any compound command

so the braces (and extra level of indentation) are not needed.

4 years agodo_build: rearrange the builds a bit
Stephen Rothwell [Sun, 12 Jul 2020 12:34:04 +0000 (22:34 +1000)]
do_build: rearrange the builds a bit

4 years agorsync noatime was changed to open-noatime
Stephen Rothwell [Sun, 12 Jul 2020 10:24:16 +0000 (20:24 +1000)]
rsync noatime was changed to open-noatime

and it has to work with the remote rsync as well

5 years agoupdate to cope with new git rebase output
Stephen Rothwell [Tue, 28 Apr 2020 08:13:49 +0000 (18:13 +1000)]
update to cope with new git rebase output

also, we don't need to push out the gitk.cache from any dir

5 years agofetch_trees: extra blank Remote: lines seem to have gone
Stephen Rothwell [Wed, 12 Feb 2020 20:53:17 +0000 (07:53 +1100)]
fetch_trees: extra blank Remote: lines seem to have gone

5 years agomerg_old_version: push even if not building
Stephen Rothwell [Sun, 15 Dec 2019 22:10:08 +0000 (09:10 +1100)]
merg_old_version: push even if not building

5 years agofetch_trees: add a hack to get rid of the almost blank "Remote:" lines
Stephen Rothwell [Wed, 4 Dec 2019 20:48:35 +0000 (07:48 +1100)]
fetch_trees: add a hack to get rid of the almost blank "Remote:" lines

5 years agocheck_left: skip the "branch" tree
Stephen Rothwell [Wed, 4 Dec 2019 20:47:14 +0000 (07:47 +1100)]
check_left: skip the "branch" tree

5 years agodo_build: optimise some log mangling
Stephen Rothwell [Sun, 17 Nov 2019 07:32:27 +0000 (18:32 +1100)]
do_build: optimise some log mangling

5 years agoimport-akpm: drop CR from the end of each line of the series file
Stephen Rothwell [Mon, 4 Nov 2019 22:58:07 +0000 (09:58 +1100)]
import-akpm: drop CR from the end of each line of the series file

5 years agodo_build: suppress another message that changes numbers
Stephen Rothwell [Mon, 21 Oct 2019 23:51:05 +0000 (10:51 +1100)]
do_build: suppress another message that changes numbers

5 years agodo_build: suppress another message that changes addresses
Stephen Rothwell [Fri, 18 Oct 2019 02:33:14 +0000 (13:33 +1100)]
do_build: suppress another message that changes addresses

5 years agoadd push-pending-fixes and notify when the branch is updated
Stephen Rothwell [Thu, 3 Oct 2019 03:32:44 +0000 (13:32 +1000)]
add push-pending-fixes and notify when the branch is updated

5 years agodo_build: tidy up a little and make shellcheck -x clean
Stephen Rothwell [Fri, 9 Aug 2019 05:24:53 +0000 (15:24 +1000)]
do_build: tidy up a little and make shellcheck -x clean

5 years agodo_build*: -Wimplicit-fallthrough is now the kernel default
Stephen Rothwell [Sun, 28 Jul 2019 01:16:06 +0000 (11:16 +1000)]
do_build*: -Wimplicit-fallthrough is now the kernel default

5 years agodo_merge: factor out manaul fix up points
Stephen Rothwell [Fri, 26 Jul 2019 05:46:47 +0000 (15:46 +1000)]
do_merge: factor out manaul fix up points

5 years agochange some style
Stephen Rothwell [Fri, 26 Jul 2019 04:49:31 +0000 (14:49 +1000)]
change some style

use if cond ... instead of cond && etc

5 years agodo_merge: shellcheck cleanups
Stephen Rothwell [Fri, 26 Jul 2019 01:50:27 +0000 (11:50 +1000)]
do_merge: shellcheck cleanups

5 years agodo_merge: switch to using getopts
Stephen Rothwell [Fri, 26 Jul 2019 00:40:07 +0000 (10:40 +1000)]
do_merge: switch to using getopts