]> git.ozlabs.org Git - next-scripts/log
next-scripts
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

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

3 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

3 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

4 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

4 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

4 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

4 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

4 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

5 years agodo_merge: we have had no rebasing trees for some time
Stephen Rothwell [Fri, 26 Jul 2019 00:19:23 +0000 (10:19 +1000)]
do_merge: we have had no rebasing trees for some time

except Andrew's - and that is handled separately

5 years agoabstract out check_unmerged files
Stephen Rothwell [Wed, 24 Jul 2019 04:43:38 +0000 (14:43 +1000)]
abstract out check_unmerged files

5 years agodo_last_build: use the Debian cross compiler for i386 as well
Stephen Rothwell [Mon, 22 Jul 2019 05:05:43 +0000 (15:05 +1000)]
do_last_build: use the Debian cross compiler for i386 as well

5 years agodo_build: suppress another log change message
Stephen Rothwell [Mon, 22 Jul 2019 05:04:59 +0000 (15:04 +1000)]
do_build: suppress another log change message

5 years agoget_gitid is no longer useful
Stephen Rothwell [Wed, 3 Jul 2019 07:10:25 +0000 (17:10 +1000)]
get_gitid is no longer useful

5 years agomessage_helper: more "gentele" coding style
Stephen Rothwell [Thu, 27 Jun 2019 07:26:35 +0000 (17:26 +1000)]
message_helper: more "gentele" coding style

more consistent quoting

5 years agotidy up email creating a bit
Stephen Rothwell [Thu, 27 Jun 2019 06:27:26 +0000 (16:27 +1000)]
tidy up email creating a bit

5 years agocheck_commits: run check_fixes as well
Stephen Rothwell [Thu, 27 Jun 2019 05:45:03 +0000 (15:45 +1000)]
check_commits: run check_fixes as well

5 years agocheck_commits: check for unexpected files in commits
Stephen Rothwell [Mon, 22 Apr 2019 05:29:49 +0000 (15:29 +1000)]
check_commits: check for unexpected files in commits

so far juts for addition of .rej and .orig file

Suggested-by: Paul Gortmaker <paul.gortmaker@windriver.com>
5 years agocheck_commits: some tidying and reformatting
Stephen Rothwell [Mon, 22 Apr 2019 02:27:15 +0000 (12:27 +1000)]
check_commits: some tidying and reformatting

5 years agocheck_fixes: make sure the double quotes appear in the helpful message
Stephen Rothwell [Mon, 8 Apr 2019 05:54:23 +0000 (15:54 +1000)]
check_fixes: make sure the double quotes appear in the helpful message

5 years agoa quick and dirty script to log a commit in a useful format
Stephen Rothwell [Fri, 29 Mar 2019 03:29:13 +0000 (14:29 +1100)]
a quick and dirty script to log a commit in a useful format

5 years agouse (Debian) rsync's --noatime option
Stephen Rothwell [Mon, 4 Mar 2019 22:36:56 +0000 (09:36 +1100)]
use (Debian) rsync's --noatime option

5 years agocheck_fixes: give more advice
Stephen Rothwell [Tue, 12 Feb 2019 02:18:30 +0000 (13:18 +1100)]
check_fixes: give more advice

5 years agocheck_fixes: supply advice about short SHA1 abbrevs
Stephen Rothwell [Wed, 30 Jan 2019 00:19:50 +0000 (11:19 +1100)]
check_fixes: supply advice about short SHA1 abbrevs

5 years agocheck_fixes: consolidate matching
Stephen Rothwell [Mon, 28 Jan 2019 00:25:45 +0000 (11:25 +1100)]
check_fixes: consolidate matching

5 years agocheck_fixes: catch empty subjects
Stephen Rothwell [Sun, 27 Jan 2019 23:06:43 +0000 (10:06 +1100)]
check_fixes: catch empty subjects

5 years agocheck_fixes: try harder to find a valid SHA1
Stephen Rothwell [Sun, 27 Jan 2019 22:23:18 +0000 (09:23 +1100)]
check_fixes: try harder to find a valid SHA1

