autodist-repository: integration with autodist-git for import and release functionalities
This commit is contained in:
parent
e629f9561c
commit
e8ae210c2d
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# autodist repositories maintainance script
|
# autodist repositories maintainance script
|
||||||
# Copyright (c) 2007-2023 by Silvan Calarco
|
# Copyright (c) 2007-2024 by Silvan Calarco
|
||||||
#
|
#
|
||||||
. /etc/autodist/config
|
. /etc/autodist/config
|
||||||
[ -r /etc/autodist/config-secret ] && . /etc/autodist/config-secret
|
[ -r /etc/autodist/config-secret ] && . /etc/autodist/config-secret
|
||||||
@ -576,6 +576,9 @@ function import_package() {
|
|||||||
}
|
}
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
|
# Sync new release with autodist-git
|
||||||
|
[ "$AUTODIST_GIT_SYNC" != "" ] && autodist-git syncpkg ${import_pkg}
|
||||||
|
|
||||||
#for i in ${pkg_obsoletes}; do
|
#for i in ${pkg_obsoletes}; do
|
||||||
# PKG_FILENAME="$i-$pkg_version-$pkg_release.$namearch.rpm"
|
# PKG_FILENAME="$i-$pkg_version-$pkg_release.$namearch.rpm"
|
||||||
# DEST_URL_ARCH=$DEST_URL/$destrepository/RPMS.$namearch/$PKG_FILENAME
|
# DEST_URL_ARCH=$DEST_URL/$destrepository/RPMS.$namearch/$PKG_FILENAME
|
||||||
|
@ -24,6 +24,7 @@ AUTOPORT_MAX_STEPS=10
|
|||||||
#RPMDIR=/usr/src/RPM
|
#RPMDIR=/usr/src/RPM
|
||||||
AUTODIST_REBUILDOLD_MAX=20
|
AUTODIST_REBUILDOLD_MAX=20
|
||||||
AUTODIST_REBUILDOLD_FROMDATE=20090101
|
AUTODIST_REBUILDOLD_FROMDATE=20090101
|
||||||
|
#AUTODIST_GIT_SYNC=1
|
||||||
#
|
#
|
||||||
# Set to disable autodist-repository and use local list
|
# Set to disable autodist-repository and use local list
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user