Commit graph

883 commits

Author SHA1 Message Date
Willy Sudiarto Raharjo
4ef3c1c683 Merge pull request #1 from ryanpcmcquen/patch-1
Create 90-SBo-master.repo
2015-06-12 22:16:13 +07:00
Ryan P.C. McQuen
33e06a40be Create 90-SBo-master.repo 2015-06-12 07:33:53 -07:00
Willy Sudiarto Raharjo
25d01727ef Update all references to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2015-06-11 23:32:54 +07:00
Willy Sudiarto Raharjo
fc97d07e00 README: Added link to SBo, Slackware, and Wiki 2015-06-11 23:10:26 +07:00
Willy Sudiarto Raharjo
051cd7e4ef sqg: Updated for Slackware 14.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2015-06-11 22:24:31 +07:00
Willy Sudiarto Raharjo
7f702d9554 Added README.md 2015-06-11 22:21:06 +07:00
chess.griffin
ca4e066d57 tag and release 0.37.0 2013-12-09 15:18:45 +00:00
chess.griffin
059ffb32cc update copyright 2013-12-09 12:44:43 +00:00
chess.griffin
98c5a1f023 enable new -B flag to bulk-process the queue without prompting; this was inspired by Eric Pratt's original patch. 2013-12-09 03:46:54 +00:00
chess.griffin
4d8610a95b revert last commit; after further thought, I'm not sure we want to automatically proceed with a build without confirming first. Perhaps a new flag for bulk builds or something can be added in the future. 2013-12-09 03:20:59 +00:00
chess.griffin
a6112368f7 incorporate patch from eric Pratt so sbopkg honors -q; fixes Issue 66 2013-12-09 02:23:42 +00:00
chess.griffin
a798ef037b add full path /sbin for removepkg and upgradepkg; fixes Issue 65 2013-12-09 02:21:58 +00:00
chess.griffin
885076e024 update sqg 2013-12-09 02:13:44 +00:00
chess.griffin
7909639bb0 add support for Slackware 14.1 2013-12-09 02:11:01 +00:00
chess.griffin
f93141cb9f tweak script to skip packages with an empty REQUIRES= line unless new SKIP_EMPTY variable at top of script is uncommented. 2013-03-01 04:31:48 +00:00
chess.griffin
b474cba048 add support for git repos - thanks to ponce at LQ for initial patch and suggestions. 2013-02-27 15:30:13 +00:00
chess.griffin
945ed55f4f add check for %README% in sqg and if found, echo a comment to the queuefile. Thanks to T3slider on LQ for the suggestion. 2013-02-26 01:12:48 +00:00
chess.griffin
702d5c4af3 import sqg - sbopkg queuefile generator - into contrib/. Thanks to slakmagik and Mauro Giachero for suggestions, comments, and modifications. 2013-02-25 18:22:04 +00:00
slakmagik
1153577dc9 restore the README files
view_app_file(), view_readmes(): This puts the dep info back into the
README display by cat'ing the README and grep'ing the .info file into a
temporary README. This doesn't touch the command line show_readme() as
that actually shows both the README and .info files already.
2012-10-30 03:54:22 +00:00
slakmagik
0ac0bd7ad1 tag and release 0.36.0 2012-10-04 03:16:56 +00:00
slakmagik
f2b37e202e bump configs/docs for 14.0/0.36.0 2012-10-04 03:12:22 +00:00
slakmagik
8313699c16 remove repos.d/70-sb64.repo (Slamd64) 2012-10-04 00:37:14 +00:00
slakmagik
d1a97ef4f7 add issue 60 to KNOWN_ISSUES 2012-10-04 00:37:04 +00:00
slakmagik
5af68f32e3 update the renames file 2012-09-17 19:46:06 +00:00
slakmagik
0da03f28ff Implement and document the NICE config option
Thanks to Joni Martikainen for the suggestion.