Some people put "commit" before the SHA1

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
5 years agocheck_fixes: allow no space between the SHA1 and subject
Stephen Rothwell [Sun, 27 Jan 2019 03:30:31 +0000 (14:30 +1100)]
check_fixes: allow no space between the SHA1 and subject

5 years agocheck_fixes: get rid of the last shellcheck warning
Stephen Rothwell [Wed, 23 Jan 2019 21:44:12 +0000 (08:44 +1100)]
check_fixes: get rid of the last shellcheck warning

5 years agocheck_fixes: minor cleanups
Stephen Rothwell [Wed, 23 Jan 2019 21:12:20 +0000 (08:12 +1100)]
check_fixes: minor cleanups

The printf version of the messages didn't improve things

5 years agocheck_fixes: a few cleanups
Stephen Rothwell [Tue, 22 Jan 2019 03:39:58 +0000 (14:39 +1100)]
check_fixes: a few cleanups

include most shellcheck issues

5 years agocheck_fixes: cope with unicode quotation marks
Stephen Rothwell [Mon, 21 Jan 2019 20:39:55 +0000 (07:39 +1100)]
check_fixes: cope with unicode quotation marks

5 years agoadd check_fixes script
Stephen Rothwell [Fri, 18 Jan 2019 02:40:03 +0000 (13:40 +1100)]
add check_fixes script

and associated bad_fixes mail helper

5 years agofetch_trees: explicitly stop wget from storing the URL in an xattr
Stephen Rothwell [Sun, 30 Dec 2018 05:00:15 +0000 (16:00 +1100)]
fetch_trees: explicitly stop wget from storing the URL in an xattr

rather than removing the xattr later.  The --no-xattr option is not
documented in the man page, but is in "wget --help".  This has become
the default behaviour in wget v1.20.1 anyway.

5 years agoRevert "use firejail for builds"
Stephen Rothwell [Mon, 17 Dec 2018 05:44:21 +0000 (16:44 +1100)]
Revert "use firejail for builds"

This reverts commit e2b1ad956622c4b4b6d98e412013e433411c7aac.

but keeps the profile.

Using firejail seems to be making error catching unreliable.

5 years agodo_build: stop a failing "kill" from killing the whole here-script
Stephen Rothwell [Mon, 17 Dec 2018 01:30:10 +0000 (12:30 +1100)]
do_build: stop a failing "kill" from killing the whole here-script

5 years agodo_build: fix typo
Stephen Rothwell [Wed, 5 Dec 2018 05:12:59 +0000 (16:12 +1100)]
do_build: fix typo

5 years agoshorten some messages
Stephen Rothwell [Mon, 26 Nov 2018 14:09:56 +0000 (01:09 +1100)]
shorten some messages

add some compile flags

5 years agoconsolidate the notifications into a single user supplied script
Stephen Rothwell [Mon, 26 Nov 2018 03:46:28 +0000 (14:46 +1100)]
consolidate the notifications into a single user supplied script

5 years agobuild.profile: allow for writing in ~/tmp
Stephen Rothwell [Mon, 26 Nov 2018 03:40:01 +0000 (14:40 +1100)]
build.profile: allow for writing in ~/tmp

6 years agocheck_commits: tidy up a bit
Stephen Rothwell [Sun, 18 Nov 2018 17:46:51 +0000 (04:46 +1100)]
check_commits: tidy up a bit

6 years agodo_clean: fix typo
Stephen Rothwell [Sun, 18 Nov 2018 17:40:25 +0000 (04:40 +1100)]
do_clean: fix typo

6 years agocanonicalise some file/dir names
Stephen Rothwell [Sun, 18 Nov 2018 17:34:51 +0000 (04:34 +1100)]
canonicalise some file/dir names

introduce $top_dir

6 years agofinal_msg: clean up
Stephen Rothwell [Sun, 18 Nov 2018 17:21:57 +0000 (04:21 +1100)]
final_msg: clean up

