Commit graph

383 commits

Author SHA1 Message Date
Aleksey Cheusov
b66c5ed652 more verbose error message "Cannot find PKGPATH for %s" 2010-07-25 14:46:05 +00:00
Aleksey Cheusov
28c86e1f1b FIXED: search strategy "substring" in pkg_grep_summary 2010-07-24 22:45:22 +00:00
Aleksey Cheusov
4657f42401 Minor spell corrections 2010-07-24 22:29:23 +00:00
Aleksey Cheusov
71c9dc0c3d Update to 0.42.0
pkg_src_summary, pkg_summary2deps:
     Forcibly remove `/' at the end of PKGPATH. This unbreaks some
     packages in distbb bulk builds.

  pkg_summary2deps:
     One more fix for alternative dependencies. This unbreaks
     editors/leim20 and some others.
2010-06-22 21:45:09 +00:00
Aleksey Cheusov
f17f5644c6 FIX for previous commit 2010-06-21 12:28:21 +00:00
Aleksey Cheusov
2039364d59 Yet another fix for alternative dependencies. This unbreaks
print/foomatic-filters-cups, net/ispman and editors/leim20.
2010-06-14 20:58:10 +00:00
Aleksey Cheusov
377aa1981c pkg_src_summary -A: extra / at the end of PKGPATH inside DEPENDS and
BUILD_DEPENDS are removed. This may fix some problems.
2010-06-13 19:13:12 +00:00
Aleksey Cheusov
8126c39012 Remove `/' at the end of PKGPATH. This unbreaks some packages
in distbb bulk builds.
2010-06-13 18:38:46 +00:00
Aleksey Cheusov
07a55162f2 version -> 0.42beta1 2010-06-13 17:39:55 +00:00
Aleksey Cheusov
c529b0eff6 New option -p 2010-06-13 17:39:22 +00:00
Aleksey Cheusov
33f3ef9f2a -1 task (done) 2010-06-13 17:38:49 +00:00
Aleksey Cheusov
aa4d4c2dfd +1 new task for pkg_grep_summary 2010-06-05 20:41:58 +00:00
Aleksey Cheusov
10249e7379 Minor fixes release: 0.41.1
pkg_lint_summary:
     fix for -d: alternative dependencies are handles correctly now

  pkg_bin_summary:
     If REQUIREDBY was requested, PKGNAME if also generated forcibly.
2010-06-04 21:47:41 +00:00
Aleksey Cheusov
5dd41f818f fix for -d: alternative dependencies are handles correctly 2010-06-04 21:14:44 +00:00
Aleksey Cheusov
813b108f32 comment lines 2010-06-04 21:14:04 +00:00
Aleksey Cheusov
70286c2a95 Force to -a/-f PKGNAME if REQUIREDBY was requested 2010-05-30 21:02:13 +00:00
Aleksey Cheusov
c4a0d7b682 Minor update 2010-05-30 19:46:58 +00:00
Aleksey Cheusov
5289f1129e Update to 0.41.0:
pkg_grep_summary:
   - new variable "fields" that may be used in awk_condition.
     See man page for details.
   - new search strategy "kw" (or "keywords") for matching all words
     within query.

 pkg_src_summary:
   - new option -l for adding library dependencies to BUILD_DEPENDS.

 New tool: pkg_bin_summary, wrapper for 'pkg_info -X' which outputs
 build information variables and and installation information
 variables as well some special variables, e.g. ASSIGNMENTS and
 REQUIREDBY.

 Path to "pkg_info" command is embedded to all scripts using it.
2010-05-30 19:40:49 +00:00
Aleksey Cheusov
2bebc3833e pkg_src_summary:
- new option -l for adding library dependencies to BUILD_DEPENDS.
2010-05-30 19:29:40 +00:00
Aleksey Cheusov
21145919c4 embed path to pkg_info to scripts at compile time 2010-05-30 18:59:41 +00:00
Aleksey Cheusov
f406545b94 pkg_grep_summary:
- new search strategy "kw"
New tool pkg_bin_summary
version -> 0.41rc1
2010-05-30 18:40:03 +00:00
Aleksey Cheusov
a9a9f884f6 pkg_grep_summary:
- new search strategy "kw" (or "keywords") for matching all words
    within query.
