Commit Graph

308 Commits

Author SHA1 Message Date
chess.griffin
46abc202a4 modify README 2008-08-27 02:37:33 +00:00
chess.griffin
7853477853 fix a few problems with the check if repo exists function 2008-08-27 02:26:20 +00:00
chess.griffin
cef3a124a7 remove the function to create the LOCALREPO/SLACKVER and essentially move it to the sanity checks function with the other create directory commands; lots of tweaks and cleanups to the various error code checks and displayed messages 2008-08-27 02:18:48 +00:00
chess.griffin
f97244d0cf add non-dialog message for no repo exists function; add more calls to such function for cli usage 2008-08-27 01:41:15 +00:00
chess.griffin
713ebe612c tweak sbopkg.conf man page 2008-08-27 01:30:44 +00:00
chess.griffin
e05d069c2b modify message displayed if TMP cannot be cleaned due to permissions etc 2008-08-27 00:50:01 +00:00
chess.griffin
409b179163 make a function out of checking if a local repo exists since that is used several times 2008-08-27 00:44:07 +00:00
chess.griffin
1a63682c4b modify sbopkg.conf(5) man page based on modified sbopkg.conf.new file 2008-08-25 02:26:40 +00:00
chess.griffin
95ad7b9b92 improve error checking when trying to make the various sbopkg directories or when trying to clean out TMP 2008-08-25 01:55:36 +00:00
chess.griffin
0fa74d11e8 modify sbopkg.conf.new to export TMP among other changes; a big thanks to Ken Roberts for the bug report and diff, and for putting up with my questions and dialog while hashing this out. :-) 2008-08-24 22:01:58 +00:00
chess.griffin
6b3e949781 modify wget timeout to 10 seconds, add -t 5 for maximum 5 tries 2008-08-24 04:05:20 +00:00
chess.griffin
218bc9e142 whitespace cleanups 2008-08-24 02:52:21 +00:00
chess.griffin
1cdb236a26 add a new sanity check for ; modify sanity checks to create any missing directory after giving the user the chance to bail out. 2008-08-24 02:48:04 +00:00
chess.griffin
4d042bed39 edit both man pages to refer to sbopkg.conf.new 2008-08-24 02:25:13 +00:00
chess.griffin
46bb9be10c move sbopkg.conf.sample to sbopkg.conf.new in anticipation of new doinst.sh script 2008-08-24 02:23:42 +00:00
chess.griffin
0b8118b924 add in artwiz-aleczapka and graveman fixes; clean up alignment from contributed patch; move a bit of code around. 2008-08-23 22:13:14 +00:00
chess.griffin
327a0e49f0 change case of Readme item in main menu to make it consistent with other menu entries 2008-08-22 04:11:50 +00:00
chess.griffin
6132b09a24 add feature to view sbopkg README 2008-08-21 04:19:10 +00:00
chess.griffin
f47761e68a clean up docs 2008-08-21 04:15:28 +00:00
chess.griffin
d1998b53de revise README; add samac ton contributors list; modify update code so it displays the in the repo version 2008-08-21 03:43:23 +00:00
chess.griffin
d8625e4f23 add fix for powertop in update list 2008-08-19 03:43:18 +00:00
chess.griffin
8423b86bdf add in a 'Return to Main Menu' from main package info menu; thanks to Murat D. Kadirov for the suggestion 2008-08-19 03:41:35 +00:00
chess.griffin
cdf7743120 commit patch from Bert Babington that fixes ubuntulooks update bug, removes $ARCH from the update comparison code to prevent false positive when different arches are used, and fixes libsigc++ and TiMidity++ update bugs 2008-08-19 03:37:13 +00:00
chess.griffin
d6502e7a23 fix typos in sbopkg.conf man page regarding TMP and OUTPUT; thanks to samac for the bug report. 2008-08-14 18:26:04 +00:00
chess.griffin
e1b1e0e52e clean up whitespace in docs and man pages 2008-08-14 00:30:05 +00:00
chess.griffin
8d6c223447 Clean up the language at the top of most menus to make the grammar and punctuation consistent. 2008-08-13 14:00:52 +00:00
chess.griffin
f99efffa93 fix one more missed whitespace cleanup 2008-08-13 13:17:31 +00:00
chess.griffin
8e950b4374 fix one missed whitespace cleanup 2008-08-13 13:14:48 +00:00
chess.griffin
680d90c7ad apply whitespace cleanup diff from Erik Hanson 2008-08-13 13:13:15 +00:00
chess.griffin
716998b66d add comment in sbopkg.conf.sample about the man page and environmental variables 2008-08-12 21:58:40 +00:00
chess.griffin
03814d07d8 modify the search code (swap grep for -iname) which eliminates false positives; thanks to Erik Hanson for the fix 2008-08-12 17:33:43 +00:00
chess.griffin
cce0fe45e3 add -i switch to grep in gen_search_package for case insensitive searches 2008-08-12 13:12:33 +00:00
chess.griffin
98fdb52d1d add while loop in the search results display page so that after viewing a search item, the user is returned to the search results 2008-08-12 03:23:21 +00:00
chess.griffin
b4c92cdce8 merge new patch from Erik Hanson that grealy improves how the search results are displayed in the dialog interface; this also changes how the browse results are displayed as well 2008-08-12 01:29:05 +00:00
chess.griffin
c555c6225b remove commented out cruft; tweak search results output; still not overly pleased with the search results output, but it will do for now. 2008-08-11 21:55:20 +00:00
chess.griffin
830dea2edc fix a stupid bug on my part that would cause the search to break 2008-08-11 21:22:48 +00:00
chess.griffin
9be1703214 apply patch from Erik Hanson to extend menu navigation to info_item menu 2008-08-11 21:14:23 +00:00
chess.griffin
4ca84deaf2 adding code derived from Erik Hanson's patch that, after performing a search from within the dialog interface, allows the user to jump directly to the menu for the selected search result; the way the search results now look is a bit funky and probably needs some cleanup, but this will work for now 2008-08-11 17:37:18 +00:00
chess.griffin
2473d5af3d fix typos and add tweaks to both man pages 2008-08-11 02:28:00 +00:00
chess.griffin
57570758f8 merge patch from Erik Hanson; Erik's improvements include the echo statement when running the update list and the ability to retain the users place when navigating the various menus (i.e. will return to the same place in the menu); also add in argtable and libevent update fix per Erik's bug report 2008-08-11 02:02:11 +00:00
chess.griffin
63fb6ae94b add two new features: ability to clear the cache directory and ability to display a list of all installed SBo packages; toss in a few minor cleanups 2008-08-09 03:04:38 +00:00
chess.griffin
3dcf9ab880 add ctorrent fix; add another debug output if $UPDATE_DEBUG = 1 2008-08-05 19:10:22 +00:00
chess.griffin
5ed68c6bdf update sbopkg.conf(5) man page to include explanation about setting environmental variables 2008-08-05 16:43:38 +00:00
chess.griffin
59e9187183 add fix for TiMidity (thanks to ktabic for the report); switched $OUTPUT variable to $SBOPKGOUTPUT to avoid conflicts when $OUTPUT is exported in sbopkg.conf - i.e. to build packages somewhere other than /tmp/SBo (thanks to Ken Roberts for the bug report) 2008-08-05 14:50:00 +00:00
chess.griffin
13190c01f3 added a message at end of rsync notifying user the rsync is complete 2008-08-03 19:01:30 +00:00
chess.griffin
81c5fac4bb remove a bit of crufty commented out code; add to contributors list 2008-08-02 15:28:08 +00:00
chess.griffin
7e66ccb047 change date in man pages; tweak TODO and README 2008-08-02 15:23:45 +00:00
chess.griffin
e506f6799d add message to cli update check regarding UPDATELIST-DEBUGGING doc 2008-08-02 04:20:10 +00:00
chess.griffin
ab24a6a0ff add openarena hack; I guess these hacks are, for now, the easiest way to deal with the few slackbuilds that change the version number or include an svn snapshot or, like openoffice.org, add in the language to the package name string 2008-08-02 04:14:28 +00:00
chess.griffin
0e6c1c9f43 tweak update code to remove EXTRA variables; add OO.o hack; add debug output when sbopkg thinks there is a newer version installed than in repo 2008-08-02 04:06:26 +00:00
chess.griffin
5786a8cefb fix update code to check for build; add in possible future code to check for version numbers that are pegged to svn or other unusual numbering sequences 2008-07-23 01:12:45 +00:00
chess.griffin
96c0bbfb74 add information about UPDATELIST-DEBUGGING doc to the screen that appears when the update feature is used in order to help with debugging 2008-07-18 03:03:47 +00:00
chess.griffin
88cf7b5994 revise UPDATELIST-DEBUGGING 2008-07-18 03:02:46 +00:00
chess.griffin
07c3dbced5 add/revise comments 2008-07-18 02:39:12 +00:00
chess.griffin
a5bfbf7c1b modified update code so only updates are shown by default; if the UPDATE_DEBUG variable at the top is uncommented, as it is in SVN and for RC releases, then all packages are shown, including those that do not have updates as well as those when the installed version is actually newer than the repo. 2008-07-18 02:33:57 +00:00
chess.griffin
d86d8bd6b9 edit sbopkg.8 man page to clarify that -q can also search for more than one glob 2008-07-17 13:57:24 +00:00
chess.griffin
016e7ff7aa correct typo and cleanup whitespace 2008-07-17 13:42:18 +00:00
chess.griffin
68f9319346 minor fix in update code in NEWARCH and NEWBUILD parsing 2008-07-17 13:22:28 +00:00
chess.griffin
ed0117dfea add new doc UPDATELIST-DEBUGGING to help with reporting bugs in the new update list feature 2008-07-16 21:09:41 +00:00
chess.griffin
6fc9636fa5 thanks to some suggestions from Erik Hanson, I have modified the update code to make it more accurate and (hopefully) quicker; also updated sbopkg(8) man page to include the new -c option to check for updates; thanks Erik! 2008-07-16 14:24:33 +00:00
chess.griffin
37b461233f tweak debugging by adding variable so I can turn it off for a release 2008-07-15 16:08:01 +00:00
chess.griffin
5ba40b4dac minor code cleanups; copy $UPDATELIST to $TMP/sbopkg-debug-updatelist for debugging purposes during RC stages; add comments to a few functions that did not have them. 2008-07-15 15:48:17 +00:00
chess.griffin
c895f59dff formatting tweaks to both man pages 2008-07-15 15:34:11 +00:00
chess.griffin
04c064090a fix update code to remove quotes 2008-07-15 01:45:42 +00:00
chess.griffin
4f22b94f0c update TODO 2008-07-14 23:15:23 +00:00
chess.griffin
c3bdc7524b initial code to check for updates. would like to sort the list by category/appname. also would like to tweak the way the updates are displayed. testers needed for this feature. preferably, please test when you have done an rsync and you know there are updates for your installed packages. if an update does not display correctly, please let me know. 2008-07-09 02:33:35 +00:00
chess.griffin
03c2df6a40 bump size of category list due to new 2 new categories 2008-05-17 00:48:54 +00:00
chess.griffin
7c89d46216 fix bug where new repo dir was not being created; remove unused get_version_list function; remove commented out cruft 2008-05-03 15:53:25 +00:00
chess.griffin
24a0317e7b update date in man pages 2008-05-03 00:21:58 +00:00
chess.griffin
d44e2beb2d get ready for Slackware 12.1: update sbopkg, sbopkg.conf.sample, and both man pages to include Slackware 12.1; set default repo to 12.1; no substantive changes otherwise. I will release a point update (0.0.6.1) after 12.1 is released 2008-04-22 13:58:13 +00:00
chess.griffin
aef3a7b2c1 fix paths issue related to linking the source tarball 2008-04-11 14:39:03 +00:00
chess.griffin
50c2d0c28f added more error checking when building a package; tweaked the new general search 2008-04-11 13:53:45 +00:00
chess.griffin
e1b46f0d1a change search options again; now -q for query is the switch to search by string and -s is the old search by specific package name; these switches make more sense; update sbopkg.8 man page; update TODO 2008-04-09 14:14:46 +00:00
chess.griffin
1edd0b2b9b fix error with changing slackware version -- commented out code messed up the menu 2008-04-08 20:11:33 +00:00
chess.griffin
2e15e69876 link new search to dialog search interface -- works well; minor typo fixes 2008-04-08 19:54:52 +00:00
chess.griffin
aff26f4024 edit sbopkg.8 man page for new -i and -s functionality 2008-04-08 18:52:52 +00:00
chess.griffin
7299eeffb4 improve cli searching; the old -s is now -i (for information) and will display package info files; the new -s is just a general grep search for any glob 2008-04-07 13:55:55 +00:00
chess.griffin
95685a1d89 more tweaks to new change version code; fixed typos; put 12.0 above 11.0; add trademark notice for Slackware and Linux 2008-04-03 23:05:01 +00:00
chess.griffin
531a3cc087 modifications to new code to allow changing slackware version; add in a few checks to make sure $LOCALREPO/$SLACKVER exists at various points during the menu 2008-04-03 22:57:43 +00:00
chess.griffin
590667bb8c change version numbers to SVN; from now on, SVN code will remain at version SVN and I will change the version numbers at each release; import initial code to allow the user to change the Slackware version for the matching SBo mirror. In other words, a user can have a local mirror for the Slackware 11.0 SlackBuilds from SBo and also a mirror for the 12.0 SlackBuilds. These would default to /home/sbo/11.0 and /home/sbo/12.0 initially. The user can override the default SLACKVER set in the config file either with the new -v switch for cli users, or from within the dialog interface; also update man pages to reflect this new feature. 2008-04-03 22:40:00 +00:00
chess.griffin
704a8e07ce update version numbers in sbopkg and both man pages to 0.0.6 2008-04-02 17:56:47 +00:00
chess.griffin
2965d56099 add back in slakmagiks code to show_readme, which I accidentally reverted 2008-04-01 20:19:33 +00:00
chess.griffin
a1e6cdde94 when cli interface is used, add in ability to check whether there is a locally edited slackbuild and if so, offer the user the choice to build the original or the edited one; also add in ability to log the build process from the cli (using tee) -- this is the same log governed by KEEPLOG, normally $TMP/sbopkg-build-log 2008-04-01 19:53:00 +00:00
chess.griffin
250c4cb11b initial search code in dialog interface; tweak sbopkg.8 man page 2008-04-01 13:10:28 +00:00
chess.griffin
dc9c37ed35 cleanup sbopkg.8 man page by including references to environmental variables that are used; also correct some typos 2008-03-31 19:11:24 +00:00
chess.griffin
6a59d6425f use slakmagiks tweak for the show_readme function. It now works much better, thanks! 2008-03-31 03:35:31 +00:00
chess.griffin
2faa0de4e3 fix minor typos; move check_local_dir function into sanity_checks function (no need for them to be separate) 2008-03-30 22:09:03 +00:00
chess.griffin
a7102eeacd remove old commented out code 2008-03-30 02:07:05 +00:00
chess.griffin
38e42516d8 changed the way missing variables are handled; thanks to slakmagik for the suggestions 2008-03-30 00:36:29 +00:00
chess.griffin
96e4fbd924 add patch from hba to check for all variable in the config file; cleaned up old commented out code 2008-03-29 21:59:05 +00:00
chess.griffin
37eed9bf13 tweak -h help to remove reference to environmental variables 2008-03-29 19:48:56 +00:00
chess.griffin
6eef7054d2 after discussions on IRC, I decided to change sbopkg.conf.sample back to simply a listing of variables without the option to pass environmental variables. I think exporting variables or some such complicates matters for this tool and it is really not needed. Also edited sbopkg.8 man page to remove references to environmental variables. 2008-03-29 19:47:58 +00:00
chess.griffin
d8563bce1c edit TODO; minor cleanups in sbopkg 2008-03-29 19:38:28 +00:00
chess.griffin
b453078460 fixed size of lots of dialog boxes; added check to see if ChangeLog.txt exists before displaying it 2008-03-29 16:46:36 +00:00
chess.griffin
a628c076cb add an error check to the log deletion requiring root privileges; add a "done" msgbox after log is deleted. 2008-03-29 16:13:38 +00:00
chess.griffin
029ef04293 add ability to view the sbopkg-build-log from the main menu; add error check to warn user if log is not found; add ability for user to keep or delete the sbopkg-build-log after viewing it 2008-03-29 14:45:22 +00:00
chess.griffin
1f626db742 add some comments to sbopkg 2008-03-29 13:16:10 +00:00
chess.griffin
df6f38a5bf fix typo in CWD= 2008-03-29 04:28:05 +00:00
chess.griffin
c2dd179e7a added check before pkg building to see if a local SlackBuild exists and if it does, offer the user a choice of which SlackBuild to use. This works in the dialog but not on the command line yet. 2008-03-29 04:25:46 +00:00
chess.griffin
efda966a23 remove #!/bin/sh from sbopkg.conf.sample; fix CWD=$(pwd) 2008-03-29 02:32:43 +00:00
chess.griffin
9fd5df4562 add initial code for editing the SlackBuild. Seem to work ok but have not yet added ability to build a package using the edited SlackBuild but that is an easy addition. Can also delete the local edited copy of the SlackBuild. The rsync command was also tweaked to exclude the .sbopkg which is the text appended to the local edited SlackBuild. Edited man pages and version number in sbopkg to 0.0.4 2008-03-28 19:19:07 +00:00
chess.griffin
8e8e6714a9 many whitespace cleanups; added timeout to rsync call; separated rsync_command from rsync_repo in order to keep the dialog box in state while rsync is performed, similar to what happens when a build occurs; there are still some old commented out code for the time being; general cleanups 2008-03-28 02:57:25 +00:00
chess.griffin
1bb8f93543 create 0.0.2 tag; many, many changes and enhancements, many due to excellent diff and help by slakmagik; created cache directory (Robby Workman) and added ability to view cache; fixed the issue with the pkg building screen so it now holds while pkg is building (slakmagik); added -f option so user can override config file (slakmagik); added checks to see if user has write permissions on rsync directory; added --delete flag to rsync call (Alan Hicks); many other code cleanups and enhancements (slakmagik); edited sbopkg.conf.sample so it is a shell script that is parsed by sbopkg; edited both man pages to reflect changes 2008-03-27 02:35:12 +00:00
chess.griffin
40eb44a179 initial code to create cache directory to store sources; add function to get the tarball if it does not exist and then create a symlink to the package directory; add --delete to rsync calls; minor cleanups; add -x to script for debugging; added SRCDIR to sbopkg.conf.sample 2008-03-25 03:35:06 +00:00
chess.griffin
ee8f8483aa Add items to TODO: download location and ability to edit SlackBuild per SBo mailing list 2008-03-25 02:52:07 +00:00
chess.griffin
8907ba66db initial commit of sbopkg, sbopkg.conf.sample, TODO, sbopkg.conf.5, and sbopkg.8; add all except the man pages to svn propset for $Id$ tags 2008-03-24 00:42:47 +00:00
chess.griffin
0e5947600a Edited README 2008-03-23 03:38:31 +00:00
chess.griffin
646080e2d4 add README; start testing Id tags 2008-03-23 02:45:35 +00:00