Skip to content

Commit def68be

Browse files
committed
Change license to GPL-2.0-or-later
Signed-off-by: Michał Górny <[email protected]>
1 parent a523f87 commit def68be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+426
-24
lines changed

COPYING

Lines changed: 339 additions & 23 deletions
Large diffs are not rendered by default.

bump-boto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# bump botocore, boto3 and awscli
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

bump-kernels

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# bump dist-kernels
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -x -e
57

bump-kernels-bin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# bump dist-kernels -bin variants
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -x -e
57

check-mismatched-packages

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# check whether packages that should be kept in sync are up-to-date
3+
# (c) 2023-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
REPO=$(git rev-parse --show-toplevel)
57
PKGS=(

check-revdep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# check packages' revdeps (defaults to current pkg)
3+
# (c) 2020-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
if [ ${#} -eq 0 ]; then
57
set -- $(pkg)

copybump

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/sh
22
# update copyright headers in specified files
33
# typical usage: copybump $(git diff --name-only origin)
4+
# (c) 2019-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
exec sed -i -r -e "1s:(Copyright.* [0-9]{4})(-[0-9]{4})?:\1-$(date +%Y):" \
68
-e "1s:(Copyright.* $(date +%Y))-$(date +%Y):\1:" \

file-kernel-stablereq

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# open a browser to file stablereq for kernel versions ${@}
3-
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
5+
-
46
set -e
57
scriptdir=${BASH_SOURCE%/*}
68

file-pkgcheck

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# run pkgcheck on one or more packages, and open bug templates for each
33
# triggering pkgcheck report
4+
# (c) 2019-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
scriptdir=${BASH_SOURCE%/*}
68
urls=()

file-rekeywordreq

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# open a browser to file rekeywordreq for package(s) ${*}
3+
# (c) 2020-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

file-stablereq

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# open a browser to file stablereq for package(s) ${*}
3+
# (c) 2020-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

find-pkg-bugs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# open a browser searching Gentoo Bugzilla for named packages
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
25

36
scriptdir=${BASH_SOURCE%/*}
47
search=

foreach-pkg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# run bash inside each package directory specified
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

foreach-pkg-maint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# run specified command $2+ for each package maintained by $1
33
# (usually combined with if-multiple-versions)
4+
# (c) 2019-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
set -e
68

git-fixup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# commit a fixup! to the last change in specified file/directory
33
# (current directory by default)
4+
# (c) 2019-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
exec git commit --fixup $(git log --format='%H' -1 "${@:-.}") "${@:-.}"

git-foreach-repo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# run specified command for each git repository found in current dir
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
while read -u 4 -d '' -r f; do
57
echo "[${f%.git}]" >&2

git-make-empty

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/sh
22
# create and check an empty branch out in git repo
33
# (clean way of doing 'rm -Rf *')
4+
# (c) 2019-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
set -e -x
68

if-multiple-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
# run specified command if there are more than one ebuild versions
33
# in current dir
4+
# (c) 2019-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
no=0
68

llvm-foreach-pkg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# run specified command for all LLVM packages, in bump order
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
cd "$(git rev-parse --show-toplevel)" || exit 1
57

llvm-foreach-pkg-rev

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# run specified command for all LLVM packages, in reverse bump order
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
cd "$(git rev-parse --show-toplevel)" || exit 1
57

llvm-patchset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# generate LLVM patchset
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
25

36
set -e -x
47
scriptdir=${BASH_SOURCE%/*}

lr-add-pmask

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# add a template package.mask entry for pkg ${1} with bug ${2}
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
pkg=${1}
57
bug=${2}

lr-commit-pmask

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# commit the new entry to package.mask
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

lr-file-bug

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# open a browser with template for filing removal bug for pkg(s) ${*}
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

lr-mail-pmask

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# open a mail client with template last rites mail based on current diff
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e
57

lr-remove

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# remove the specified package, opening all relevant bugs in the browser
33
# and grepping profiles for stale references
44
# note: package.mask entry must be removed first!
5+
# (c) 2019-2024 Michał Górny <[email protected]>
6+
# SPDX-License-Identifier: GPL-2.0-or-later
57

68
scriptdir=${BASH_SOURCE%/*}
79
pkg=${1}; shift

mkpatchset

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# create a patchset tarball and upload it to dev.g.o
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e -x
57
tag=${1}

pkg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# print package name for current directory
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
path=$(git rev-parse --show-prefix)
57
echo "${path%/}"

pkgbump

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# (c) 2019-2024 Michał Górny <[email protected]>
3+
# SPDX-License-Identifier: GPL-2.0-or-later
24

35
for arg; do
46
if [[ ${arg} != *.ebuild ]]; then

pkgcommit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# handy wrapper for 'git commit', prepending package name
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
args=()
57
msg=

pkgdiff-mg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# diff sources unpacked by two ebuilds (works only for simple ebuilds)
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
set -e -x
57

pkgmove

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# perform a package move
3+
# (c) 2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
25

36
set -e -x
47

pypy-patchset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# generate PyPy patchset
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
25

36
set -e -x
47
scriptdir=${BASH_SOURCE%/*}

python-patchset

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# generate CPython patchset
3+
# (c) 2022-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
25

36
set -e -x
47
scriptdir=${BASH_SOURCE%/*}

rdep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# print revdeps of packages specified on command-line
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
# bsdtar is faster than GNU tar
57
if command -v bsdtar >/dev/null; then

rdep-fetch-cache

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# fetch cache for rdep
3+
# (c) 2020-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
mkdir -p "${TMPDIR:-/tmp}"/mgorny-dev-scripts || exit 1
57
cd "${TMPDIR:-/tmp}"/mgorny-dev-scripts || exit 1

stablereq-eshowkw

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22
# grab stabilization candidates and pipe them into eshowkw
3+
# (c) 2021-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
pkgcheck scan ${PKGCHECK_ARGS} -c StableRequestCheck \
57
-R FormatReporter --format '{category}/{package}' "${@}" |

stablereq-find-candidates

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env bash
2+
# format stabilization candidates for maintainer
3+
# (c) 2022-2024 Matt Turner <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
25

36
set -e
47

stablereq-find-pkg-bugs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
22
# grab stabilization candidates and pipe them into find-pkg-bugs
3+
# (c) 2021-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
pkgcheck scan ${PKGCHECK_ARGS} -c StableRequestCheck \
57
-R FormatReporter --format '{category}/{package}' "${@}" |

stablereq-make-list

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/sh
22
# grab stabilization candidates and pipe a list of 'file-stablereq' commands
33
# into an editor
4+
# (c) 2021-2024 Michał Górny <[email protected]>
5+
# SPDX-License-Identifier: GPL-2.0-or-later
46

57
pkgcheck scan ${PKGCHECK_ARGS} -c StableRequestCheck -R FormatReporter \
68
--format '={category}/{package}-{version}' "${@}" |

urlencode

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
22
# Quick wrapper to URL-encode stdin to stdout, via Perl.
3+
# (c) 2019-2024 Michał Górny <[email protected]>
4+
# SPDX-License-Identifier: GPL-2.0-or-later
35

46
exec perl -MURI::Escape -00 -p -e 'chomp; $_ = uri_escape $_'

0 commit comments

Comments
 (0)