2010-05-30 18:21:26 +00:00
Aleksey Cheusov
e6fdb4f662 Tests for pkg_bin_summary. Fix. 2010-05-30 16:50:28 +00:00
Aleksey Cheusov
b40eddbe0b New variable to use in awk_condition: fields.
It works when field to match is `.' .
Man page update, tests.
2010-05-30 16:07:13 +00:00
Aleksey Cheusov
7f8b5827e7 update: new tools appeared since last update 2010-05-30 15:20:34 +00:00
Aleksey Cheusov
27cbf440b2 New art. field: REQUIREDBY 2010-05-30 14:58:33 +00:00
Aleksey Cheusov
c89714d441 New artificial field: ASSIGNMENTS 2010-05-30 13:36:06 +00:00
Aleksey Cheusov
dd7e137b64 initial version for pkg_bin_summary 2010-05-30 12:53:28 +00:00
Aleksey Cheusov
0748dd7d26 Update to 0.40.0
pkg_grep_summary:
  - new option -t that implements the following search strategies:
    empty (synonym to -e), exact (synonym to -s), prefix, suffix,
    substring, first, last, word, re (synonym to -m),
    strfile (synonym to -S) and awk (synonym to non-option mode).
  - new option -T that displays all available search strategies.
  - new option -i for ignoring the case while matching
  - update of manual page
  - FIXED: Multiline fields don't like my optimization.
     Disabling optimization for them
  - minor optimization
2010-05-29 23:43:00 +00:00
Aleksey Cheusov
580e421d28 pkg_grep_summary: now works up to ~30% faster 2010-05-29 22:55:05 +00:00
Aleksey Cheusov
885e1efbeb hide internal variables 2010-05-29 22:39:12 +00:00
Aleksey Cheusov
69ad0c9559 FIXED: Multiline fields don't like my optimization.
Disabling optimization for them.
Minor clean-ups.
2010-05-29 22:33:09 +00:00
Aleksey Cheusov
f4b84ae239 Update for TODO
Minor rewordings in man page and ussage message
2010-05-29 20:34:31 +00:00
Aleksey Cheusov
5c223831ff pkg_grep_summary:
- new option -i for ignoring case while matching
  - man page update
version -> 0.40rc1
2010-05-29 19:24:56 +00:00
Aleksey Cheusov
ce3a64708a Code cleanup, simplifications 2010-05-29 18:41:53 +00:00
Aleksey Cheusov
8941cbc5b3 pkg_grep_summary:
- new search strategy "empty"
  - man page updates
2010-05-29 18:23:02 +00:00
Aleksey Cheusov
8609bbb223 pkg_grep_summary:
- new search strategies: "awk" and "strfile"
   - update of manual page
   - more tests
2010-05-29 17:54:27 +00:00
Aleksey Cheusov
c304bbff50 pkg_grep_summary:
- new option "T" that displays all available search strategies
  - update for manual page
  - regression test
2010-05-29 16:45:14 +00:00
Aleksey Cheusov
84ff5eff03 implementation for "-t re" (regexp search strategy) 2010-05-29 16:09:02 +00:00
Aleksey Cheusov
35c1d318e6 pkg_grep_summary: new option -t 2010-05-29 15:20:56 +00:00
Aleksey Cheusov
baaaa60885 Update to 0.39.0
pkg_src_summary:
  - new option "-b".
  - fix for -r and -a options
    (-a BOOTSTRAP_DEPENDS -r DEPENDS worked incorrectly).
2010-05-24 20:53:57 +00:00
Aleksey Cheusov
e18a48c81c Another for -b, now it works correctly in combination with -m 2010-05-24 11:17:20 +00:00
Aleksey Cheusov
f564ffde90 Another fix for -b 2010-05-22 13:28:07 +00:00
Aleksey Cheusov
1b7166c12d fixes for newly created -b 2010-05-22 13:21:11 +00:00
Aleksey Cheusov
fcff35d386 fix for -r and -a options 2010-05-22 11:47:05 +00:00
Aleksey Cheusov
ad7f9d9566 version -> 0.39rc1 2010-05-22 09:04:46 +00:00
Aleksey Cheusov
7f031e3fee Add -b option for adding BOOTSTRAP_DEPENDS to BUILD_DEPENDS 2010-05-22 09:03:30 +00:00
Aleksey Cheusov
d811e20640 minor update 2010-05-01 21:09:02 +00:00
Aleksey Cheusov
e8e3b59703 Update to 0.38.0
New mega tool -- pkg_subgraph_deps!

  pkg_src_summary:
    - Fix in adding ASSIGNMENTS inside DEPENDS and BUILD_DEPENDS.
    - Portions of this script were separated into individual scripts under
      libexec/ subdirectory.
    - Improvements for -G
    - New implementation for -A + -m. Speed-ups. Clean-ups.

  pkg_summary2deps:
    - FIX: no double removal of -version anymore.

  pkg_summary2bb_pkgs:
    - FIX: do not output two packages with the same PKGNAME if they
      both have non-empty ASSIGNMENTS, e.g
      net/nicotine:PYTHON_VERSION_REQD={24,25}

  Updates in manual pages.

  More regresion tests.

  Makefile:
    - Overridable DIFF_PROG that defaults to "diff -U10"
2010-05-01 21:06:44 +00:00
Aleksey Cheusov
e4557c9060 Update to 0.37.1
FIX: The following command no longer hangs up (infinite loop)
    pkg_src_summary -G -A graphics/py-cairo:PYTHON_VERSION_REQD=25

 Regression tests correspond to latest pkgsrc sources
2010-04-18 20:20:17 +00:00
Aleksey Cheusov
3c6dd17086 pkg_grep_summary:
- update manual page
   - fix for PKGPATHe
   - ++patchlevel
   - one more regression test
2010-03-27 21:45:33 +00:00
Aleksey Cheusov
fe8e703426 Updated to 0.37.0
pkg_lint_summary:
   - If problems were encountered, an exit status is 1

   - New option -d for checking that all required dependencies are
     present in input summary. For details, see a manual page.

 pkg_grep_summary:
   - New option -S for grepping summaries using a list of PKGPATHs,
     PKGBASEs or whatever else stored in a file. For details, see a
     manual page.

   - New artificial field for searching: "PKGPATHe". This is an
     enriched PKGPATH, i.e. PKGPATH and ASSIGNMENTS (if present)
     separated by a colon (`:') symbol.

   - optimizations
