Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
02edf46d6a | |||
860d2272ba | |||
0d9e54c4e3 | |||
26bd425d55 |
@@ -40,7 +40,11 @@ pkgrepo_new(){
|
||||
|
||||
prepare_dir "${TREE_DIR_ARTIX}/${group}/${package}/trunk"
|
||||
|
||||
commit_jenkins_files "${package}"
|
||||
commit_ci "${package}"
|
||||
|
||||
# if braid push "${package}"; then
|
||||
# braid update "${package}"
|
||||
# fi
|
||||
else
|
||||
die "Package %s already exists!" "${package}"
|
||||
fi
|
||||
@@ -106,11 +110,20 @@ update_tree() {
|
||||
|
||||
#{{{ patch
|
||||
|
||||
set_maintainer() {
|
||||
local name email path="$1"
|
||||
name=$(git config --get user.name)
|
||||
email=$(git config --get user.email)
|
||||
sed -e "1s|Maintainer:.*|Maintainer: $name <$email>|" \
|
||||
-i "$path"/PKGBUILD
|
||||
}
|
||||
|
||||
patch_pkg(){
|
||||
local pkgpath="$1"
|
||||
local pkg=${pkgpath%/*}
|
||||
pkg=${pkg##*/}
|
||||
sed -e 's|arch-meson|artix-meson|' -i "$pkgpath"/PKGBUILD
|
||||
set_maintainer "$pkgpath"
|
||||
case $pkg in
|
||||
glibc)
|
||||
msg2 "Patching %s" "$pkg"
|
||||
|
@@ -31,7 +31,7 @@ write_agentyaml(){
|
||||
git add "$agent"
|
||||
}
|
||||
|
||||
commit_jenkins_files(){
|
||||
commit_ci(){
|
||||
local pkg="$1"
|
||||
|
||||
write_jenkinsfile "$pkg"
|
||||
|
Reference in New Issue
Block a user