Commit Graph

380 Commits

Author SHA1 Message Date
chess.griffin
0f2b5f3d1b remove a few FIXME leftovers 2009-02-08 00:33:33 +00:00
mauro.giachero
d068d9d713 Avoid some "No such file or directory" errors.
$PRECHECKLOG and $SBOPKGOUTPUT aren't guaranteed to exist
(the first when building single [unqueued] packages, the
second when the user interrupts the build with CTRL-C).
Test file existence before trying to 'cat', to avoid
spurious error messages in these cases.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-07 20:14:10 +00:00
chess.griffin
45d3b579fb update ChangeLog-current.txt 2009-02-05 16:48:20 +00:00
mauro.giachero
3dd66f8871 Document the -p switch in the man page.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-05 13:58:39 +00:00
mauro.giachero
b9dad2286e Assorted fixes to the menu navigation
This patch brings in some fixes to the menu navigation (like some
"Main Menu" buttons not bringing to the main menu and some erratic
behavior when pressing ESC) and puts a new "Main Menu" button
in the search results dialog.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-05 13:48:03 +00:00
mauro.giachero
02e0d19060 Updates: make the progress bar interruptible with ESC
Add a simple non-blocking read-alike function and use it to check
whether the user pressed ESC during the updates.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-05 08:10:12 +00:00
mauro.giachero
ef8c8602fa Apply slakmagik's misc (cleanup) patch
This patch cleans up the code, removing some useless parts
and fixing some style issues (some user-visible).
Many thanks are again due to to slakmagik for his continuous
efforts in improving sbopkg!

Signed-off-by: slakmagik
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-05 08:09:51 +00:00
mauro.giachero
5a7e20a146 Search: apply slakmagik's search_string patch
This patch adds the ability to search applications' READMEs
for specific words, also using regular expressions.
Many thanks to slakmagik for implementing this in the first place
and for his efforts in addressing the minor problems affecting
earlier versions of the code.

