Commit graph

696 commits

Author SHA1 Message Date
mauro.giachero
28b98e1beb Apply a huge cleanup patch.
This patch touches almost every part of sbopkg, making
it more readable, manageable and less bug-prone.
Working on this already let us spot several bugs, and
will ease further development and debugging efforts.

This is the result of a lot of patient team work, for
which Chess, slakmagik and I should be equally credited.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:34:25 +00:00
chess.griffin
fe5afc309e update both ChangeLogs 2009-04-06 20:11:33 +00:00
chess.griffin
672dd00b2c modify HACKING 2009-03-26 12:55:23 +00:00
chess.griffin
dae918ee68 update both ChangeLogs re: rename code fixes 2009-03-26 12:54:41 +00:00
chess.griffin
bad9b196c4 upload HACKING to /doc directory; update SlackBuild to include this in packages 2009-03-25 13:08:26 +00:00
chess.griffin
0b69a3f72f fix LOGFILE to point to new LOGDIR not SBOPKGTMP 2009-03-24 18:23:47 +00:00
chess.griffin
36524c029f update ChangeLog-current.txt for directory path changes in sbopkg.conf.new 2009-03-24 18:20:46 +00:00
mauro.giachero
08e63b1f28 Refactor the renames code and fix upgrading renamed packages.
This patch refactors the renames code putting the old/new
name retrieval in two generic helpers.
Also fix the upgrading of renamed packages by providing
the old package name to upgradepkg.
Thanks to Phillip Warner for raising the issue, and to
Chess Griffin and slakmagik for testing and reviewing this
patch.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-03-24 14:05:34 +00:00
mauro.giachero
8abae87d4d Update sbopkg-renames.
Add the wbxml2 -> libwbxml rename to the sbopkg-renames
file, as pointed out by Chess Griffin.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-03-24 14:05:20 +00:00
slakmagik
96ab30447f Corrected a trio of typos in comments. 2009-03-23 22:57:40 +00:00
chess.griffin
3d96455085 change paths and make other edits to sbopkg.conf.new; this requires some changes to sbopkg itself, which will be forthcoming, but for now, sbopkg from SVN may not work correctly. 2009-03-20 19:56:40 +00:00
chess.griffin
98f22ddea7 update both French man pages; move them into correct location in /usr/man/fr/* and remove them from the /docs directory in -stable branch and correctly name them in -current by removing the _fr tag; thanks to Marie-Claude Collilieux. 2009-03-17 00:52:26 +00:00
slakmagik
fc4d0f87d5 Simplified the way SBOVER is assigned to, adding Revision to the list of the
script's svn:keywords and handing subversion's expansion of that to cut
2009-03-15 08:07:50 +00:00
slakmagik
64fd6c526a Fix a tr invocation. Thanks to Marie-Claude Collilieux for raising this issue. 2009-03-12 22:19:09 +00:00
chess.griffin
71ef334ac5 remove user mode support; add single check for root at start of script; update ChangeLog-current.txt 2009-03-11 12:46:22 +00:00
chess.griffin
dad7b0eada move sbopkg from /usr/bin to /usr/sbin; update sbopkg.SlackBuild and sspm to reflect this change to /usr/sbin; move French man pages to /usr/man/fr/man*; update ChangeLog-current.txt 2009-03-10 02:53:20 +00:00
chess.griffin
b987661439 update both ChangeLogs 2009-03-04 21:07:04 +00:00
slakmagik
612cb1ca13 Altered sed expression to work around calcurse filename idiosyncrasy 2009-03-04 11:51:31 +00:00
mauro.giachero
b37acfa223 check_for_latest(): cleanup and fixlet.
Remove some useless code from check_for_latest(), and
fix the reported download folder.
Thanks to David Somero for reporting and fixing the
bogus printout.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-03-03 08:49:49 +00:00
chess.griffin
1613f6150c remove obsolete for-next-release 2009-02-26 15:18:25 +00:00
chess.griffin
9e47d2aa8e modify ChangeLog-current.txt 2009-02-26 15:08:27 +00:00
chess.griffin
7ddc295530 tag and release 0.27.0 2009-02-26 15:04:30 +00:00
chess.griffin
561a4cfaec modify ChangeLog-current.txt 2009-02-26 04:28:05 +00:00
mauro.giachero
f3da07db8e Save on exit: don't prompt the user when not useful.
If the user just saved a queue, or loaded a previously
saved one, there's no need to prompt him for saving it.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-25 15:16:13 +00:00
chess.griffin
7262d5fa8b show queuefilename in dialog logs to match behavior of cli mode 2009-02-25 03:16:39 +00:00
chess.griffin
c14c9d6359 commit two patches by Mauro Giachero implementing an 'autoqueue' feature, where the user can specify either a list of packages to -b or -i (already implemented) or a queuefile (new addition). Couple this with the new -e switch, that allows user to decide how build errors are handled (options are ask|stop|continue) and sbopkg can now automatically run through a large queue without stopping on errors (hence the term 'autoqueue'). Also, slakmagik provides a few fixes on this, provided a patch to allow for a more graceful exit on certain circumstances; many thanks to Mauro for the autoqueue implementation and thanks to slakmagik for the addtional cleanup patch; also update ChangeLog-current.txt and sbopkg(8) man page to reflect new command line switches. 2009-02-24 22:01:47 +00:00
chess.griffin
e2d3eef879 modify size of search box a bit; clarify 'inst:' is for string searches 2009-02-24 04:27:47 +00:00
chess.griffin
406d173ced fix issues with ChangeLog.txt 2009-02-24 03:39:33 +00:00
chess.griffin
d679b19e7c update dates in both man pages 2009-02-24 02:48:35 +00:00
chess.griffin
0f98cf0e7e add check to make sure pkg is still in OUTPUT before installing; provide a bit of explanation about 'inst:' in the search box 2009-02-24 02:12:21 +00:00
chess.griffin
007c21b423 move -q to -g (general search) and create new -q for 'quiet' which will quiet down the command line output a bit; remove some old comments in sbopkg re: kate; include little fixlet bug from slakmagik where cursor would not appear after pressing control-c; update sbopkg.8 man page regarding -g and -q (and also add in undocumented -u, check for update to sbopkg); update ChangeLog-current.txt 2009-02-23 22:23:50 +00:00
chess.griffin
3a55e8b3ef commit slakmagik's patch implement a feature request that allows user to do a string search by installed packages only; thanks to slakmagik for the patch 2009-02-23 21:50:38 +00:00
chess.griffin
1b4b4a8f41 add local COUNTER FILE to rename_user_queue 2009-02-23 19:26:35 +00:00
chess.griffin
b8b07a4df2 tweak the kate workaround per suggestion by slakmagik 2009-02-23 14:24:06 +00:00
chess.griffin
18bf6405f2 commit another little patch from slakmagik (return_of_the_qfm); thanks to slakmagik for the patch 2009-02-23 14:21:25 +00:00
chess.griffin
f149581c51 commit little buglet pointed out by slakmagik 2009-02-23 02:36:47 +00:00
chess.griffin
7d2ada3cbf Pull setting of DIFF and DIFFOPTS out of sbopkg and put them in sbopkg.conf; document same in sbopkg.conf man page; update ChangeLog-current.txt 2009-02-22 05:05:25 +00:00
chess.griffin
ab72ab0e64 fix issue with sbopkg.SlackBuild now that I use DOCS var 2009-02-21 13:23:54 +00:00
chess.griffin
18358babbb commit patch from Phillip Warner to fix some issues in info_item where sbopkg would incorrectly not list a package as being installed if it had an older name -- essentially, we need to run through sbopkg-renames again; thanks to Phillip Warner for the patch 2009-02-21 04:12:13 +00:00
chess.griffin
16bed7ec9f Update ChangeLog-current.txt; also toss in a little something for Mauro :-) 2009-02-21 04:06:49 +00:00
chess.griffin
c584e7d765 commit the last of a large group of patches from slakmagik; this one modifies the add_item_to_queue function and provides a bit more information to the user; thanks to slakmagik for the patch; I would also like to take a moment to specifically thank both slakmagik and Mauro Giachero for their review of these patches, and their work to improve them and work out the kinks; there has been a /lot/ of patches and stuff flying around and they have been a big help at keeping it all straight 2009-02-21 04:02:18 +00:00
chess.griffin
e6183c8595 commit another patch from slakmagik, that brings in the ability to delete or rename a build queue; also rework the save_user_queue a bit, and include a validate_queue_name function; also tweak the queue menu a bit; thanks to slakmagik for the patch 2009-02-21 03:58:58 +00:00
chess.griffin
96903b14a1 commit patch from slakmagik that brings in 'queue_dir_lister' that shows a checklist of the contents of QUEUEDIR; also, make some changes to load_user_queue to take advantage of this new queue_dir_lister function; many thanks to slakmagik for the patch 2009-02-21 03:52:53 +00:00
chess.griffin
d8083b17fb commit another patch from slakmagik that renames 'delete build queue' to 'edit build queue'; thanks to slakmagik for the patch 2009-02-21 03:49:48 +00:00
chess.griffin
f6703f7042 commit patch from slakmagik to rework the queue saving and backup queue management; thanks to slakmagik for the patch 2009-02-21 03:47:06 +00:00
chess.griffin
3b9790e9b7 add French translation of the two sbopkg man pages; these will be located in the /doc directory for now; many thanks to Marie-Claude Collilieux for the work she put into the translation; update ChangeLog-current.txt; update SlackBuild to include these two man pages in /doc directory 2009-02-19 22:10:50 +00:00
chess.griffin
26b6a300d3 fix inverted lines from one of slakmagik's patches 2009-02-19 21:07:26 +00:00
chess.griffin
fd40dc66e9 slip in a minor tweak I forgot to add to a previous commit 2009-02-19 20:04:51 +00:00
chess.griffin
3cdbdac4c0 commit minor cleanup patch; thanks to slakmagik for the patch and thanks to Mauro Giachero for his comments and review 2009-02-19 19:59:39 +00:00
chess.griffin
339a1e2d2f commit patch from slakmagik to clean up/rework some the dialogs during the queue processing; thanks to slakmagik for the patch and thanks to Mauro Giachero for his comments and review 2009-02-19 19:57:28 +00:00