This version is ready and can correctly update Wikidata. If we can solve the 403 issue when connecting to SPARQL endpoint, it's ready to commit. Meanwhile, to test this code, you can run the query and save the result (in XML format) at tmp/wikidata-query-result.xml
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jan 13 2023
Jan 12 2023
Fix CRLF issues
Clean comment and debug code
Don't hardcore wikidata table name twice
Rebased
fantoir2db is now fantoir-datasource
Remove test limit
A lot of code to handle exceptions, mainly because there are
several formats used to represent the FANTOIR code.
Jan 11 2023
Jan 10 2023
I've regenerated /usr/share/ca-certificates and /etc/ssl/certs based on a "recent" Debian ca-certificates package against Debian Sid, version 20211016. Works like a charm now.
Container still runs on Jessie, we need to deploy new @DorianWinty work on recent Debian PHP 8 container, with correct certificates.
Disabled Sentry, so we can have a correct log of the stacktrace, and updated description accordingly.
"The notification lifecycle: how a notification is provided and consumed" schema
Jan 9 2023
Extract run_multiple_queries method to the db module. We can't easily move the create_table function, as it needs schema-dependant replacement.
Switch to subcommands pattern (like git), so we can extend it
Creation date can be unknown, add code_fantoir to help cross data with other db, fix last line record parsing
Jan 5 2023
Draft implementation: rFANTDB59128e4bfd41 (needs to add all FANTOIR field).
Jan 3 2023
https://about.staging.gitlab.com/blog/2016/03/18/fast-search-using-postgresql-trigram-indexes/ makes me think a Postgresql table with with those GIN trigram indexes would be a better idea than json documents 🤔
Dec 27 2022
nasqueron/rust-musl-builder:nightly published, and we can build the image with that
Notification format: see T771
Dec 26 2022
Dec 22 2022
Tested with RUST_LOG=info so we can also check env logger update in action.
I tried to compile a previous version of the API.
Dec 21 2022
Hotfixed on Ysul with a sudo -u deploy composer update, works in production.
Relevant error file is /var/log/www/nasqueron.org/api-php.log on Ysul: