maintainer-tools.git
2 years agoupdate_kernel.sh: fix unified version file updates
Rui Salvaterra [Tue, 8 Feb 2022 13:17:03 +0000 (13:17 +0000)]
update_kernel.sh: fix unified version file updates

The previous commit broke the kernel-version.mk automated update, since the
kernel version files are now split. However, older branches still use the
unified file, so compatibility must be kept.

Check for the presence of the kernel version-specific file. If it doesn't exist,
assume we're using the unified file and do the version update accordingly.

Fixes: cbb9d08 ("update_kernel.sh: update it to new kernel hash/version file way")
Tested-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2 years agoupdate_kernel.sh: update it to new kernel hash/version file way
Ansuel Smith [Sun, 16 Jan 2022 20:35:32 +0000 (21:35 +0100)]
update_kernel.sh: update it to new kernel hash/version file way

OpenWrt changed how the hash/version of the various kernels are declared and
saved.
They are now placed in dedicated files. Fix the update_kernel.sh script to
update the kernel version/hash in the correct file.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[fix typos/wrapping]
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agomaketag.sh/makebranch.sh: handle https download URLs
Hauke Mehrtens [Mon, 19 Apr 2021 19:23:30 +0000 (21:23 +0200)]
maketag.sh/makebranch.sh: handle https download URLs

Since OpenWrt 21.02 we use https for our download server, detect these
URLs too.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 years agocheck-abi-version.pl: add ABI version checker
Jo-Philipp Wich [Fri, 31 Jan 2020 21:08:13 +0000 (22:08 +0100)]
check-abi-version.pl: add ABI version checker

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agomake-signatures.pl: LEDE => OpenWrt
Jo-Philipp Wich [Fri, 31 Jan 2020 21:05:47 +0000 (22:05 +0100)]
make-signatures.pl: LEDE => OpenWrt

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agomake-changelog.pl: update to revised version
Jo-Philipp Wich [Fri, 31 Jan 2020 21:05:02 +0000 (22:05 +0100)]
make-changelog.pl: update to revised version

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoadd a Perl script to check for ABI_VERSION related things in packages
Jo-Philipp Wich [Thu, 24 Jan 2019 09:31:26 +0000 (10:31 +0100)]
add a Perl script to check for ABI_VERSION related things in packages

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agocount-contributions.sh: add script to count number of commits
Jo-Philipp Wich [Sun, 4 Nov 2018 15:59:50 +0000 (16:59 +0100)]
count-contributions.sh: add script to count number of commits

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agosob2from.sh: don't fail on author names with single quotes
Jo-Philipp Wich [Sun, 4 Nov 2018 14:02:45 +0000 (15:02 +0100)]
sob2from.sh: don't fail on author names with single quotes

Also only rewrite the author if the existing commit author does not appear
in any Signed-off-by line.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agogithub-apply: Added thank you to the PR close comment
Petr Štetiar [Mon, 25 Mar 2019 09:34:04 +0000 (10:34 +0100)]
github-apply: Added thank you to the PR close comment

Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years agopatchwork-apply.sh: use gsed for mac compatibility
Kevin Darbyshire-Bryant [Wed, 19 Sep 2018 08:04:15 +0000 (09:04 +0100)]
patchwork-apply.sh: use gsed for mac compatibility

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
5 years agoFix detection of lede branch.
Hauke Mehrtens [Sun, 15 Jul 2018 19:00:17 +0000 (21:00 +0200)]
Fix detection of lede branch.

The branch name looks like this for lede-17.01:
refs/heads/lede-17.01

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
5 years agomaketag.sh: decide LEDE/OpenWrt distro automatically
Jo-Philipp Wich [Sun, 15 Jul 2018 18:43:59 +0000 (20:43 +0200)]
maketag.sh: decide LEDE/OpenWrt distro automatically

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomake-changelog.pl: fix reference to openwrt/openwrt.git
Jo-Philipp Wich [Sun, 15 Jul 2018 12:50:21 +0000 (14:50 +0200)]
make-changelog.pl: fix reference to openwrt/openwrt.git

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomake-changelog.pl: use a cache directory, improve bug number detection
Jo-Philipp Wich [Sun, 15 Jul 2018 12:45:56 +0000 (14:45 +0200)]
make-changelog.pl: use a cache directory, improve bug number detection

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agomaketag.sh: adjust defaults for OpenWrt
Jo-Philipp Wich [Fri, 22 Jun 2018 10:34:45 +0000 (12:34 +0200)]
maketag.sh: adjust defaults for OpenWrt

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agopatchwork-apply.sh: remove explicit commit references
Jo-Philipp Wich [Sun, 4 Feb 2018 12:59:56 +0000 (13:59 +0100)]
patchwork-apply.sh: remove explicit commit references