6 years agos/Linux-Next/Linux Next/ in recipiant lists
Stephen Rothwell [Sun, 18 Nov 2018 16:35:09 +0000 (03:35 +1100)]
s/Linux-Next/Linux Next/ in recipiant lists

6 years agotidy up some awk invocations
Stephen Rothwell [Sun, 18 Nov 2018 16:17:30 +0000 (03:17 +1100)]
tidy up some awk invocations

6 years agointroduce get_contacts function and use it
Stephen Rothwell [Sun, 18 Nov 2018 15:58:27 +0000 (02:58 +1100)]
introduce get_contacts function and use it

6 years agouse firejail for builds
Stephen Rothwell [Thu, 15 Nov 2018 05:39:29 +0000 (16:39 +1100)]
use firejail for builds

6 years agoadd_repo: make into a /bin/sh script and general style clean up
Stephen Rothwell [Sat, 29 Sep 2018 03:01:14 +0000 (13:01 +1000)]
add_repo: make into a /bin/sh script and general style clean up

6 years agofetch_trees: shellcheck and general style clean up
Stephen Rothwell [Sat, 29 Sep 2018 02:52:55 +0000 (12:52 +1000)]
fetch_trees: shellcheck and general style clean up

6 years agofetch_trees: explicitly check that a tree exists
Stephen Rothwell [Sat, 29 Sep 2018 02:09:18 +0000 (12:09 +1000)]
fetch_trees: explicitly check that a tree exists

6 years agomake_tree_file: exit the shared connection to kernel.org
Stephen Rothwell [Fri, 28 Sep 2018 08:01:58 +0000 (18:01 +1000)]
make_tree_file: exit the shared connection to kernel.org

6 years agodo_last_build: move some builds to standard cross compilers
Stephen Rothwell [Fri, 31 Aug 2018 01:30:39 +0000 (11:30 +1000)]
do_last_build: move some builds to standard cross compilers

6 years agodo_build: use the Debian standard cross compilers
Stephen Rothwell [Tue, 28 Aug 2018 04:32:07 +0000 (14:32 +1000)]
do_build: use the Debian standard cross compilers

6 years agoimport-akpm: use merge-files and merge-files for akpm-current
Stephen Rothwell [Fri, 27 Jul 2018 00:53:12 +0000 (10:53 +1000)]
import-akpm: use merge-files and merge-files for akpm-current

6 years agocheck_commits: speed up somewhat and produce usable output
Stephen Rothwell [Sat, 21 Jul 2018 14:54:03 +0000 (00:54 +1000)]
check_commits: speed up somewhat and produce usable output

6 years agocheck_commits: output a more useful commit line
Stephen Rothwell [Wed, 18 Jul 2018 13:29:21 +0000 (23:29 +1000)]
check_commits: output a more useful commit line

6 years agodo_build: use the native powerpc compiler
Stephen Rothwell [Wed, 4 Jul 2018 23:16:51 +0000 (09:16 +1000)]
do_build: use the native powerpc compiler

6 years agoto_build_host: provide some protection against misrunning
Stephen Rothwell [Wed, 4 Jul 2018 23:15:45 +0000 (09:15 +1000)]
to_build_host: provide some protection against misrunning

6 years agodo_last_build: append new config entries :-(
Stephen Rothwell [Tue, 12 Jun 2018 04:29:00 +0000 (14:29 +1000)]
do_last_build: append new config entries :-(

6 years agouse `nproc` as the default j factor
Stephen Rothwell [Fri, 8 Jun 2018 13:45:06 +0000 (23:45 +1000)]
use `nproc` as the default j factor

6 years agodo_merge: don't reset the branch stuff before checking for skipping
Stephen Rothwell [Wed, 6 Jun 2018 21:39:07 +0000 (07:39 +1000)]
do_merge: don't reset the branch stuff before checking for skipping

6 years agofetch_trees: skip comments and branch control lines just using awk
Stephen Rothwell [Wed, 6 Jun 2018 01:32:53 +0000 (11:32 +1000)]
fetch_trees: skip comments and branch control lines just using awk