Commit Graph

45 Commits

Author SHA1 Message Date
espie
cea1d3a0f3 bite the bullet, reuse dpb's algorithm to make sure we get correct
PkgPath.

This implies restructuring the database code, and the start of a
better separation between variables handling, and actual insertion
in the database.

bump version to 2.0: this changes the paths that actually get recorded,
and pkglocatedb will need to be aware of that.
2012-05-18 12:11:28 +00:00
espie
6fb048701d if this pipe exits with an error, it means some subdirs could not be
scanned. That's not a warning, that's a hard error.
2012-05-08 17:22:00 +00:00
espie
bc5cab5e8f +VMEM_WARNING 2012-04-29 16:34:53 +00:00
espie
95fefd0c50 make sure we don't pass FLAVOR/SUBPACKAGE info thru subdirs.
count number of passes (purely cosmetic)
2012-02-17 07:31:26 +00:00
kili
0132b0aa29 Fill in the master_sites* columns of the sqlports.ports table.
From espie@, after a short discussion on icb.
2011-11-26 22:30:30 +00:00
espie
fcbd4ac01b better: use REPORT_PROBLEM_LOGFILE to have nicer error messages.
use new FULLPATH setting from bsd.port.subdir.mk to avoid having to fiddle
too much with options.
2011-09-24 07:37:34 +00:00
espie
8388e334df store PSEUDO_FLAVOR along. tweak descriptions a bit. 2011-09-10 08:48:15 +00:00
jasper
61f9ed9482 adjust after recent lesstif removal
ok aja@ sthen@
2011-04-10 18:00:23 +00:00
espie
59488755a7 tweak the way mksqlitedb work: keep looking at dependencies after we do
the main tree.

initial work by florent tribouilloy

a bit of clean-up from me.
2011-03-02 16:19:54 +00:00
espie
f238ba6e80 handle PATCHFILES, ignore CHECKSUM_FILE 2011-01-04 21:55:19 +00:00
espie
871eb8299d handle USE_MOTIF, add PKGSPEC 2010-11-26 20:32:38 +00:00
espie
213212a68d report Yes/No variables with wrong values.
common work with Florent Tribouilloy

also rework Yes/No variables as valued variables.
2010-11-26 20:11:12 +00:00
espie
4d961263ee prepare for new specs 2010-11-14 08:42:00 +00:00
ajacoutot
3041b2373b Remove obsolete USE_X11 from $vars. 2010-10-24 20:44:50 +00:00
espie
06007602cc USE_LIBTOOL is 3-valued.
register TARGETS
2010-10-02 10:26:17 +00:00
sthen
f0af6ad5d4 output EPOCH and REVISION in dump-vars, and use it in sqlports.
ok espie@ (with a reminder to add EPOCH, my first diff just had REVISION).
2010-09-21 15:18:03 +00:00
espie
4980cdd108 whitespace 2010-04-26 10:20:50 +00:00
espie
4b373c4bed get ready to coalesce columns 2010-04-26 10:19:02 +00:00
espie
a1dfe5c95e minor tweaks + whitespace 2010-04-26 08:52:09 +00:00
espie
ec4d709da9 view_schema always follows the same format, so just do that... 2010-04-25 12:35:26 +00:00
espie
484343e39c simplify mapping slightly for now... 2010-04-17 14:48:15 +00:00
espie
85043bd81f turn on foreign key constraints, as they seem to work ;-) 2010-04-17 14:37:02 +00:00
espie
78282381f7 a few minor tidying.
commit to db only at end of port (referential integrity for later)
handle BROKEN-arch and create new table/view based on that.
2010-04-17 13:06:49 +00:00
espie
9bc804c209 sanitize code, no functional changes 2010-04-17 09:33:18 +00:00
espie
69bff73010 rename stuff to try to make it clearer. 2010-04-13 10:56:42 +00:00
espie
309f80f5b3 cut script into smaller pieces, since it becomes hard to manage 2010-04-13 10:23:53 +00:00
espie
94160ea7d4 get mksqlitedb to handle IGNORE and COMES_WITH if they show up.
Also don't spazz out if we meet variables we don't know. This makes us
safe from changes in dump-vars.
2010-02-12 11:53:09 +00:00
espie
40493db049 oops 2009-08-25 09:23:03 +00:00
espie
768004e514 use left join on optional values, otherwise we lose a lot of _ports entries. 2009-08-25 09:15:43 +00:00
espie
791d753ead make internals more consistent 2009-08-16 03:24:28 +00:00
espie
c66ef3ab79 start building the _Ports view. 2009-08-15 12:43:58 +00:00
espie
e38f1a0ab8 consistent capitalization 2009-08-14 14:02:11 +00:00
espie
ed5d8b0ec0 create views for most of the subsidiary tables 2009-08-14 12:41:56 +00:00
espie
4cbecf28d7 create the ports table in the same way 2009-08-14 11:31:37 +00:00
espie
7eba8edd1b higher level table creation for individual tables except Ports:
create column objects, and ask the inserter to "render" them.
2009-08-14 10:45:52 +00:00
espie
58802f858c even though sqlite doesn't really care, this fixes the column types and adds
foreign key constraints to all the sql compact stuff.
2009-08-14 09:23:10 +00:00
espie
821ea55ffc kill oldish wantlib syntax that no longer exists, results in saner wantlib
tables.
2008-11-25 18:01:15 +00:00
espie
7fee9245be fixes some inheritance issues. Problem noticed by bernd@ 2008-10-26 23:42:24 +00:00
espie
8ef4a31d6f recognize more wrong depends errors 2008-10-26 15:12:30 +00:00
espie
3e33ca8732 style nitpick, no functional changes 2008-08-20 21:02:47 +00:00
espie
d0317bfa90 new version, lots of code refactoring, and a new compact database. 2008-08-19 23:50:54 +00:00
steven
5a12bf0e91 put USE_X11 in the table.
sure espie@
2006-12-27 11:16:10 +00:00
espie
6837ca4337 optimize table structure, idea from Martynas Venckus 2006-11-03 23:26:41 +00:00
espie
ae324520f0 use DROP IF EXISTS (from Martynas Venckus)
fix WANTLIB, regexp to strip version was totally wrong...

(more to come)
2006-11-03 23:03:09 +00:00
espie
4904d6eb6e move mksqlitedb in the port that uses it. 2006-10-15 09:41:44 +00:00