New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search: Makefile (ports only): results for a website or domain in the context of WWW #406
Comments
It is not found because the database contains stale data for that column:
|
I first suspected this was related to the two mega-commits surrounding the move of It took a while to catch up and one of the things I missed was updating the Then I looked at another port:
That is also outdated. Now I suspect |
I think this confirms the 'makefile not being updates' theory.
|
Seems fixed in dev for new commits. A script will need to be run to fix up
|
changes packaged and installed on test. |
test is good. Now on staging. |
Confirmed good on staging. |
Confirmed good on prod. |
The next step, run a one-off script to refresh |
Now updating dev:
ETA 0000-0400 UTC |
Restarting after dealing with #407 |
Let's say one second per port, 45000/60/60 or 12.5 hours... |
Finished at about 2022.12.11 12:53 |
The original search phrase is no longer valid. The
|
While waiting for @grahamperrin to confirm, I'll run the update script on both Adding full text searches on |
The same for me, thanks. From the foot of text-only https://dev.freshports.org/search.php?stype=makefile&method=match&query=www.qemu.org&num=100&orderby=category&orderbyupdown=asc&search=Search&format=plaintext&branch=head:
|
Yeah dev has some debug on. |
@grahamperrin prod is done. |
Excellent, thanks. (I see the 2022-12-14 0110 UTC message at the production site.) Close? |
I've developed PortsDB that rebuilds in 20 minutes and contains all essential information about ports. It builds the SQLite DB: https://people.freebsd.org/~yuri/ports.sqlite Maybe FreshPorts can consider using it some time in the future. FreshPorts can, for example, show what other ports depend on a particular port, like Spack does. |
I've been looking, it seems to do this in parallel? I ask because I see What is Where is data extracted from the ports tree for a specific port? I could not find that. I have thought about making my maintenance scripts run in parallel instead of serial. My main concern: updating master ports first before any slave ports.
FreshPorts does not have a user interface like Spack, but it does show the dependencies. For example, at https://www.freshports.org/shells/bash/#dependencies the run time dependencies are shown. Both the forward (what does this port need ( |
It uses 'make' to parallelize port tree scan.
It creates the shadow ports tree from the main tree which it scans.
It is written first to the SQL script, which is later executed and creates SQLite records. |
After raising FreeBSD bug 267686 – emulators/qemu, emulators/qemu-devel, emulators/qemu-user-static: review WWW, I aimed to seek any other port for which the WWW is currently:
https://wiki.qemu.org/Main_Page
Seeking that string, verbatim, did not have the required effect (no real surprise). Instead, I sought:
wiki.qemu.org
https://www.freshports.org/search.php?stype=makefile&method=match&query=wiki.qemu.org&num=30&orderby=category&orderbyupdown=asc&search=Search&format=html&branch=head finds only two of the three ports that were identified in bug 267686.
Please, is this an issue with FreshPorts, or am I overlooking something?
Not found: emulators/qemu-user-static
https://cgit.freebsd.org/ports/tree/emulators/qemu-user-static/Makefile#n10:
The text was updated successfully, but these errors were encountered: