4748 Commits

Author SHA1 Message Date
espie
1c7a76d4f1 choose inserter mode.
pull the AS into the contents so that we can get another mode of creating
views.
2018-12-24 10:49:47 +00:00
espie
f2f8ed867d join will become ambiguous 2018-12-21 17:06:21 +00:00
espie
2259b7166c skip actual autoincrement keys. 2018-12-21 17:06:07 +00:00
ajacoutot
29f2b72f43 Missed bump for the ruby subpackage PLIST change. 2018-12-21 13:19:24 +00:00
espie
b4880eb814 take column names into account 2018-12-21 11:49:05 +00:00
espie
431c00678c register views and tables centrally (so we know the names)
inserter sql statement
2018-12-21 11:11:06 +00:00
espie
3f0b8c5b0e add group_concat idiom
add missing commas
remove extra table name from select if there's just one table involved
2018-12-20 21:02:09 +00:00
espie
e6a5dde19e simplify origin sytnax 2018-12-20 20:39:24 +00:00
espie
26ef072d36 a bit more fluff 2018-12-20 15:57:16 +00:00
espie
dc3ef18bee Tweak table/view creation so that it will be able to use the new nicer way
once it's ready
2018-12-20 15:10:13 +00:00
espie
c74132927a make table aliases global, but trigger them later
add "prepend" so that we can more easily tweak tables/views from both
sides
2018-12-20 12:13:01 +00:00
ajacoutot
dc4f6454e9 Use python3 FLAVOR for dependencies.
ok robert@
2018-12-20 12:01:52 +00:00
robert
afdc7f1771 move the python subpackage to python 3 as this is only used
by kopano which is using python 3 already

update plist of the ruby subpackage while here
2018-12-20 09:59:26 +00:00
espie
1c7d2a4434 add glue for with contents
allow view columns without join (for now)
fix group by/order by display
2018-12-19 16:05:14 +00:00
espie
7efa4226fa tweak join handling so it preserves column order 2018-12-19 15:34:14 +00:00
espie
4702394208 have show-reverse-deps be more extensive.
Specifically, get it to take a pkgpath, and extend it to all variations
on that path
(e.g., try
show-reverse-deps devel/py-jedi after the change,
yields all the stuff depending on python2 AND python3 flavors)
2018-12-19 15:29:47 +00:00
espie
cb5995fe40 (unused yet) tools to building "readable" sql requests with nice indent
for sqlports
2018-12-18 19:09:26 +00:00
espie
5ebb45df6f make the connection read-only 2018-12-14 10:41:48 +00:00
espie
845cb3a600 make the db connection read-only 2018-12-14 10:40:23 +00:00
sthen
49b00025fd bump REVISION for ports with a LIB_ or RUN_DEPENDS on devel/boost,
it has been split into subpackages
2018-12-13 19:53:23 +00:00
sthen
7532a5bbf6 update to pecl-redis 4.2.0
(there were some breaking changes in 4.x, for information see
https://github.com/phpredis/phpredis/issues/1333, nextcloud is
reported as being ok with them, no other users in-tree)
2018-12-11 12:48:06 +00:00
sthen
dcdd36f49d move @pkgpath markers for pecl extensions so that versions compiled against
the old "ports default" versions of php are autoupdated to the current one
2018-12-11 12:33:26 +00:00
sthen
305fd3d250 drop ports/flavours requiring php 5.6 which is about to stop receiving
security fixes.
2018-12-11 12:07:47 +00:00
landry
015c31a70f Update to sqlite 3.25.3, will be required by gecko 65.
See https://www.sqlite.org/releaselog/3_25_2.html &
https://www.sqlite.org/releaselog/3_25_3.html for changes.

sqlite 3.26.0 has been released but a .1 is pending, and will require a
bit more baking.
2018-12-11 09:41:28 +00:00
bket
b3991fe99e Update to py-influxdb-5.2.1 2018-12-10 15:22:17 +00:00
bentley
b85e411177 Move xapian homepage/master_sites to https. 2018-12-08 22:48:39 +00:00
espie
564a915629 major oops. ports-readme-dancer was broken because I forgot to add that
patch to synchronize with sqlports.

Noticed by Wen Heping while testing an update to www/p5-Dancer.

