Commit Graph

70 Commits

Author SHA1 Message Date
mauro.giachero
104ad3804f Add sbopkg.conf option to delete build residuals.
This patch adds a sbopkg.conf option that, when enabled,
tells sbopkg to automatically delete the sources and all
the other files generated during the SlackBuild execution
right after running it.
Addresses issue #21. Thanks to Marco Bonetti and Gregory
Tourte for the report and the nice discussion.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-09 14:05:44 +00:00
mauro.giachero
361816f853 Add option to retry a failed build.
This patch allows the user to retry a failed build. This
can be useful when the user mistakenly forgot to set up
some prerequisite (like creating a specific user or group),
when the build failed due to filling the build area (not
so unlikely when building large queues) and probably in
other cases too.
Addresses issue #24. Thanks to Zordrak for suggesting this
feature.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-09 14:05:17 +00:00
chess.griffin
4c40a35f43 fix ChangeLog entry; add two items to renames.d/50-default 2009-07-08 02:49:38 +00:00
mauro.giachero
1c3910e57e Add support for multiple source files and to x86_64.
This patch adds support for the new SBo 13.0 features, namely
x86_64 support and the ability to specify more than one source
tarball in the .info file.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-07 13:03:35 +00:00
chess.griffin
08e6246bf1 make SBo 13.0 the default in sbopkg.conf.new; add 13.0 repo to 40-sbo.repo; remove duplicate entry in ChangeLog-current.txt; replace a file name usage with STARTQUEUE in sbopkg 2009-07-02 19:00:09 +00:00
chess.griffin
9caca085f2 remove ARCH from sbopkg.conf since we now test for that internally; modify sbopkg.conf man page accordingly; update ChangeLog-current; add in fix for bug reported by neonflux that was previously committed to -stable 2009-06-25 14:41:36 +00:00
mauro.giachero
13493c7c7c Add a 'diff' entry to the customization menu.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-06-25 08:03:47 +00:00
chess.griffin
e88da2ada0 fixes to sbopkg and queuefile build options; update some of the documentation; update the ChangeLog-current.txt 2009-06-23 01:42:59 +00:00
chess.griffin
5e965ed704 minor tweaks to ChangeLog-current.txt to remove references to .sboq and change to .sqf 2009-06-18 22:54:14 +00:00
slakmagik
8b87240383 Modify do_install() in stable and trunk to correctly invoke upgradepkg to avoid
a fairly rare but serious case of removing the wrong package; thanks to NaCl
for the bug report.
2009-06-14 17:58:45 +00:00
chess.griffin
846ace5e0f allow 'ESC' to exit edit_build_queue menu; thanks to Nille for the bug report 2009-06-07 03:40:50 +00:00
chess.griffin
6ca3e9df3a Modify format so we just use per line and not to make some code simpler and sbopkg itself a little bit faster. Thanks to Mauro for the suggestion and review. Also update ChangeLog-current.txt re: same 2009-06-06 19:38:58 +00:00
chess.griffin
7b92764155 Update ChangeLog-current.txt for recursive queuefiles. 2009-06-06 19:06:23 +00:00
chess.griffin
8f3a0e6960 update ChangeLog-current.txt 2009-05-29 16:55:23 +00:00
mauro.giachero
8b681ae0b3 remove_obsolete_sources(): make the progressbar interruptible.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-28 10:19:13 +00:00
chess.griffin
efef808176 update ChangeLog-current.txt 2009-05-26 14:50:54 +00:00
mauro.giachero
2b553679e8 Tweak info_item()
Cleanup and tweak info_item():
- the code to detect already available packages in $OUTPUT
  is now more robust and readable;
- the code to determine already installed versions of the
  package is now more robust and readable;
- the "Installed:" line now also lists non-SBo packages
  (this is useful for Slackware-current users, as well as
  for people using non-SBo third-party packages)
- the window title now also shows the package tag, to
  remove some ambiguity (e.g. as of now, Slackware-current
  has a libzip package with the same "signature" as the
  SBo one, and from the info_item() dialog it looks like
  they are the same package when in fact they are not).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-26 09:05:38 +00:00
