Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
896c031ea9 | |||
8f16db45e8 | |||
47ee03e1a4 | |||
17f49857e2 |
@@ -74,7 +74,7 @@ show_deps(){
|
||||
}
|
||||
|
||||
subrepo_new(){
|
||||
local group="$1" team="$2"
|
||||
local group="${1:-$GROUP}" team="${2:-$TEAM}"
|
||||
local dest=${TREE_DIR_ARTIX}/$group/${PACKAGE}/trunk
|
||||
|
||||
cd ${TREE_DIR_ARTIX}/$group
|
||||
|
@@ -19,6 +19,7 @@
|
||||
|
||||
# TREE_DIR_ARTIX=${WORKSPACE_DIR}/artixlinux
|
||||
|
||||
# customize buildtree, packages and community should be enabled
|
||||
# TREE_NAMES_ARTIX=(
|
||||
# packages
|
||||
# community
|
||||
@@ -30,6 +31,7 @@
|
||||
# packages-xorg
|
||||
# packages-python
|
||||
# packages-perl
|
||||
# packages-java
|
||||
# packages-qt5
|
||||
# packages-devel
|
||||
# packages-ruby
|
||||
|
@@ -84,6 +84,7 @@ init_artools_pkg(){
|
||||
packages-xorg
|
||||
packages-python
|
||||
packages-perl
|
||||
packages-java
|
||||
packages-qt5
|
||||
packages-devel
|
||||
packages-ruby
|
||||
@@ -94,6 +95,7 @@ init_artools_pkg(){
|
||||
packages-mate
|
||||
packages-kde
|
||||
packages-xfce
|
||||
# packages-haskell
|
||||
)
|
||||
|
||||
HOST_TREE_ARTIX=${HOST_TREE_ARTIX:-"gitea@${GIT_DOMAIN}:artixlinux"}
|
||||
|
@@ -54,9 +54,10 @@ load_team_id(){
|
||||
add_repo_to_team(){
|
||||
local pkg="$1" org="$2" team="$3"
|
||||
local id=$(load_team_id "$org" "$team")
|
||||
local gitname=$(get_compliant_name "$pkg")
|
||||
|
||||
msg2 "Adding package repo [%s] to team (%s)" "$pkg" "$team"
|
||||
msg2 "Adding package repo [%s] to team (%s)" "$gitname" "$team"
|
||||
|
||||
curl -s -X PUT "${GIT_URL}/api/v1/teams/$id/repos/$org/$pkg?access_token=${GIT_TOKEN}" \
|
||||
curl -s -X PUT "${GIT_URL}/api/v1/teams/$id/repos/$org/$gitname?access_token=${GIT_TOKEN}" \
|
||||
-H "accept: application/json"
|
||||
}
|
||||
|
@@ -154,6 +154,8 @@ get_artix_tree(){
|
||||
$(get_cases xorg)) tree=packages-xorg ;;
|
||||
$(get_cases qt5)) tree=packages-qt5 ;;
|
||||
$(get_cases gtk)) tree=packages-gtk ;;
|
||||
$(get_cases java)) tree=packages-java ;;
|
||||
$(get_cases haskell)) tree=packages-haskell ;;
|
||||
$(get_cases devel)) tree=packages-devel ;;
|
||||
$(get_cases lxqt)) tree=packages-lxqt ;;
|
||||
$(get_cases cinnamon)) tree=packages-cinnamon ;;
|
||||
|
Reference in New Issue
Block a user