2010-03-26 23:17:20 +00:00
Aleksey Cheusov
6086e8ca90 Explain some problems in pkg_src_summary and pkg_summary2build_graph 2010-03-26 22:36:40 +00:00
Aleksey Cheusov
0447eea385 -1 task (already done) 2010-03-26 22:28:09 +00:00
Aleksey Cheusov
4c1040dd9c remove some garbage from test file 2010-03-26 21:15:37 +00:00
Aleksey Cheusov
95172ccda0 forgot to commit this 2010-03-25 21:01:27 +00:00
Aleksey Cheusov
e7ef346445 regression test for "pkg_grep_summary -S" 2010-03-25 21:00:29 +00:00
Aleksey Cheusov
4754557cc0 optimization for speed 2010-03-25 20:43:27 +00:00
Aleksey Cheusov
863d6b302f PKGPATH search field is a plain PKGPATH with any ASSIGNMENTS stripped 2010-03-25 20:37:22 +00:00
Aleksey Cheusov
c8c137a980 New artificial search field "PKGPATHe" equal to PKGPATH:ASSIGNMENTS 2010-03-25 20:23:57 +00:00
Aleksey Cheusov
8c97a45269 Adaptation of regression tests for latest changes in pkgsrc+wip 2010-03-24 16:03:28 +00:00
Aleksey Cheusov
547b92aa96 New option -S. See a manual page for details. 2010-03-24 14:27:05 +00:00
Thomas Klausner
c5b6e8a5e0 Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:52 +00:00
Aleksey Cheusov
70d67c19cd new plans for pkg_grep_summary 2010-03-19 22:23:11 +00:00
Aleksey Cheusov
504e19f15c dependency: s,wip/pipestatus,devel/pipestatus, 2010-03-13 17:51:51 +00:00
Aleksey Cheusov
b2983c315d update, samples of usage 2010-03-12 22:13:10 +00:00
Aleksey Cheusov
ae015f9fa2 update 2010-03-12 22:06:55 +00:00
Aleksey Cheusov
5e14f112b7 If problems were encountered, an exit status is 1 2010-03-12 21:38:22 +00:00
Aleksey Cheusov
d9199b4084 pkg_lint_summary: new option -d that ckecks that ALL required dependencies
are present. Sample of usage:

   pkg_delete -f gtk2+
   pkg_info -Xa | pkg_lint_summary -d