chess.griffin
bee4c7c760 update ChangeLog-current.txt 2009-05-23 04:58:28 +00:00
chess.griffin
0dd4a6a668 modify queuefile format so now queuefiles are simply one 'APP' per line; deselected apps can be be indicated by prepending a '-' in front of the APP name, such as '-APP'; this should make using and sharing queuefiles easier and more intuitive; also update ChangeLog-current.txt 2009-05-22 14:33:29 +00:00
chess.griffin
e3421a6bd5 update ChangeLog-current.txt 2009-05-21 13:24:50 +00:00
mauro.giachero
b4cef20b18 Add the museek-plus->museek+ rename.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-21 08:06:46 +00:00
chess.griffin
dde83edea8 update trunk ChangeLog.txt 2009-05-16 05:00:29 +00:00
chess.griffin
a125d260fc undo last commit; man pages were accidentally update 2009-05-16 05:00:01 +00:00
chess.griffin
30da6c2a1f update trunk ChangeLog.txt 2009-05-16 04:51:00 +00:00
chess.griffin
516c681183 add support for new *.txz, *.tbz, and *.tlz Slackware package extensions. 2009-05-12 14:03:29 +00:00
chess.griffin
606890dbfe update both ChangeLogs 2009-05-11 17:51:07 +00:00
mauro.giachero
3078f984fa Implement renames tracking using a configuration directory.
Modify the renames tracking so that, instead of a single
file, all the files of a renames.d directory are used (just
like udev and modprobe do).
This has several advantages:
- no more need to "mv sbopkg-renames.new sbopkg-renames"
- it's now easier to add custom renames that automatically
  "survive" version upgrades
and, last but not least, this is believed to be the correct
way to handle these things.

Many thanks are due to Robby Workman for proposing this
change and to Chess Griffin for implementing it.
2009-05-08 08:39:37 +00:00
mauro.giachero
e31680566e Implement configurable repository management and git support.
This patch makes the repository list a configurable item
inside sbopkg.conf.
With this new way to specify repositories, there's the
possibility of naming the tool able to sync the local copy
of the remote repository. Such feature has been then used to
implement the support of git-based repositories, much
common in the Slamd64 land.

Please note that the purpose of this patch is to provide a
more flexible fetching system. The additional repositories
must be careful in being conform to the SlackBuilds.org
structure, or sbopkg will fail with them.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-06 13:56:42 +00:00
chess.griffin
cd905fa9d5 Update both ChangeLogs 2009-04-30 13:49:00 +00:00
chess.griffin
fe5afc309e update both ChangeLogs 2009-04-06 20:11:33 +00:00
chess.griffin
dae918ee68 update both ChangeLogs re: rename code fixes 2009-03-26 12:54:41 +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
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
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
chess.griffin
9e47d2aa8e modify ChangeLog-current.txt 2009-02-26 15:08:27 +00:00
chess.griffin
561a4cfaec modify ChangeLog-current.txt 2009-02-26 04:28:05 +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
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
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
16bed7ec9f Update ChangeLog-current.txt; also toss in a little something for Mauro :-) 2009-02-21 04:06:49 +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
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
mauro.giachero
334aa785fa Implement a dialog/rxvt workaround
Work around dialogs non being drawn on rxvt-based
terminals unless the user resizes the window.
Thanks to Phillip Warner for raising the issue.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-16 17:36:40 +00:00
mauro.giachero
5e0c45b1c2 Update ChangeLog-current.txt 2009-02-16 17:08:51 +00:00
chess.griffin
112436fded commit sspm patch from slakmagik; update ChangeLog-current.txt 2009-02-12 21:52:39 +00:00
chess.griffin
1d18b28408 change pick_slackbuild and pick_info so they are simple wrappers around new pick_file, which now provides a way for the user to see a diff of an edited .info or SlackBuild before choosing which one to use; many thanks to Mauro Giachero for helping debug/improve this patch; also update ChangeLog-current.txt 2009-02-08 20:25:46 +00:00
chess.griffin
45d3b579fb update ChangeLog-current.txt 2009-02-05 16:48:20 +00:00