Commit graph

905 commits

Author SHA1 Message Date
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
chess.griffin
57fefa0da2 add several new functions for checking the SBo GPG-signed tarballs both during the build/install process as well as manually in the info_item menu; tweak the layout of the build logs just a little bit; other misc. little fixes when dealing with exiting the queue. 2009-05-29 16:35:25 +00:00
chess.griffin
26fc3f6ebe add a regex fix to remove some double quotes; also split the regex's out into separate lines for easier reading; thanks to Mauro and slakmagik. 2009-05-28 20:54:34 +00:00
chess.griffin
c2c7cb1442 I keep forgetting to commit this little fix 2009-05-28 19:45:48 +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
mauro.giachero
cfdf6ac7be add_*_to_queue(): general improvements.
This patch implements the renames checking for
add_item_to_queue(), thus enabling the use of obsolete
names in legacy queues.
That function can fail if the used name cannot be found.
For that reason, check its return status where appropriate
to properly report such errors to the user.
While at it, improve the add_all_to_queue() interface.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-28 10:18:59 +00:00
chess.griffin
c9b022f774 change 'kill' to 'kill -9' PID when changing repositories; this seems to fix a dialog breakage I was experiencing when switching back and forth between SBo and Slamd64 repos 2009-05-27 01:01:27 +00:00
chess.griffin
efef808176 update ChangeLog-current.txt 2009-05-26 14:50:54 +00:00
chess.griffin
f975490582 add a new 'add_all_to_queue function in the queue menu that allows a user to dump all installed packages into the queue; also delete two leftover references to BACKUPQUEUE_LOCK which were part of a function removed wtih r590. 2009-05-26 14:12:01 +00:00
mauro.giachero
74de95eee3 Avoid an error spitting exiting sbopkg with empty queue.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-26 12:23:48 +00:00
mauro.giachero
c8b479507a Scattered minor cleanups.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-26 09:05:49 +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
d21b989c27 tweak all repos.d/* and renames.d/* files to make comments consistent. 2009-05-26 03:47:06 +00:00
chess.griffin
0b0335e657 edit renames.d and repos.d files and set Id propset on all 2009-05-26 03:35:12 +00:00
slakmagik
f3b635a3aa comment stripcom() and make the variable name consistent with others 2009-05-25 17:03:37 +00:00
chess.griffin
c5af8e5f24 remove two stale commented out lines 2009-05-25 16:17:35 +00:00
chess.griffin
f80edb7aef change KEEPLOG test to fit other similar tests 2009-05-25 04:36:57 +00:00
chess.griffin
ec2663e653 more sbopkg.conf.5 tweaks 2009-05-25 03:21:25 +00:00
slakmagik
fc84284c3d add stripcom() and use it in save_user_queue() to make sure we're only
comparing relevant things when deciding whether to save the queue on exit
2009-05-24 20:57:04 +00:00
chess.griffin
09664bf11d fix typo in sbopkg.conf.new and tweak it a bit 2009-05-24 20:43:57 +00:00
chess.griffin
f9bbe5ed36 update sbopkg.SlackBuild to include README-queuefiles 2009-05-24 19:38:56 +00:00
chess.griffin
0f3a1941e3 add ARCH explanation to sbopkg.conf.new 2009-05-24 19:30:08 +00:00
slakmagik
7a67084d2b fix issue with build_package()'s return code getting swallowed up in a pipe 2009-05-23 17:57:19 +00:00
chess.griffin
bee4c7c760 update ChangeLog-current.txt 2009-05-23 04:58:28 +00:00
chess.griffin
749d776734 add exported ARCH to sbopkg.conf.new 2009-05-23 04:56:20 +00:00
chess.griffin
dfa5bd29ce add propset keywords to README-queuefiles and README-repos.d 2009-05-23 04:49:46 +00:00
chess.griffin
65feae6ed3 add README-queuefiles to /doc directory. 2009-05-23 04:44:05 +00:00