Compare commits

...

2 Commits

Author SHA1 Message Date
Maciej Barć
917dd8f982
src/*: add headers where appropriate
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-12-22 01:52:05 +01:00
Maciej Barć
98fa5b7665
src/here-pull-overlays: stylize; add header
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-12-22 01:48:17 +01:00
12 changed files with 66 additions and 11 deletions

View File

@ -1,6 +1,11 @@
#!/usr/bin/env bash
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
# CI Ebuild commit tester
# Run this in a overlay directory.
# This script uses pkgcheck and repoman

View File

@ -1,6 +1,10 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
# Clean md5-cache from the overlay directory

View File

@ -1,6 +1,11 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
trap 'exit 128' INT
set -e
export PATH

View File

@ -1,6 +1,11 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
trap 'exit 128' INT
export PATH

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
# Source this to enter the Eprefix environment
# Like this for example:
# $ source $HOME/gentoo/eprefix-activate

View File

@ -1,17 +1,21 @@
#!/usr/bin/env bash
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
set -o pipefail
trap 'exit 1' INT
trap 'exit 128' INT
export PATH
emsg()
{
emsg() {
echo "$(tput bold)$(tput setaf 6)>>> $(tput setaf 4)$(date +%H:%M:%S)$(tput setaf 7) ${*} $(tput sgr0)"
}
edie()
{
edie() {
if [ -z "${1}" ]
then
emsg "$(tput setaf 1)Failed: last command"
@ -20,17 +24,16 @@ edie()
fi
exit 1
}
erun()
{
erun() {
emsg "Running: ${*}"
"${@}" | busybox ts '>>> %H:%M:%S' || edie "${@}"
}
einto()
{
einto() {
pushd "${1}" >/dev/null || edie "Could not open ${1}"
}
eback()
{
eback() {
popd >/dev/null || edie
}

View File

@ -1,6 +1,10 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
# Scan with euscan + log
# Requires:
# - eix

View File

@ -1,6 +1,10 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
# Use this script to check which pkgs in a overlay might
# be redundant - are in overlays other than the tested one

5
src/pn
View File

@ -1,6 +1,11 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
trap 'exit 128' INT

View File

@ -1,6 +1,11 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
trap 'exit 128' INT
export PATH

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
# CI Ebuild commit tester
# Run this in a overlay directory.
# This script uses repoman

View File

@ -1,13 +1,20 @@
#!/bin/sh
# Original author: XGQT
# Licensed under the ISC License
# Copyright (c) 2020, src_prepare group
trap 'exit 128' INT
export PATH
git submodule update --init --recursive
git submodule update --remote --merge
git add .
git commit --signoff --message="submodules update"
git pull --verbose
git push --verbose