-
Notifications
You must be signed in to change notification settings - Fork 24
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
Test dependencies are missing #411
Comments
I'll bet the code doesn't extract them. |
Here is an example:
|
Nope, the code does not extract that.
|
It's pretty straight forward to modify the code and update the database for this. It takes about an hour. Then we need to add a one-time script to update all the ports. We also have to display the I can do all the backend stuff soon. That's the |
dev.freshports.org has the code to read and store |
Now the front end at dev.freshports.org should display |
|
The current code will populate ports as they are updated (i.e. when a new commit is processed). A script will be written to populate In the meantime, these ports have updates and have values for
See https://dev.freshports.org/devel/py-intbitset/#requiredtest for example. I'm sure the others are also correct. I will commit my changes soon. |
I have updated your database instance:
|
And set one value for testing:
|
If you pull my recent changes, and clear server-side cache, you should see |
Your database is being refreshed with
|
Thanks! |
The script finished. However, running it was premature. It didn't have the new code from |
New code packaged and installed on host. Script running again. |
It's worse than I thought. The |
Jail configured. Update script running again. |
From
|
Here is a short list for my future reference:
|
Testing.
But, nothing in the database:
|
Let's modify the update script to do just one port:
|
|
So that worked....
|
A revised script is running on
|
Progress so far:
|
The
|
1242 ports origins have TEST_DEPENDS. |
Please show your work. ;) I want to know how that compares to what I found in #411 (comment) |
|
Sorry, the correct number for pkgorigins with TEST_DEPENDS is 6342. |
still going:
FYI, regular commit processing is underway while I do this. That's a first. Sometimes it breaks the script because they are using the same git clone instance. When FreshPorts goes a git pull, sometimes a Makefile is not available. For example:
|
Looks like the script finished about 9 hours ago:
|
We have about 5600 ports with |
Taking one at random, I see: https://dev.freshports.org/devel/py-inifile/ |
NOTES for me: when updating a database:
|
After more
|
Guess who didn't start this in |
This isn't adding up. It's as if the script does not complete.
|
It didn't get past
|
Still running, looking better:
|
This started at 0208 and it's now 1957:
|
the backend and frontend code for this are both in production. The |
Done.
Over to you. :) Merry Christmas. |
Full list, with |
However, https://r720-02.freshports.org/x11/xpra/ does not show any test_depends https://dev.freshports.org/astro/py-astral/#dependencies does show it. Perhaps your code needs a pull from the repo for |
@yurivict your test instance now processes live commits. It should always be up to date with prod. |
@yurivict Hope all is well. :) |
@yurivict this is in production now. Shall we close this issue? |
Yes, closing it. |
The PHP code doesn't show them.
I am not sure if the database contains them.
The text was updated successfully, but these errors were encountered: