Commit graph

295 commits

Author SHA1 Message Date
chess.griffin
31a2952cbf update for-next-release 2009-01-22 03:38:48 +00:00
chess.griffin
78fadc30cd update Changelog-current.txt 2009-01-22 03:34:52 +00:00
chess.griffin
acf87ceed2 commit patch from slakmagik that improves the handling of the creation of sbopkg-related directories; fix two issues found in recent patches - line split in show_readme broke PAGER; also, incorrect dialog labeling in remove_sources caused that function to fail. 2009-01-22 03:21:43 +00:00
chess.griffin
06c03ecfdc commit patch from slakmagik that improves the checking of root privileges and how error messages related to not having root privileges are handled; thanks to slakmagik for the patch. 2009-01-22 03:03:51 +00:00
chess.griffin
0ab309ea81 commit patch from slakmagik that tweaks the precheck log a bit 2009-01-22 01:32:00 +00:00
chess.griffin
8b4c2e1f19 commit patch from slakmagik that brings user straight back to search box if search fails 2009-01-22 01:29:47 +00:00
chess.griffin
5cb04eb9a8 fix issue where downloaded sources with a space would fail md5sum check (GNOME-Colors, for example); also fix issue with erroneous check for empty_queue when using -b or -i from cli. 2009-01-22 01:26:46 +00:00
chess.griffin
8d4fba2225 a few minor tweaks to some comments; clarify that deleting all items from queue cannot be undone; fix issue in save_user_queue where the queue was sorted, it now just copies the TMPQUEUE to the USERQUEUE. 2009-01-21 13:45:24 +00:00
mauro.giachero
61268e5344 Fixes to delete_build_queue.
Fix the following bugs:
- "dialog" segfaults when asked to display an empty
  menu, so avoid that
- the "empty queue" test is done checking the existence
  of $TMPQUEUE, not its content. For this reason,
  delete $TMPQUEUE if it only contains whitespace.
Also, declare some variables as local.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-21 11:45:43 +00:00
mauro.giachero
f2c618b8e9 Fix view_queue selection with overlapping names.
Fix view_queue selection with packages whose name is the initial
part of another package name (e.g. "libbonobo" and "libbonoboui").

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-21 08:33:45 +00:00
chess.griffin
97ae2a37a6 provide error msg if trying to run updates when using LOCALREPO/local directory 2009-01-21 04:59:28 +00:00
chess.griffin
34689ae6f5 tweak sbopkg.conf(5) man page 2009-01-21 03:20:40 +00:00
chess.griffin
1987c6fd26 edit both man pages about /local directory; other minor nits 2009-01-21 03:18:39 +00:00
chess.griffin
91ca26e6c3 modify sbopkg.conf for LOGFILE; other cleanups in same man page 2009-01-21 03:09:26 +00:00
chess.griffin
54fda65ea5 add support for /home/sbo/local; check if SLACKVER is 'local' before trying to do rsync. 2009-01-21 03:01:37 +00:00
chess.griffin
7279ec8fd2 update ChangeLog-current.txt 2009-01-21 01:35:04 +00:00
chess.griffin
ee51ae0328 add in new sbopkg-renames file which is needed for Mauro's update code. 2009-01-21 01:19:39 +00:00
chess.griffin
3707f1a3cf use new add_item_to_queue function when backup queue is loaded or when user's saved queue is loaded. 2009-01-21 01:05:19 +00:00
chess.griffin
59ef49e159 merge in two patches from slakmagik that allow the user to maintain (and retain between rsyncs) an optional /local/ directory in the local SBo repo tree where the user could have other SlackBuilds created and maintained locally in the SBo style; also, second patch introduces LOGFILE sbopkg.conf variable, which allows the user to set the name and location of the permanent build log; thanks to slakmagik for these two very nice additions. 2009-01-21 00:55:00 +00:00
chess.griffin
da2fa378f7 only check empty_queue in process_queue when BUILDPKGS=1 2009-01-20 22:49:56 +00:00
chess.griffin
db57b92f08 add initial implementation of new delete_build_queue instead of clear_build_queue; this function allows user to remove individual items from queue or delete the whole queue; there are probably other/better ways to do this but this is a first crack at it. 2009-01-20 22:13:13 +00:00
chess.griffin
28950518c6 add new Changelog-current.txt to keep track of changes made for next release 2009-01-20 04:59:11 +00:00
chess.griffin
1a4afd58da modify add_item_to_queue so the three arguments passed to it are APP, VERSIONBUILD, and ONOFF, which make it possible to send the results of the sbopkg-update-queue to this new function for processing 2009-01-20 04:58:06 +00:00
chess.griffin
0d89a29fa0 merge in Mauro's new update code. 2009-01-20 04:38:16 +00:00
chess.griffin
17a05947c2 minor tweaks to add_item_to_queue. 2009-01-20 04:09:42 +00:00
chess.griffin
736b669f67 add two calls to the new add_item_to_queue function, one in the info_item menu (where users add individual items) and in the search results dialog; also add in the code to add_item_to_queue that replaces APP if the user so chooses. 2009-01-20 04:03:06 +00:00
chess.griffin
a2654dd298 fix a few things in add_item_to_queue 2009-01-20 03:39:51 +00:00
chess.griffin
2578c33894 minor whitespace fix; add a new 'add_item_to_queue' that will be a function called from several places -- it takes APP and VERSIONBUILD as arguments, and then tests to see if APP is already in the queue; if not, add it; if so, then ask user if they want to replace or skip. See the comment to this function for more info. This function is not finished and is not called anywhere yet. 2009-01-20 03:35:45 +00:00
chess.griffin
4c37d528ee create an 'empty_queue' function to test if TMPQUEUE is empty since that is done in several places, and then in those other places, just test the return of empty_queue; bring in initial code in the view_queue function where deselecting an item in the queue changes it status from ON to OFF and does not remove it from queue; still need to implement a way to remove items from queue -- maybe turn the 'clear queue' menu item into another checklist where folks can remove individual items or clear the queue. 2009-01-20 03:20:12 +00:00
chess.griffin
da9511b197 commit a large whitespace patch, which does several things, including adding the 'crunch' functions to eliminate extra spaces, reformats the entire script around 78 columns, and improves the formatting of functions and comments; thanks to slakmagik for the patch. 2009-01-20 02:16:19 +00:00
chess.griffin
ca4d249836 add for-next-release file to document short term TODOs 2009-01-19 04:15:03 +00:00
chess.griffin
793ad8511c apply alternate usage patch from slakmagik -- this uses EOF to create the -h help information rather than a bunch of echo lines. 2009-01-18 20:01:09 +00:00
chess.griffin
be7b5f75a1 tag and release 0.25.0 2009-01-17 02:35:02 +00:00
chess.griffin
c1d9f5a0bb revert a minor change to the size of a dialog. 2009-01-17 02:13:46 +00:00
chess.griffin
7e6349b150 add menu item and function to clear build queue. 2009-01-17 02:04:09 +00:00
chess.griffin
9ed8e475c9 tweak how the temporary backup queue is managed; now it is removed automatically whether the user loads it or not. 2009-01-17 00:33:18 +00:00
chess.griffin
f777578f0f forgot to add one change to the check for path code 2009-01-16 21:23:07 +00:00
chess.griffin
7307d03a63 apply another patch from slakmagik to quiet down some more of the junk appearing with certain 'ls' calls; also, add in test for a pathname when user enters the name of the queue to load or save. If no path is detected, then default to save the user's queue in TMP (/tmp/SBo). 2009-01-16 21:11:18 +00:00
chess.griffin
e8d38048a0 apply two patches from slakmagik that fix a variable test, clean up and fix some the slack-desc information capture, and change the updatelist view from cat to PAGER when using the cli; also, add in a few minor tweaks that attempt to avoid the brief junk seen at the bottom of the screen when moving around the dialog interface; there are still a couple of these left, but this fix gets rid of some of it. 2009-01-16 20:03:07 +00:00
chess.griffin
3447f86f3d move check for backup to when queue submenu is first accessed; show a message when quitting sbopkg about the automatic backup. 2009-01-15 20:22:00 +00:00
chess.griffin
8433d5d2da a few tweaks and fixes to the save queue function 2009-01-15 19:33:46 +00:00
chess.griffin
5e46c6d19d rework the loading/saving of build queues per some suggestions from Mauro Giachero; sbopkg now automatically saves a backup of the build queue, but the user may also optionally save the build and provide a specified path and filename and can load that user-saved file too 2009-01-15 18:25:57 +00:00
chess.griffin
06be5149a7 update TODO 2009-01-15 16:16:18 +00:00
chess.griffin
f249764ca7 rename the saved queue; remove an old commented out line 2009-01-15 15:34:38 +00:00
chess.griffin
bc7339f8d6 move queue functions into a separate 'manage queue' submenu off the main menu; add the ability to save (and load) the build queue; other various little tweaks and cleanups. 2009-01-15 14:59:30 +00:00
chess.griffin
ffc002b1e9 add nvidia-kernel hack to the same virtualbox-kernel one 2009-01-15 03:03:27 +00:00
chess.griffin
10d840b18b remove the sed /+/x/ update list hack because that is handled by the specific hacks for libsigc++, libxml++, and TiMidity++; move and reorganize those last three hacks; add in a new hack for virtualbox-kernel (one for nvidia-kernel will likely soon follow); other minor cleanups. 2009-01-15 02:57:54 +00:00
chess.griffin
1e0e6a4eb7 improve the new sbopkg update download checker by removing duplicate code and providing a more detailed exit message when the download is complete. 2009-01-14 19:54:47 +00:00
chess.griffin
b3f8c90ba9 modify the 'check for update to sbopkg' code to show a different message if running from svn; also, if not running from svn, and it finds an updated package, offer to download the updated package; this is a precursor to having sbopkg update itself -- for now, it just downloads the updated package to OUTPUT. 2009-01-14 18:32:27 +00:00
chess.griffin
395954a76e allow user to press ESC to exit out of the build/build or install dialog properly; it had to be done this way due to what I believe is a bug in dialog. 2009-01-14 16:47:12 +00:00