See ? testing updates is good, it finds stupid mistakes (my own in this
case)....
2018-12-08 09:01:54 +00:00
sthen
303723b2d8 Use gcc to build postgresql on i386 to unbreak. In 10.6, an explicit
check was added to prevent building on clang/i386 unless either -msse2
is used (restricting cpu support which we don't want), or the compiler
gains support for -fexcess-precision=standard.

Discussion leading up to the added check:
https://www.postgresql.org/message-id/flat/20180904161624.57e68b3a%40fafnir.local.vm

Upstream commit:
https://github.com/postgres/postgres/commit/bd1463e348fcf

ok pea@
2018-12-05 12:12:51 +00:00
sthen
93c6878e23 update to p5-DBM-Deep-2.0016, from Charlene Wendling, plus enable LONG_TESTS 2018-12-04 19:21:58 +00:00
espie
f0525d825e faster turn-around: add a small script (and inserter logic) that can
just recreate the view info on top of an existing db.
2018-12-04 10:35:09 +00:00
espie
340fa8e2d5 do a bit of pretty printing on the other generated views as well 2018-12-03 20:11:15 +00:00
sthen
7e07414812 - Remove mismerged patch (fix was already committed upstream but the
patch wasn't removed, so duplicated some Makefile lines).

- Set SONAME correctly for the libraries. A symlink (libpq.so -> libpq.so.N.M)
is present during build. Internal programs linking with "-lpq" on arches using
LLD get "NEEDED libpq.so" from the symlink instead of the correct "libpq.so.N.M".
Override this by setting -soname (similar to what upstream are doing, but the
library minor was missing in their version).
2018-12-03 16:22:08 +00:00
espie
14c32f5240 replace the Column stuff with semantically identical definitions but
correctly indented

This makes most views marginally more readable
2018-12-03 15:28:40 +00:00
espie
28fc610c67 a script to normalize sqlite3 schemas to be able to compare them easily.
not part of the package, used for testing.
2018-12-03 15:17:56 +00:00
espie
03591f2de7 heh. adding all pkgpaths leading to a canonical version mean I have to
dedup for the ports index (e.g., group by...)

This should yield a fully stable index now
2018-12-03 14:01:03 +00:00
ajacoutot
1cc0e98de3 postgresql-server now properly depends on -main (client).
Add a LIB_DEPENDS on postgresql-client where we have pq in WANTLIB.

ok sthen@
2018-12-02 13:26:42 +00:00
pea
5dfc5642c2 fix dependencies
spotted by aja@

ok sthen@
2018-12-02 12:27:12 +00:00
ajacoutot
501433a36d Missing BDEP on postgresql-client (pg_config). 2018-12-02 09:15:35 +00:00
jeremy
2de6181740 Add a BDEP on databases/postgresql,-main, needed for pg_config
Found the hard way by naddy@
2018-12-02 00:57:01 +00:00
espie
dbed575207 iick, I still need to cd ${PORTSDIR} for DESCR, unfuck ports-INDEX
also add MASTER_SITES* and *DEPENDS to main ports view
also strip network.conf from "unneeded" makefile names
2018-12-01 20:37:57 +00:00
espie
5116894183 also write the inserter in verbose mode 2018-12-01 20:36:19 +00:00
pea
d8997a6e46 Update to 10.6
ok jeremy@
2018-12-01 17:48:03 +00:00
espie
defa60d3c1 minor tweaks:
- do the cd ${PORTSDIR} directly in the script, no need to change directory
to run mksqlitedb

- uniformize build vs fake to do every build part during build
2018-12-01 15:48:15 +00:00
martijn
26883e430b Remove directoryassistant. It doesn't seem to work with either the old
py-ldap or the new py-ldap 3.1.0. Upstream also appears dead.

OK sthen@
2018-12-01 12:59:20 +00:00
espie
fee2997fc1 add even more data to the main view, mainly most of the keyword lists
fixes a bug in the previous incarnation which would incorrectly record
one single key for lists (like CONFIGURE_STYLE)
simplify print-ports-INDEX accordingly
2018-12-01 08:28:55 +00:00
espie
4e227b4015 integrate a few of the list variables into the main view 2018-11-30 22:26:04 +00:00
sthen
9f478fad27 unbreak with newer python-ldap 2018-11-30 13:00:07 +00:00
sthen
044239aec5 update to python-ldap 3.1.0 and add py3 support
fix for databases/luma to follow
2018-11-30 12:59:10 +00:00
espie
d40a5e6719 separate inserter roles so I'll be able to add secondary vars to the
ports view
2018-11-30 09:08:24 +00:00
espie
1bf30ad70e rework _canonical_depends to be more similar to ports (e.g., canonicalize
the result, not the fullpkgpath).

create canonical_depends with the same info in a human readable form, so
yeah, a new join !
2018-11-29 17:26:18 +00:00