390 Commits

Author SHA1 Message Date
espie
bce91e106f a bit of interactive mode. Just hooks into the main loop and can prompt for
commands now, can't do anything serious yet.
2015-08-24 10:16:18 +00:00
jasper
efa72518dc accept '-D' 2015-07-19 21:44:16 +00:00
naddy
626cc84e5e pass PORTSDIR_PATH through to make-plist so it will be honored by
update-plist; ok espie@
2015-07-19 17:31:44 +00:00
espie
40ccf288f7 move the tracing code into its own file. save traces/warning message in
debug.log.
2015-07-15 14:30:26 +00:00
zhuk
23940f0fa7 Catch usage of variables representing user settings. The list of settings
is taken from bsd.port.mk(5).

Idea inspired by recent commits on ports@ and supported by sthen@.
2015-07-05 12:26:26 +00:00
espie
dbbaf40347 do an extra mode that will first scan the ports tree, and then extract only
the plists that are current.
took longer than expected because I found a bug in my setup...
probably going to be more code to say "hey, these current packages depend
on not current".
2015-06-22 09:33:03 +00:00
espie
0f0fe4d98f bye bye, use check-problems now 2015-06-10 09:06:25 +00:00
espie
f9b580293d unify options. 2015-06-08 15:37:20 +00:00
espie
2db73700a1 close enough that I can unify them together.
Introduce an interface to specifically display results, so that it
can be copied to an output file, and just not appear on the terminal
2015-06-08 15:11:53 +00:00
espie
70fc0473bd unified dependency tagging, so that both tools can do dependency closure.
Provide -o output option, which also saves the actual useful output somewhere
2015-06-08 12:56:26 +00:00
espie
cd48bdea30 tweak fullname to put the ! (for current packages at the start)
sort things in a more systematic way.
make sure results are displayed after the progress meter is properly
terminated
2015-06-08 10:32:55 +00:00
espie
75ce7fd439 use fullname 2015-06-08 09:39:02 +00:00
espie
0e6ebbc2b9 simpler 2015-06-08 08:51:02 +00:00
espie
d475cd529c rmtree doesn't live here 2015-06-07 13:01:05 +00:00
espie
cb38dae8b9 reuse the plistscanner infra 2015-06-07 12:05:53 +00:00
espie
01dbfca345 provide a forwarder to progressmeter, simplifies code
tweak for using in check-common-dirs: specify the reader,
allow a pass after scan.
2015-06-07 12:05:22 +00:00
espie
72fc751185 fine-tune display, better progress report when scanning the ports tree 2015-06-06 15:01:43 +00:00
espie
9681cbd86f clean-up unnecessary globals 2015-06-01 00:01:48 +00:00
espie
b11c2ac60f make progress on an older projects, scanning plists is a "standard" activity.
refactor it as PlistScanner (done some time ago), and use it in check-conflicts
(I had a stupid bug somewhere, mainly forgot to initialize stuff properly...)
2015-05-31 10:38:27 +00:00
espie
a65cc8c8f5 fix getting pkgpath in the ports tree case 2015-05-29 09:18:40 +00:00
espie
7376b9f35b the grabber object triggers reading existing global distinfo, and it does
not do anything else, so create it early so that we read distinfo
concurrently with hosts startup scripts
2015-05-27 11:15:40 +00:00
rpe
666f5a2f4c Add perl5 to top_level_categories to prevent portcheck complaining.
cpan.port.mk adds all ports that use that module to the perl5 category.

OK zhuk@ sthen@
2015-05-26 19:12:11 +00:00
espie
b6fb756731 only use the first group in the list 2015-05-14 11:15:29 +00:00
espie
10b7ca049d forgot to synch with the rest 2015-05-10 10:00:43 +00:00
espie
835963be13 add options so that dolock will work with install -d options 2015-05-02 16:42:55 +00:00
espie
57cc189b56 give a -m option to dolock, since it can create directories. 2015-05-02 11:00:37 +00:00
zhuk
12625bcdea Handle lib/foo/bar and MOD* variable (un)expanding better. 2015-04-28 14:11:03 +00:00
zhuk
074d37fcb8 Another helper routine that I don't want to add back and forth each commit. 2015-04-28 14:10:18 +00:00
zhuk
8a02908944 Extract common code for taking "stem" of WANTLIB item, and add support
for lib/foo/bar syntax.
2015-04-26 19:17:37 +00:00
zhuk
9a3abc4aca Add WANTLIB tweaking functionality (options -l, -W and -w).
Initially requested, tested and many input from sthen@, who also suggested
to continue this work in-tree.
2015-04-26 12:22:49 +00:00
zhuk
fb64f1df0c Switch from Getopt::Std to OpenBSD::Getopt. No functional change for now,
except error message text in case of unsupported option being used.

Will be needed soon by upcoming changes.
2015-04-18 18:59:48 +00:00
zhuk
e14d0e9114 Add check for top-level categories being spelled properly.
Inspired by recent talk with jasper@, which in turn was a result of my
own mistake done under x11/kde4.

No objections received.
2015-04-15 08:15:42 +00:00
zhuk
4cd00e1953 Make sure that GH_COMMIT is 40 chararacters length.
This is a leftover from pre-lock times, added after a few problematic
GH_COMMIT got in (fixed a while ago).
2015-04-12 18:37:23 +00:00
sthen
fc5d617097 check that dbus,-suid rdep is present when needed, ok ajacoutot@ 2015-04-04 17:23:52 +00:00
ajacoutot
6b6077b7e7 x11/gtk+2,-guic -> x11/gtk+3,-guic 2015-03-27 08:09:54 +00:00
espie
abee4d8443 disable interactive in AddCreateDelete.pm 2015-02-09 09:47:31 +00:00
zhuk
a5f6f0b203 Improve SHARED_LIBS handling a bit:
- Give better warning in case of unusual SHARED_LIBS line;
 - Don't warn at all if shared libs bumping wasn't requested;
 - Handle (rare) SHARED_LIBS-foo case, see x11/qt5 for a legitimate case.
2015-01-07 20:46:35 +00:00
espie
0c44a25b22 regorg code, no actual change 2014-12-25 15:14:14 +00:00
espie
384c043324 display something while waiting for STARTUP to finish 2014-12-22 09:05:24 +00:00
zhuk
254efb2ffc Stop warning about lib/qt[34]/ prefix in WANTLIB.
Qt3 and Qt4 don't clash in library names; and Qt4 won't clash with Qt5
either.

Inspired by a talk with bradp@ long time ago.
2014-11-13 15:35:50 +00:00
bcallah
c1482b7120 Change "Found out" to "Discovered" for more natural English.
clarifications from sthen@
ok espie@
2014-11-03 19:50:01 +00:00
zhuk
4efe72d480 Sometimes you need a pause for a month or two to find one-liner for the
problem you thought is too complex.

Allow simple "-subpkg" to be used instead of ugly ",-subpkg" for portbump.
2014-09-30 16:56:21 +00:00
naddy
ce2be36268 Add the remaining pieces to allow fake as non-root.
Not enabled as a general default yet.

Committing for espie@
2014-08-14 17:04:12 +00:00
zhuk
3328f8e8bb Sync usage after addition of -m flag.
ok jca@ and kirby@
2014-08-12 07:59:34 +00:00
zhuk
209a154c40 Properly ignore default.kde* files, they live under share/icons/ directly. 2014-08-12 01:44:08 +00:00
zhuk
70ecb19bad Fix make(1) calls when SKIPDIR framework is in use. 2014-08-12 00:37:44 +00:00
zhuk
29e6450c9e Make perl code in check_hardcoded() return non-zero on failure.
More standard and error-prone style.
2014-08-12 00:30:35 +00:00
zhuk
8c6767683f Get rid of "|| error=true" where it's not needed. 2014-08-10 20:46:04 +00:00
zhuk
149ee8c0bf Add support for SKIPDIR, STARTDIR and STARTAFTER environment variables,
like bsd.port.subdir.mk does. Allows to continue a long "portcheck -A"
session.
2014-08-10 20:41:54 +00:00
zhuk
cb0d60b618 Add check for WANTLIBs hidden by RUN_DEPENDS. This WILL eventually break
bulk build, and I know at least two people (ajacoutot@ and me) that were
already bitten by this problem.

This somewhat increase check time, unfortunately, but not too much.

Test for this feature to follow after full unlock.
2014-08-10 20:39:03 +00:00