Signed-off-by: slakmagik
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-05 08:09:42 +00:00
chess.griffin
232921deb5 modify ChangeLog-current.txt 2009-02-03 03:49:53 +00:00
chess.griffin
ab38f5e12a modify ChangeLog-current.txt; also, I meant to change SQDIR to QUEUEDIR before committing r433 but forgot (I like more descriptive vars); make that change now 2009-02-03 03:49:01 +00:00
chess.griffin
08d85254d1 commit slakmagik's view_more_file patch that provides a means for the user to view other files in the repo, such as doinst.sh and .desktop files, adds a new sbopkg.conf variable, SQDIR, for 'saved queues directory' and provides a list of saved queues instead of asking the user to enter a filename; thanks to slakmagik for the patch; modified by Mauro and Chess 2009-02-03 03:38:44 +00:00
chess.griffin
fecac6f520 commit slakmagik's 'useless uses of cat' patch ;-); thanks to slakmagik for the patch and thanks to Mauro for some comments and modifications to it. 2009-02-02 20:22:48 +00:00
chess.griffin
11192d71f0 tag and release 0.26.2 2009-01-31 02:08:12 +00:00
chess.griffin
35a005c7b4 fix regression where packages could not be installed in certain instances 2009-01-31 02:00:51 +00:00
chess.griffin
e287141392 fix filetype on ChangeLog-current and both man pages back to unix; not sure how those got switched to dos 2009-01-30 23:09:43 +00:00
chess.griffin
f87a74ecf5 update ChangeLog-current.txt 2009-01-30 23:04:33 +00:00
chess.griffin
1f34ff46c3 tag and release 0.26.1 2009-01-30 22:07:32 +00:00
chess.griffin
947a853332 update ChangeLog-current.txt 2009-01-30 04:44:05 +00:00
chess.griffin
30155b7ff5 fix issue where user would be told each individual update was added to the queue as it was added; also fix bug where sometimes search results would be duplicated in the search results dialog; thanks to Phillip Warner for both bug reports. 2009-01-30 04:34:45 +00:00
chess.griffin
0da24771d3 update ChangeLog-current.txt 2009-01-30 04:21:56 +00:00
chess.griffin
1b25251101 modify sbopkg.conf and related man page regarding changing SLACKVER=12.2 to SLACKVER=12.2; thanks to TSquaredF for the suggestion 2009-01-30 04:18:27 +00:00
chess.griffin
780d64ff49 commit slakmagik's 'reassignment and convert to case' patch; also, implement a couple of security fixes, namely, customize the info_item and queue menus depending if user is not root (thanks to slakmagik for the original implementation of this), and also, do a couple of checks in install_package funtion, including checking that user is root and also that package to be installed has root:root permissions; thanks to Phillip Warner for raising these issues. 2009-01-30 03:43:33 +00:00
chess.griffin
3d42a4be4b update for-next-release 2009-01-30 02:49:32 +00:00
chess.griffin
e9213e6fd4 tag and release 0.26.0 2009-01-29 14:47:33 +00:00
chess.griffin
4e0be8025f Update ChangeLog-current.txt for 0.26.0 release 2009-01-29 14:41:47 +00:00
mauro.giachero
0753b20302 Fix info_item $ARCH visualization
This patch fixes most of the problems with $ARCH visualization
in info_item.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-29 14:36:18 +00:00
chess.griffin
e41f94790f remove most of the remaining old commented out code 2009-01-28 17:30:23 +00:00
chess.griffin
08db2b3c1a clean up changes to check_write 2009-01-28 17:26:35 +00:00
chess.griffin
5e44f31e73 correctly test whether we are loading a queue so as to not show a done message after each one is loaded -- introduced in r400 and r401 2009-01-28 15:33:07 +00:00
chess.griffin
d65a97ca30 forgot to remove UPDATELIST-DEBUGGING from sbopkg.SlackBuild 2009-01-28 14:56:47 +00:00
chess.griffin
f80218a292 remove UPDATELIST-DEBUGGING; update TODO; remove reference to UPDATELIST-DEBUGGING from sbopkg(8) man page 2009-01-28 14:49:17 +00:00
chess.griffin
4a6a0825e9 list sbopkg-renames in sbopkg(8) man page; minor ChangeLog-current.txt edits 2009-01-28 14:43:31 +00:00
chess.griffin
c093887f28 add simple check for sbopkg-renames 2009-01-28 14:25:55 +00:00
mauro.giachero
160ad59fad Properly manage sbopkg-renames on install
Since the sbopkg-renames is just another configuration file,
give it the .new extension and manage it on installation.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-28 12:56:23 +00:00
mauro.giachero
7a23a7cf8c Print MD5 sums on failures
Print the obtained and expected MD5 sums on mismatch.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-28 12:56:12 +00:00
mauro.giachero
157991f117 Allow users to use sbopkg without a global configuration file
This patch allows users to run sbopkg even without the global
configuration file, or when it doesn't contain all the required
variables, as long as the ~/.sbopkg.conf file is available and
complete enough to fill the gaps.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-28 12:56:04 +00:00
chess.griffin
ff2d6ef940 remove commented out code in queue_menu and utilities_menu 2009-01-27 19:48:08 +00:00
chess.griffin
59bfe8bf28 remove old commented out code replaced by new add_item_to_queue function. 2009-01-27 19:43:11 +00:00
chess.griffin
221ca87dfb remove old browsing code: get_category_items_list and browse_items 2009-01-27 19:19:48 +00:00
chess.griffin
fedbca2b32 say goodbye to old update code :-) 2009-01-27 19:16:05 +00:00
chess.griffin
2b278c7294 update ChangeLog-current.txt 2009-01-27 17:50:38 +00:00
chess.griffin
b5789a4b57 work on the delete queue; fix sed expression removing ON or OFF b/c it was causing some strangeness from time to time; also, redo the commit where nothing displayed if user presses 'Done' without making any changes 2009-01-27 17:35:14 +00:00
chess.griffin
f5b861fea9 extend last commit to backup queue i.e., do not prompt for each pkg in backup queue as it is loaded; do not tell user items were deleted from queue if nothing was deleted; make the backup silent; update for-next-release 2009-01-27 16:49:43 +00:00
chess.griffin
58d38b7dec do not prompt user after each individual app is added to the queue when loading a saved queue (but still provide this feedback for single additions to the queue from info_item or search results; also, do not ask user if they want to keep or delete queue when doing a single build; thanks to alkos333 for the suggestion on the former. 2009-01-27 16:29:02 +00:00
mauro.giachero
0a7c217a08 Delete queue: make better use of 'sed'
Make delete_build_queue() use 'sed' the right way instead
of doing an "approximate" first pass and a second "fix-up"
patch.

Many thanks to slakmagik for pointing out the issue and
for providing the right regular expressions. Also, my
sincere apologies for crediting him as "jsunx1" in some
previous commits.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-27 15:53:58 +00:00
mauro.giachero
66d1ecb5de Update list: show progress indicator
Show a nice progress indicator instead of a "please wait"-style message.
The code containg a CLI implementation of a progress bar, and a gateway
function choosing between the "dialog" and the "cli" version depending
on whether we're using ncurses. The code should also be generic
enough to be reused whenever another gauge comes handy.

Many thanks to alkos333 for the idea and for the "dialog" implementation.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-27 15:53:47 +00:00
chess.griffin
942a6d3c55 update for-next-release 2009-01-27 15:10:27 +00:00
chess.griffin
6474e2de71 update contributors - fix João's name and add TSquaredF 2009-01-27 04:16:42 +00:00
chess.griffin
5a6df761a0 show BUILD in prechecklog; change 'ERROR' to 'WARNING' when app is already in the queue; update for-next-release 2009-01-27 03:40:58 +00:00
chess.griffin
5c9513e4a6 update ChangeLog-current.txt 2009-01-27 03:20:22 +00:00