2010-03-12 21:35:51 +00:00
Aleksey Cheusov
e403fabdce new function pkgname2version 2010-03-12 21:30:19 +00:00
Aleksey Cheusov
bc18b71f91 packaged as wip/pkg_status 2010-03-12 07:49:31 +00:00
Aleksey Cheusov
6ac6cbc2ce Option in PKG_STATUS_OPTIONS variable are always applied (it makes sense for -Q) 2010-03-11 21:02:43 +00:00
Aleksey Cheusov
9ee4adcabe Add -Q option to not print reminder about output format 2010-03-11 20:56:45 +00:00
Aleksey Cheusov
365e827939 pkg_status accepts options for pkg_info after --
More examples
Better usage message
2010-03-11 20:48:48 +00:00
Aleksey Cheusov
d5658089a9 option -D for debugging purposes was added 2010-03-11 10:53:15 +00:00
Aleksey Cheusov
1d7ca1163b update year in copyright notice 2010-03-10 22:31:49 +00:00
Aleksey Cheusov
58530b1d13 Add optional pkg-name as an argument and more goodies 2010-03-10 22:23:03 +00:00
Aleksey Cheusov
7bc37662c8 better help message 2010-03-10 22:08:23 +00:00
Aleksey Cheusov
2c03be74e4 cleaner output 2010-03-10 22:05:42 +00:00
Aleksey Cheusov
5b37e06017 new options passed to pkg_info: -a and -u 2010-03-10 21:57:18 +00:00
Aleksey Cheusov
698262188b initial version of tool for checking installed packages against pkgsrc tree or pkg_summary.txt 2010-03-10 21:46:00 +00:00
Aleksey Cheusov
fa08acc4f0 fix a typo 2010-03-01 21:35:10 +00:00
Aleksey Cheusov
b98015064f Update to 0.36.1
- New tool pkg_lint_summary. Given summary on input it makes some
   checnity checks. At the moment the only implemented check is (-l
   option) is PROVIDES/REQUIRES consistency.

  - pkg_grep_summary:
     - Artificial field PKGBASE is also supported.
       It is actually a PKGNAME without package version.
     - New regression tests
     - Minor update and mixes in manual page
2010-03-01 21:29:03 +00:00
Aleksey Cheusov
96347eb04c updated 2010-03-01 20:41:19 +00:00
Aleksey Cheusov
51ba68295e pkg_grep_summary:
- Artificial field PKGBASE is also supported.
     It is actually a PKGNAME without package version.
   - New regression tests
   - Minor update and mixes in manual page
2010-03-01 20:25:47 +00:00
Aleksey Cheusov
2f3f6265c2 pkg_lint_summary: output PKGPATH and PKGNAME separated by SPC, not colon 2010-03-01 19:35:16 +00:00
Aleksey Cheusov
3349d3c2f3 pkg_lint_summary: -l is mandatory option
+1 regression test for pkg_lint_summary
2010-03-01 16:23:09 +00:00
Aleksey Cheusov
a75ea9e8c9 regression test for pkg_lint_summary 2010-03-01 16:14:50 +00:00
Aleksey Cheusov
399a5c6ba3 fix for "make test" 2010-03-01 15:32:37 +00:00
Aleksey Cheusov
ef60f6f8f6 one more task 2010-03-01 15:28:09 +00:00
Aleksey Cheusov
0fef397dce New tool pkg_lint_summary, see appropriate man page
version -> 0.36.0
2010-03-01 15:20:44 +00:00
Aleksey Cheusov
b097234e19 add missed file, thanks to Volkmar Seifert for pointing out 2010-02-23 21:04:37 +00:00
Aleksey Cheusov
936b3f2020 Update to 0.35.1
FIXED: bug in pkg_src_summary caused by incorrect PKGNAME version
   stripping. (pkg_src_summary -A multimedia/gnash didn't generate
   summary for multimedia/gst-plugins0.10-ffmpeg and
   audio/gst-plugins0.10-fluendo-mp3)
2010-01-08 00:03:50 +00:00
Aleksey Cheusov
bb9414beba updates for regression tests (adapted for latest changes in pkgsrc and WIP) 2010-01-07 14:53:16 +00:00
Aleksey Cheusov
ab94a4e8f3 update to 0.35.0
- New tool pkg_summary2deps
 - pkg_summary2build_graph  is reimplemented using pkg_summary2deps
2009-11-12 14:24:44 +00:00
Aleksey Cheusov
7c6ba82932 another minor fix for handling bin_summary.txt and regression tests 2009-11-12 12:08:37 +00:00
Aleksey Cheusov
716b2b228f fix for previous commit 2009-11-11 23:18:01 +00:00
Aleksey Cheusov
d5b2c2998e pkg_summary2deps is adapted to bin_summary (pkg_info -X).
One regression tests for bin_summary.
2009-11-11 23:13:18 +00:00
Aleksey Cheusov
2087446798 manual page for pkg_summary2deps
minor fixes in usage message of pkg_summary2deps
2009-11-11 21:46:30 +00:00
Aleksey Cheusov
4e27df83ad Five additional regression tests pkg_summary2deps -R
pkg_summary2build_deps is reimplemented using pkg_summary2deps
2009-11-11 21:07:51 +00:00