(While editing the NEWS file, I also moved the -r item to FEATURES
since, while legal, -r combos weren't useful and now they are, so I
guess it's more a featureling than a modification.)
2011-05-29 18:00:54 +00:00
slakmagik
e3169d9cbe enable useful '-ri' (etc.) command line combos
Move the 'if SYNC' block to the top of non-dialog execution.
2011-05-26 19:54:49 +00:00
slakmagik
7c3938549b NEWS: note menu item rename
Forgot this - very minor, but should still be noted to avoid confusion.
2011-05-26 19:35:17 +00:00
slakmagik
82274dec88 download-only, pt.3: add dialog ui; more cleanup
This primarily revises start_dialog_queue() to provide a download-only
dialog UI.

* global: make many more minor textual changes which replace 'build' and
  'build queue' references with more general references including
  'queue'
* info_item(): rename the 'Build' option to 'Process' (moving 'build'
  into the new description of 'Download/build/install') as it always
  could build or install and can now download, too.
* add_item_to_queue(),process_queue(): tweaked size of dialog widget
* start_dialog_queue(), process_queue(), main: rewrite
  start_dialog_queue() as a menu which provides the download-only option
  in addition to build, install, and cancel. Combine the two error
  handling instances in it (which would have been three) and the one in
  main into one chunk in process_queue().
* usr/doc/README{,-queuefiles}, usr/man/man*: more 'build'-related
  textual tweaks
* usr/doc/THANKS: remembered to add the r905 RFE credit

Thanks to Mauro for discussion and review.
2011-05-26 19:18:02 +00:00
slakmagik
b6a42615f2 download-only, pt.2
Make changes to reflect the logic that "'install' includes 'build'
includes 'download'" vs. "'build' and 'buildinstall' are separate
alternatives, both of which implicitly assume 'download'":

* Expand {QUEUE,}TYPE's possible values to include
  'download|build|install' and create set_type() to set it in place of
  'build|buildinstall' and using the DOWNLOADONLY variable and the
  {B,I}FLAGs.
  * main: delete {B,I}FLAG from the 'unset' section and from the option
    parsing
  * main, set_type(): break out the option testing error message and
    TYPE assignments into set_type() which, rather than assigning to
    TYPE in one place and testing {B,I}FLAG in another, assigns to TYPE
    unless TYPE is already set and has a different value, in which case
    we error out. (People should theoretically be able to call -d, -b,
    -i and have each trump the previous ('-b foo -i foo' should
    download, build, and install foo), but calling '-b foo -i bar' is
    problematic at best.)
  * process_queue(),start_dialog_queue(): replace 'buildinstall's with
    'install's
* Clean up sbopkg's download/build/install logging and output:
  * check_source(): log that we've found the source and return if we're
    only doing a download.
  * process_package(): s/Building/Processing/; use pre-existent
    QUEUETYPE variable with new possible value of 'download'; say we've
    downloaded and return 1 rather than just breaking.
  * log_queuetype(): create by breaking out some redundancy in
    process_queue() relating to the PRE-CHECK and SUMMARY logs and make
    it handle 'Download only' in addition to build/install.
  * process_queue(): remove references to 'PACKAGE BUILDING/INSTALLING'
    because it can be downloading also and 'PACKAGE
    DOWNLOADING/BUILDING/INSTALLING' seems excessive; use
    log_queuetype()
* main: switch the -d and -D flags. It's not good to shuffle flags
  generally, but -d is probably rarely used and download would better be
  lowercase to be consistent with -b/uild and -i/nstall.
* main: while messing with options, sorted the getopts list, the option
  parsing, and the help output as though it had been sorted with 'sort
  -f' (previously, capitalized options were inconsistently sorted).
* src/usr/doc/NEWS,src/usr/man/man8/sbopkg.8: document user-visible
  aspects of the above (-d/-D), tweaking the DESCRIPTION and the -b, -i,
  -k and -R flags in the manual.
2011-05-23 23:32:50 +00:00
slakmagik
c42ac608a1 apply Mauro's patch to allow download-only
* build_package(): rename the bulk to process_package() and split out a
  chunk as a new build_package(), causing a break out of the function if
  DOWNLOADONLY is set and calling build_package() if not.
* build_package(): create from a piece of the earlier build_package().
* process_queue(): call process_package() rather than build_package().
* main: add DOWNLOADONLY and the -D flag.
* various: modify comments to reflect current code

Thanks to Mauro Giachero for this patch. :)
2011-05-23 23:32:42 +00:00
slakmagik
bec7c5a477 tag and release 0.35.0 2011-04-28 03:01:06 +00:00
slakmagik
5bfd6c777b bump configs/docs for 13.37/0.35.0 2011-04-28 02:55:13 +00:00
slakmagik
cb9938f2bf clarify doc list in README
Don't assume the reader knows what "queuefiles", "rename files", or
"repo files" are (even though repos and queues are briefly mentioned in
"ABOUT"). Instead, describe what they're for.
2011-04-11 04:27:40 +00:00
slakmagik
ae65597977 add a trio of renames (forthcoming in 13.37) 2011-04-11 04:27:34 +00:00
slakmagik
0243bbad57 restrict repo-based find commands to correct level
check_for_updates(), view_readmes(), search_package(), string_search(),
remove_obsolete_sources(): add mindepth/maxdepth flags (using a DEPTH
variable in string_search() (because it varies) and a FIND_FLAGS
variable in check_for_updates() (because it's reused)) to the find
commands that operate in the REPO. This will avoid matching things or
trying to use things like openvswitch/xen/foo when xen/foo is intended.
Thanks to David Somero for reporting this.
2011-03-21 01:49:25 +00:00
slakmagik
2802679789 update French man pages
Thanks to Marie-Claude Collilieux.
2011-03-20 04:23:45 +00:00
slakmagik
dd62f47dbf add SWVER replaceable parameters
and additional VERSION parms. Now examples in sbopkg(8) and README-repos
which depend on Slackware/SBo versions won't have to choose between
being updated manually or looking out-of-date but will be updated
automatically. The sbopkg VERSIONs are just to be more consistent with
other usage - while svn users won't get to have manual pages saying
'SVN', the manuals' talking about an sbopkg/SVN dir were wrong and the
other uses were at least inconsistent and it's all vcs-specific anyway.
This revision is a tip of the iceberg to a larger backend release
process change. Which. will. happen. any. day... now....
2011-03-20 04:23:38 +00:00
slakmagik
bb7509be9d minor manual modifications
* sbopkg.conf.5: removed the reference to the -O flag in the WGETFLAGS
    section, which hasn't been true since 0.20.0. I caught this in
    sbopkg.conf almost a year ago in r817 but kept missing it here. Also
    clarified where what-would-be-the-TMP-files go when CLEANUP is set
    and TMP is ignored.

  * sbopkg.8: two trivial tweaks.
2011-03-17 05:51:19 +00:00
slakmagik
0e43b44256 plain text documents: whitespace
Indent some URLs, commands, etc.
2011-03-17 05:51:13 +00:00
slakmagik
547a106c46 another pass over the plaintext documentation
Mostly minor changes, bringing things up to date. I did revert part of
r879 regarding the alpha* sorting at least for now.
2011-03-17 05:51:05 +00:00
slakmagik
1382563c13 add sbopkg bash completion file
Thanks to Sergey V.!
2011-03-17 05:51:00 +00:00
slakmagik
ac917c4847 mv usr/doc/queuefiles usr/doc/contrib/queuefiles
i.e., rename usr/doc/queuefiles/* to usr/doc/contrib/queuefiles/*

usr/contrib will provide a place to add other contrib items, such as
bash completions.
2011-03-17 05:50:41 +00:00
slakmagik
0c1bc1c8f1 correct parameter expansion in get_source_names()
The assignment to SRCNAME was trying to cut out the longest match of
'%/download' rather than cutting off '/download'. The notable practical
effect was not recognizing that we had a source in the cache, since
foo.tar.gz/download != foo.tar.gz, so downloading it again. (Again, I
wonder how this could have ever gotten through testing and, again, I
feel like this sort of botched parameter expansion has happened before,
but can't find it in the vcs.)
2011-03-15 20:46:08 +00:00
slakmagik
f678bf16ad updated French man pages
Thanks to Marie-Claude Collilieux.
2011-03-11 22:36:37 +00:00
slakmagik
d0aa4867f2 60-SBo-current.repo: change Tag
s/_custom/ponce/
2011-03-11 21:24:25 +00:00
slakmagik
112f0972ed fix a couple typo-like things in NEWS 2011-03-10 04:45:13 +00:00
slakmagik
c8f0eb2f64 another bug in selection_state()
Sure seems like I tested this and it worked but I guess I focused on
view_queue() and list_packages() at the wrong time. I knew
remove_files() (via view_cache_dir()) had a quoted list since source
names can include any kind of lunacy, unlike package names, but forgot
to allow for it. So allow zero or more dquotes around LINE.
2011-03-10 04:18:08 +00:00
slakmagik
2429774709 silence some remove_uninstalled_packages() noise
If the user tried to 'View uninstalled packages' with no packages in
OUTPUT, an error message would interrupt the dialog display for an
instant.
2011-03-10 04:18:02 +00:00
slakmagik
76e6c5ddb1 make README symlinks; modify build-related files
A cluster of changes related to creating symlinks in the
  /etc/{renames,repos}.d directories that point to the corresponding
  README in sbopkg's docdir and then generally updating most
  build-related files and getting it all documented.

  * 50-default: renamed to 50-default.renames

  * NEWS: note symlink docs and rename issues

  * README-renames: update to reflect new default filename and the fact
    that the files must end in '.renames'.

  * sbopkg.conf.5, sbopkg.8: update to reflect the new renames stuff
    (and the earlier repo file/dir-related changes I forgot to document
    there).

  * sbopkg: get_new_name(), get_old_name(): have grep only look through
    *.renames files and not, say, symlinks to READMEs.

  * doinst.sh: bring into alignment with the current SBo template.

  * tools/sbopkg.SlackBuild: make links from README-repos and
    README-renames to READMEs in the corresponding /etc/sbopkg/*.d
    directories.

  * tools/slack-desc: bring into alignment with the current SBo
    template.

  * tools/sspm: update address, add printe() and use it.
2011-03-10 04:17:52 +00:00
slakmagik
68c8b94414 rename sbopkg.conf.new; tweak SlackBuild
If we keep the Id keyword in sbopkg's config file, users having their
'sbopkg.conf' Id'ed as 'sbopkg.conf.new' can cause confusion, as seen on
LQ. So call it 'sbopkg.conf' in revision control and append '.new' when
creating the package.
2011-03-10 04:17:43 +00:00