Commit Graph

24 Commits

Author SHA1 Message Date
espie d503056b9e start moving to use v5.36 2023-06-15 12:53:07 +00:00
espie 2159135658 extend request a bit more so that verbose mode also shows type of dependency 2020-06-11 19:55:15 +00:00
espie a0cef780a2 verbose mode, now that I've figured it out again 2020-06-11 16:05:52 +00:00
espie f03a34da8b add a few options and a manpage to show-reverse-deps 2020-06-11 15:40:41 +00:00
kn 870bcebea8 Say pkgpath not path in show-reverse-deps usage
Drop useless use of cat(1) and quote user input while here.

OK espie
2019-10-03 12:41:22 +00:00
espie d45c8394c9 bye bye old PERMIT_* 2019-07-14 11:27:19 +00:00
espie 3ec73388de make sure to stop if scripts fail
as noticed by sthen@
2019-06-04 16:05:52 +00:00
espie 71a2ef4f62 Add a denormalized table that instantiates the main ports view.
So, Portsq is a snapshot of Ports... dirty but fast.

I had mixed feelings about this.
There's also a script to resync the table.

Grows the db by about 50% (+25MB)

Discussed with sthen@
2019-05-18 21:35:21 +00:00
espie ee84de609c add descr/readme to ports view, simplify print-ports-index
don't left join on categories, it's always here.

make 'alter-tables' full

wantlib_ordered does not work yet... more stuff to look at.
2019-01-09 15:46:20 +00:00
espie 30bc3e29d9 ignore spaces around () 2018-12-30 19:51:38 +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 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
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
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
espie 90e969d0aa switch to one single schema for sqlports. Kill sqlports-compact (it is the
new default, change tables to be _table, views to be view (for now)) and
adjust consumers to work with the new tool, to the best of my knowledge
2018-11-28 14:57:45 +00:00
espie 4bfbd8802d indicate that build_depends are not 100% yet 2018-11-25 17:51:04 +00:00
espie d3102dae1c now we're getting serious :) 2018-11-25 17:45:57 +00:00
espie 4bcf544020 fix README/DESCR tables to actually contain the filename along with the
contents.

move print-ports-index to sqlports-compact, now that enough pieces of the
puzzle are there.

(still missing joins for all the *_ordered stuff in default _ports view)
2018-11-25 16:28:32 +00:00
espie e11bd09d54 oopsie 2018-11-25 11:40:20 +00:00
espie 819e5155d9 use with instead of temporary views 2018-11-18 16:25:23 +00:00
espie 65f97bbf3c join table on thing and thing2
simplify

no result change

thx niklas@
2018-11-12 15:58:37 +00:00
espie 3a7de6798f add print-ports-index and ports-INDEX 2018-11-12 15:27:35 +00:00