Commit Graph

981 Commits

Author SHA1 Message Date
mauro.giachero
dff0d70720 Fix build error management.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-13 15:38:42 +00:00
mauro.giachero
64e16fefab Fix 'rm' error on download failure.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-13 15:38:32 +00:00
chess.griffin
9a30b944be modify the queue editing functions by creating two new queue menu items, 'sort' and 'reverse' for a better user interface; thanks to Pierre Cazenave for the suggestion. 2009-07-11 03:14:05 +00:00
mauro.giachero
09c5ab6707 Add function removing obsolete (not installed) packages from $OUTPUT.
This patch add a function to remove from $OUTPUT packages
that are not installed. This is useful to remove from
$OUTPUT packages that are made obsolete by version updates,
or that are unwanted for whatever reason.
Addresses issue #20. Thanks to alkos333 for suggesting this
feature.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-10 07:44:11 +00:00
mauro.giachero
be45ca8aec Make remove_sources() generic and name it remove_files().
This is a preparation patch that should have minimal
changes in functionality (some on-screen messages change,
though). Its purpose is to enable the use of the
aforementioned function to remove more than source files.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-10 07:44:00 +00:00
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
cc6ddd5457 Cleanup build error management.
This patch moves the get_source() error management down to
build_package(), which is its only caller. This leads to
some code deletion (mostly related to asking the user what
to do) and gives a "retry" alternative also to source
download problems.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-09 14:05:28 +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
6104d81ef9 forgot to remove commented out code 2009-07-08 16:23:00 +00:00
chess.griffin
5620d56717 fix gpg checks so they are only used for repos with a new GPG field enabled; update repos.d/* and README-repos.d accordingly 2009-07-08 16:22:00 +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
3dcf17941a tweak man page once more 2009-06-25 15:16:33 +00:00
chess.griffin
fce7f9c84a tweak man page 2009-06-25 15:15:16 +00:00
chess.griffin
3115d45e9b tweak sbopkg.conf man page to bring it in line with sbopkg(8) 2009-06-25 15:03:29 +00:00
chess.griffin
c7160dc481 forgot to add the fix for the neonflux bug report :/ 2009-06-25 14:48:32 +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
mauro.giachero
9f69b21d0d Add a <Cancel> button to the "Install Package(s)" dialog.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-06-25 08:03:29 +00:00
chess.griffin
3e3be5b1c7 add queuefiles directory to SlackBuild 2009-06-24 13:29:06 +00:00
chess.griffin
4fee29faf3 add -f to two rm lines 2009-06-24 01:35:28 +00:00
chess.griffin
5f5a7c498a make the 'check for updates' and 'check for obsolete sources' progressbars display consistent text. 2009-06-23 13:52:22 +00:00
chess.griffin
9aa419ab02 minor tweak to multimedia.sqf 2009-06-23 02:30:26 +00:00
chess.griffin
b358f412ae Mention sbopkg.org/queues in the README-queuefiles 2009-06-23 02:23:17 +00:00
chess.griffin
5fef6e77aa add several sample queuefiles in new doc/queuefiles directory; modify man pages and README-queuefiles 2009-06-23 02:11:43 +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
f634ccba51 implement ability to pass build options in a queuefile by separating the app name and the options with a pipe, e.g. 'app | FOO=yes BAR=no'; also fix a few issues with picking up the buildoptions when the slackbuild is run; a fix a few other little niggles 2009-06-22 15:25:33 +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
chess.griffin
6205d2ab27 avoid getting a 'save queue' dialog when exiting sbopkg after loading multiple queues if there has been no change to the queues themselves 2009-06-17 12:50:26 +00:00
chess.griffin
e6ca88d7d5 make error message displayed when checking for updates with no packages installed consistent with other similar error messages 2009-06-17 00:27:54 +00:00
chess.griffin
98a2e324af fix dialog glitch when trying to add all packages to queue with no packages installed 2009-06-17 00:22:08 +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
mauro.giachero
eb1cea4375 Search/browse: stay in the menu after queuing the item.
After adding an item to the queue from the search/browse
result list, sbopkg should show the list to the user again
so that he can choose another package. This is the 0.27.x
behavior, but got broken sometime.
This patch restores the correct behavior.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-06-10 07:39:36 +00:00
mauro.giachero
0d7e600ae9 Implement duplicate queue list deletion.
This patch makes sure that the loaded queue list gets
delete before beginning the loading operations.
Without this patch, the sequence:
- load queue 'foo'
- clear the queue
- load queue 'foo' again
results in an empty queue, since on the second load 'foo'
gets skipped since it's listed as already loaded.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-06-10 07:39:24 +00:00
chess.griffin
acc41bec1c when using -b or -i from cli, check if .sqf extension is used and if so, go directly to parse_queue 2009-06-10 03:14:41 +00:00
chess.griffin
3d4cbed411 replace a break that got accidentally removed in r629 2009-06-10 02:50:30 +00:00
chess.griffin
2bc57fbc68 fix typo in sbopkg.SlackBuild 2009-06-09 01:22:45 +00:00
chess.griffin
d8190e6c54 improve the code that prevents infinite loop on recursive queues; this probably still need to be tweaked a bit as far as removing DUPEQUEUE, but this is working thus far; thanks to Mauro for review and comments 2009-06-09 00:52:15 +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
8b3544db4d prevent a queue from recursively loading itself 2009-06-07 03:22:00 +00:00
chess.griffin
967a185c45 change .sboq extension to .sqf (sbopkg queue file); I never liked the .sboq even though I came up with it. 2009-06-07 02:30:26 +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
3d2a434e1c include ability to have recursive queues in a queuefile by appending a '@' in front of a queuename; thank to Mauro for reviewing and providing helpful feedback during testing; this still needs some testing but we wanted to get it in so we could keep working on it. 2009-06-06 17:42:35 +00:00
chess.griffin
6c57ecf70b modify GPG checks by always checking and extracting tarball when entering the 'edit slackbuild/info menu'; also move gpg check and add extraction to the precheck before building 2009-06-04 03:46:23 +00:00
chess.griffin
437db211f1 tweak the output log a little bit 2009-06-03 14:05:14 +00:00
slakmagik
d6f471008b fix a couple of errors in the comment to split_pkg_name() 2009-05-30 02:54:00 +00:00
slakmagik
239b2b1489 add split_pkg_name() to function-alize the acquisition of package name
components, using it in check_for_updates() and add_all_to_queue() and
changing the declared and used variables to suit - also
reformatting/reindenting a few lines, correcting a couple of typos, and fixing
the variable declarations of info_item() along the way - thanks to Mauro and
Chess for review and suggestions.
2009-05-30 02:41:52 +00:00
chess.griffin
8f3a0e6960 update ChangeLog-current.txt 2009-05-29 16:55:23 +00:00