mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-12 21:10:21 +03:00
revise build queue explanatory text; change references to 'build queue'; remove some cruft from sbopkg; revise sbopkg(8) man page re: build queue; revise README re: build queue; remove 'no updates' from debug list unless an internal 'FULL DEBUG' variable is set
This commit is contained in:
parent
51277783f5
commit
6f0dd4ea29
@ -44,6 +44,7 @@ SBOPKG_CONF="${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf}"
|
||||
CWD="$(pwd)"
|
||||
SBOVER=SVN
|
||||
UPDATE_DEBUG="1" # This will be uncommented in SVN and RC releases
|
||||
#FULL_DEBUG="1" # This will be commented except for my testing
|
||||
|
||||
config_check () {
|
||||
# Check if config file is there and if so check that it has all
|
||||
@ -384,7 +385,7 @@ potential updates..." >> $UPDATELIST
|
||||
fi
|
||||
#elif [[ $VERSION$NEWSRCVER = $VER && $NEWBUILD = $BUILD ]]; then
|
||||
elif [[ $TESTVERSION$TESTNEWSRCVER = $TESTVER && $NEWBUILD = $BUILD ]]; then
|
||||
if [ "$UPDATE_DEBUG" = 1 ]; then
|
||||
if [[ "$UPDATE_DEBUG" = 1 && "$FULL_DEBUG" = 1 ]]; then
|
||||
echo $NAME: >> $UPDATELIST
|
||||
echo " No update." >> $UPDATELIST
|
||||
echo " Debug: " $VERSION$NEWSRCVER-$NEWARCH-$NEWBUILD >> $UPDATELIST
|
||||
@ -586,7 +587,7 @@ elif [ $CHOICE = 0 ]; then
|
||||
if [ "$U" = "Queue" ]; then
|
||||
echo "$APP $RVERSION-$RBUILD ON" >> $TMP/sbopkg-tmp-queue
|
||||
dialog --title "Done" --msgbox "$APP has been added to the \
|
||||
build/install queue." 8 30
|
||||
build queue." 8 30
|
||||
fi
|
||||
if [ "$U" = "Build" ]; then
|
||||
echo "$APP" > $TMP/sbopkg-start-queue
|
||||
@ -737,18 +738,21 @@ fi
|
||||
}
|
||||
|
||||
view_queue () {
|
||||
# This function displays the contents of the build/install queue.
|
||||
# This function displays the contents of the build queue.
|
||||
TMPQUEUE=$TMP/sbopkg-tmp-queue
|
||||
WORKINGQUEUE=$TMP/sbopkg-working-queue
|
||||
if [ ! -e $TMPQUEUE ]; then
|
||||
dialog --title "Empty Queue" --msgbox "The build/install \
|
||||
dialog --title "Empty Queue" --msgbox "The build \
|
||||
queue is empty." 8 30
|
||||
continue
|
||||
else
|
||||
dialog --title "Viewing Build Queue" --separate-output \
|
||||
--checklist "Please select or unselect those packages \
|
||||
you wish to keep in the queue and then <Ok> to continue \
|
||||
or press <Cancel> to exit." 18 40 8 \
|
||||
--checklist "The following packages are currently in the \
|
||||
build queue. Please note that when the build queue is processed, \
|
||||
the packages selected below will be built, and optionally installed, \
|
||||
in the order listed from top to bottom.\n\nPlease select or unselect \
|
||||
those packages you wish to keep in the build queue and then press \
|
||||
<Ok> to continue or press <Cancel> to exit." 30 50 8 \
|
||||
--file $TMPQUEUE 2>$TMP/sbopkg-ans-queue
|
||||
if [ $? = 1 ]; then
|
||||
rm -rf $TMP/sbopkg-ans-queue
|
||||
@ -766,7 +770,6 @@ or press <Cancel> to exit." 18 40 8 \
|
||||
if [ "$BUILDPKGS" = 1 ]; then
|
||||
mv $TMP/sbopkg-ans-queue $TMP/sbopkg-start-queue
|
||||
fi
|
||||
#rm -rf $TMP/sbopkg-ans-queue
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@ -1383,11 +1386,11 @@ if [ "$DIAG" = 1 ]; then
|
||||
fi
|
||||
if [ -e $TMP/sbopkg-tmp-queue ]; then
|
||||
dialog --title "Delete Queue?" --yes-label "Keep" --no-label \
|
||||
"Delete" --yesno "Would you like to keep the queue or would \
|
||||
you like to delete it?" 6 40
|
||||
"Delete" --yesno "Would you like to keep the build queue or \
|
||||
would you like to delete it?" 6 40
|
||||
if [ $? = 1 ]; then
|
||||
rm -rf $TMP/sbopkg-tmp-queue
|
||||
dialog --title "Done" --msgbox "The queue has been \
|
||||
dialog --title "Done" --msgbox "The build queue has been \
|
||||
deleted." 8 35
|
||||
fi
|
||||
fi
|
||||
@ -1463,8 +1466,8 @@ dialog --default-item "$R" --title "SlackBuilds.org Package Browser \
|
||||
"Browse" "Browse the local SlackBuilds.org repo" \
|
||||
"Search" "Search the local SlackBuilds.org repo" \
|
||||
"Cache" "View the contents of the cache directory" \
|
||||
"View" "View the build/install queue" \
|
||||
"Queue" "Process the build/install queue" \
|
||||
"View" "View the build queue" \
|
||||
"Queue" "Process the build queue" \
|
||||
"Log" "View the permanent build log" \
|
||||
"Version" "Select Slackware version (currently: $SLACKVER)" \
|
||||
"Readme" "View the sbopkg README" \
|
||||
@ -1521,7 +1524,6 @@ fi
|
||||
|
||||
if [ "$R" = "Queue" ]; then
|
||||
BUILDPKGS=1
|
||||
#cp $TMP/sbopkg-tmp-queue $TMP/sbopkg-build-queue
|
||||
process_queue
|
||||
fi
|
||||
|
||||
|
@ -17,11 +17,12 @@ README, SlackBuild, .info, and slack-desc files for each package, and
|
||||
make manual edits to a copy of the original .info or SlackBuild files.
|
||||
Sbopkg will also allow the user to select packages to build and it
|
||||
will download the source code, check the md5sum, build a Slackware
|
||||
package, and, if using the dialog interface, install the package. It
|
||||
will not check dependencies since that is not a feature native to
|
||||
Slackware. Sbopkg is one thing and one thing only: a medium to easily
|
||||
browse a local copy of the SlackBuilds.org repository and build
|
||||
packages from it.
|
||||
package, and, optionally install the package. The user can also
|
||||
build, and optionally install, more than one package by using the
|
||||
'build queue' feature. Sbopkg will not check dependencies since that
|
||||
is not a feature native to Slackware. Sbopkg is one thing and one
|
||||
thing only: a medium to easily browse a local copy of the
|
||||
SlackBuilds.org repository and build packages from it.
|
||||
|
||||
Sbopkg can be also be used strictly from the command line without the
|
||||
dialog interface to do most of the above items. Typing sbopkg -h
|
||||
|
@ -41,11 +41,11 @@ and if sbopkg finds a built package for a particular piece of software
|
||||
in the OUTPUT directory, then sbopkg will automatically add a new menu
|
||||
entry allowing the user to install the package if he so choosed.
|
||||
Alternatively, if sbopkg is run from the command line, the user can
|
||||
choose to build or build and install packages automatically. There
|
||||
is also an ability to add packages to a 'bulk build queue' for
|
||||
batch processing in the order listed in the queue. Finally, if
|
||||
KEEPLOG is set to YES in the sbopkg.conf file then a permanent log
|
||||
of the build process is saved in /tmp/sbopkg-build-log.
|
||||
choose to build or build and install packages automatically. There is
|
||||
also an ability to add packages to a 'build queue' for batch
|
||||
processing in the order listed in the queue. Finally, if KEEPLOG is
|
||||
set to YES in the sbopkg.conf file then a permanent log of the build
|
||||
process is saved in /tmp/sbopkg-build-log.
|
||||
|
||||
Alternatively, sbopkg can be run from the command line without using
|
||||
the dialog interface. Executing "sbopkg -h" will display a list of
|
||||
|
Loading…
Reference in New Issue
Block a user