Commit Graph

111 Commits

Author SHA1 Message Date
slakmagik
9e13a8ae0a Tweak ChangeLog-current.txt
Add a specific mention of the new MKDIR_PROMPT in the relevant item and
remove a non-user-visible item
2010-02-27 06:58:25 +00:00
chess.griffin
99515de9bd add ability to change ARCH in the options submenu 2010-02-26 13:45:34 +00:00
mauro.giachero
59ac74efb1 Fail gracefully when there's an error computing a pkg repo version.
Sometimes sbopkg can't determine the version of a package. For example,
the google-chrome script looks at the source archive to determine it, and
such archive can very well be unavailable.
This patch makes sbopkg intercept the error condition and notify it to
the user gracefully, while at the same time falling back to trusting the
version provided in the .info file.
Thanks to alkos333 for the bug report.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2010-02-26 11:07:30 +00:00
chess.griffin
10dab0fcdd modify check_for_latest() function to use new sbopkg.org/* redirects; update ChangeLog-current.txt 2010-02-04 00:11:20 +00:00
slakmagik
fd99d8e952 Address issue 33 (sbopkg sometimes picks older pkg to install; not latest)
Change a 'head' to a 'tail' so that info_item() is less likely to pick an
older package to present for installation.
2010-02-03 05:10:33 +00:00
slakmagik
9614f088c4 Close issue 40 by making directory creation prompts optional
Add config file option MKDIR_PROMPT which, when set to NO, causes sbopkg to
skip prompting the user for directory creations.
2010-02-03 04:47:47 +00:00
chess.griffin
d5a6a216e1 update ChangeLog-current.txt 2010-02-01 03:17:21 +00:00
mauro.giachero
def2d2542a Honor the user-chosen TAG.
Some people may want to use a custom TAG. sbopkg should use that instead
of the default one.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2010-01-18 13:05:40 +00:00
chess.griffin
c5cbc213a3 add a few renames; update ChangeLog-current.txt 2010-01-14 02:55:36 +00:00
chess.griffin
e6b5182278 tag and release 0.31.0 2009-11-01 03:23:16 +00:00
slakmagik
2ffee8a4a8 Add the description of the r735 changes to ChangeLog-current.txt, which I
forgot to do at r735.
2009-10-20 20:34:18 +00:00
mauro.giachero
d27fd4d394 Check for updates: show and queue all version changes.
sbopkg sometimes misinterprets version numbers, and some upgrade can
be classified as a downgrade which, by default, is not shown.
For example, 1.0.1 looks older than 1.0-rc2 to it.
Always show and queue apparent downgrades and "unclassified" version
changes as disabled queue items. This way users can fix sbopkg errors
(since there's no way sbopkg can always correctly guess correctly).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-20 13:14:48 +00:00
chess.griffin
3108417eb5 add tint=tint2 to 50-default renames file 2009-10-12 16:17:13 +00:00
mauro.giachero
18d3f37956 Work around build issues with custom LC_COLLATE values.
Some users use a customized LC_COLLATE value, which is known to
be a source of script breakage.
This patch makes sure that LC_COLLATE is set to C (the default)
when building.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:30:04 +00:00
mauro.giachero
cad2731d34 Rework the options selection menu to avoid truncating the options.
Without this patch, the list of build options was placed on the
left side of a menu dialog entry. Since dialog entries cannot span
to multiple lines, very long option lists were (visually) truncated.
Rework the dialog to show the options in the menu text field, so
there's much more room for them.
Reported by Erik Hanson.

While at it, also make sure that there's no stale options.build
file lying around (which is a minor bugfix).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:29:55 +00:00
mauro.giachero
226fa1d95e Add dialog and cli options to review all READMEs for queued packages.
This is meant to be useful for doing "final checks" on the active queue
before starting the build process.
Thanks to slakmagik for reviewing.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:29:47 +00:00
chess.griffin
9c775aa684 fix cosmetic bug where ARCH and BUILD were not displaying correctly in the updates list; thanks to Mauro and slakmagik for the actual working code for this fix 2009-10-08 14:45:27 +00:00
slakmagik
81e337a664 Change the default checkout location to something more likely, though it
should still be customized by the user; add UID check; fix bug with
non-existent repo directories (thanks to Mauro for the even less buggy fix);
fix bug with a subshell that prevented sspm from exiting on one error - it was
meant to be a group command; convert the su block into a normal block; add a
couple more exclusions to the tar command to skip backup and tags files - and
throw a note into the ChangeLog so users don't get surprised by the repo
moving or having its ownership changed
2009-09-27 00:17:20 +00:00
slakmagik
177e710d17 Add a KNOWN_ISSUES file and modify sbopkg.SlackBuild to take it into account. 2009-09-27 00:01:28 +00:00
mauro.giachero
ec602a72bb Be more strict when validating YES/NO configuration variables.
This way users won't be surprised when misspelling "no" as "np" and
getting a "yes" behavior...

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-25 09:17:31 +00:00
mauro.giachero
0cf9aea14a Allow multiple instances of sbopkg to run simultaneously.
This patch makes it possible to run multiple sbopkg instances
simultaneously in different $SBOPKGTMP prefixes.
There are some known (and possibly unknown) caveats the user
should be aware before enabling this option -- I documented the
ones I could think of.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-25 09:17:23 +00:00
slakmagik
51b52b748d Fix an issue with an incompatibility between bash 3.1, 3.2, 4.0 which
caused quoted strings in the RHS of the =~ operator in [[ commands to be
interpreted as literal strings, thus causing parts of sbopkg to fail. Update
HACKING to address this. Thanks to SiegeX and others for the reports and
suggestions. Thanks to Mauro and Chess for review and suggestions.
2009-09-18 09:40:49 +00:00
slakmagik
e346c03c16 add the ability to uninstall SBo packages from the dialog interface that
lists installed packages; thanks to pokipoki08 for the suggestion.  Thanks to
Chess and Mauro for code review and suggestions.
2009-09-11 04:46:46 +00:00
chess.griffin
df07ea151f fix an issue with the build options dialog menu where selecting 'None' would not work; thanks to happyslacker for the bug report. 2009-09-10 17:52:52 +00:00
mauro.giachero
d3a02809ea Fix wrong regex in uncheck_installed().
The old regex turned ON into ONOFF. Dialog apparently treats that as
an OFF, so overall the code appeared to work fine. Neverthess, this is
worth a fix.
Spotted by slakmagik.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-09 17:33:29 +00:00
chess.griffin
b132e73ccd add :force to sbopkg.conf WGETFLAGS after --progress=bar to correctly display the progress bar; thanks to happyslacker for the reminder. 2009-09-09 13:38:59 +00:00
chess.griffin
61630757af add ARCH information to dialog backtitles; update ChangeLog-current 2009-09-06 04:11:27 +00:00
chess.griffin
fc01b4f6dd update current Changelog 2009-08-28 17:46:49 +00:00
chess.griffin
ea33f59d0b update changelog 2009-08-28 17:34:15 +00:00
mauro.giachero
66e307e9aa Fix the $SBOPKGTMP sanity check.
'find' prints the directory name as the first result, and if $SBOPKGTMP
is not named after sbopkg it makes the sanity check fail.
Fix this by making sure that 'find' doesn't ever return the directory
name.
Thanks to Ken Roberts for raising the issue.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-28 16:57:21 +00:00
mauro.giachero
63a173476d Update the renames file.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-28 16:57:13 +00:00
mauro.giachero
5e36b3195c Fix the updates check for Slackware 13.0
In the updates check we split the package name expression (on the
makepkg line) counting dashes. The 13.0 scripts now have, instead of
'tgz', the expression ${PKGTYPE:-tgz} at the end. This makes us pick
up the ARCH field instead.
Fix this by suppressing any ':-' operation found. This should be
reasonably safe (no 12.2 script has such expression there).
While at it, replace the old cut/rev dance with a single sed invocation.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-28 16:57:04 +00:00
chess.griffin
805c3cf422 tag and release version 0.30.0 2009-08-24 18:15:20 +00:00
chess.griffin
18e5e94fe2 minor cleanup to ChangeLog-current.txt; remove duplicate entry 2009-08-23 21:14:19 +00:00
chess.griffin
d27d4e3461 modify size of view_queue() to avoid problems with 80x24 terminals 2009-08-23 16:07:45 +00:00
chess.griffin
4546107848 update ChangeLog-current.txt re: French man pages 2009-08-15 05:03:29 +00:00
chess.griffin
2d401c261d add ability to invert all selected or deselected items in the view cache and obsolete sources and packages dialogs; thanks to dive for the suggestion 2009-08-06 13:08:14 +00:00
mauro.giachero
6c04fea0be Add the new -k option to skip building already installed packages.
This is the CLI variant of the previous commit.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-05 21:27:33 +00:00
chess.griffin
51ad9966fb update ChangeLog-current.txt 2009-07-14 22:09:25 +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
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