Mentioning explicit commit hashes proved to be unreliable, especially
when frequently rebasing the tree, so only post generic repository
references instead.

Also avoid clobbering subjects in the form "[TAG] subject [foo]" where
the prevously used sed pattern would reduce the entire subject to an
empty string.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agogithub-apply.sh: remove unused variable
Jo-Philipp Wich [Sun, 4 Feb 2018 12:42:08 +0000 (13:42 +0100)]
github-apply.sh: remove unused variable

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agogithub-apply.sh: add script to rebase, merge and close Github pull requests
Jo-Philipp Wich [Sun, 4 Feb 2018 12:39:15 +0000 (13:39 +0100)]
github-apply.sh: add script to rebase, merge and close Github pull requests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agomakebranch.sh: add helper script for creating release branches
Jo-Philipp Wich [Sun, 4 Feb 2018 12:27:20 +0000 (13:27 +0100)]
makebranch.sh: add helper script for creating release branches

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agopatchwork-apply.sh: handle OpenWrt repository structure
Jo-Philipp Wich [Sun, 4 Feb 2018 11:59:58 +0000 (12:59 +0100)]
patchwork-apply.sh: handle OpenWrt repository structure

Also cope with patch files lacking a file extensions, certain versions
of the Python patchwork client appear to omit it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agomake-changelog.pl: change references to openwrt.org
Jo-Philipp Wich [Sun, 4 Feb 2018 11:30:56 +0000 (12:30 +0100)]
make-changelog.pl: change references to openwrt.org

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoMerge pull request #1 from ldir-EDB0/master
Jo-Philipp Wich [Sun, 4 Feb 2018 11:23:21 +0000 (12:23 +0100)]
Merge pull request #1 from ldir-EDB0/master

update_kernel.sh: fix syntax error

6 years agoupdate_kernel.sh: fix syntax error
Kevin Darbyshire-Bryant [Sun, 4 Feb 2018 10:40:24 +0000 (10:40 +0000)]
update_kernel.sh: fix syntax error

Replace while [ $# > 0 ]; with while [ $# -gt 0 ]

The former redirects $# to a file '0' creating a stray file as the least
worrying of side effects.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years agoupdate_kernel.sh: improve cross platform support
Kevin Darbyshire-Bryant [Sat, 23 Dec 2017 09:45:37 +0000 (09:45 +0000)]
update_kernel.sh: improve cross platform support

Use staging_dir/host for sed.  Improves compatibility with MacOS

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
6 years agoadd a script for updating the kernel
Jonas Gorski [Sun, 9 Apr 2017 15:05:27 +0000 (17:05 +0200)]
add a script for updating the kernel

Add a script for easily updating a kernel to a newer release, while
refreshing the patches, ensuring they still apply (and optionally also
ensure they build).

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
6 years agoadd a script to rewrite the commit author to reflect whats in Signed-off-by
Jo-Philipp Wich [Sat, 23 Dec 2017 11:03:19 +0000 (12:03 +0100)]
add a script to rewrite the commit author to reflect whats in Signed-off-by

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoadd a script to fetch patchwork patch, apply it and confirm it in patchwork and via...
Jo-Philipp Wich [Sat, 23 Dec 2017 11:02:18 +0000 (12:02 +0100)]
add a script to fetch patchwork patch, apply it and confirm it in patchwork and via email

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoadd a Perl script to update the key signature listing
Jo-Philipp Wich [Sat, 23 Dec 2017 10:59:54 +0000 (11:59 +0100)]
add a Perl script to update the key signature listing

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoadd a script for creating release tags
Jo-Philipp Wich [Sat, 23 Dec 2017 10:57:50 +0000 (11:57 +0100)]
add a script for creating release tags

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoadd a simple Perl script to generate a Git changelog in wiki markup format
Jo-Philipp Wich [Sat, 23 Dec 2017 10:56:15 +0000 (11:56 +0100)]
add a simple Perl script to generate a Git changelog in wiki markup format

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years agoinitial commit
Jonas Gorski [Sat, 23 Dec 2017 10:54:52 +0000 (11:54 +0100)]
initial commit