[allura:tickets] #8065 Run tests with real mongo?
Not sure if applicable, but something I've stumbled upon recently: https://testcontainers.com/. See: - https://testcontainers-python.readthedocs.io/en/latest/README.html - https://testcontainers-python.readthedocs.io/en/latest/mongodb/README.html Perhaps this can help in the subject of this ticket. --- **[tickets:#8065] Run tests with real mongo?** **Status:** open **Milestone:** unreleased **Created:** Thu Mar 10, 2016 10:23 PM UTC by Dave Brondsema **Last Updated:** Thu Mar 10, 2016 10:23 PM UTC **Owner:** nobody We should consider running our test suite with a real mongo database, it would allow better testing of mongo details, for example `aggregate()` calls which `mim` (mongo in memory) cannot emulate at this point. Several things would have to change: * specify real databases in `test.ini` * update `Allura/allura/websetup/bootstrap.py`'s `wipe_database` method to include those database names * make the database names semi-random and distinct so that running the tests in a multiprocess configuration don't use the same db and clobber each others' changes. (`mim` is already isolated per-process since its in memory) * update jenkins to have a real mongo available for tests "mim" is also a bit faster. In my single-process test run it was 70% the time of real mongo. So we'd be sacrificing some speed. --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #8534 set up github codeql
- **status**: in-progress --> review - **Comment**: db/8534 I tested it on my fork, I think it should work fine. It has some fixes, and all the remaining alerts I reviewed and aren’t a concern and can be dismissed in the GitHub UI after this is merged --- **[tickets:#8534] set up github codeql** **Status:** review **Milestone:** unreleased **Labels:** security **Created:** Fri Jan 05, 2024 05:07 PM UTC by Dave Brondsema **Last Updated:** Fri Jan 05, 2024 05:07 PM UTC **Owner:** Dave Brondsema Our repo gets mirrored to https://github.com/apache/allura/ so we can set up CodeQL to run there and check for security issues in code --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #8532 improve ruff config
- **status**: in-progress --> closed --- **[tickets:#8532] improve ruff config** **Status:** closed **Milestone:** unreleased **Created:** Tue Jan 02, 2024 10:34 PM UTC by Dave Brondsema **Last Updated:** Tue Jan 02, 2024 10:34 PM UTC **Owner:** Dave Brondsema --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[allura:tickets] #8534 set up github codeql
--- **[tickets:#8534] set up github codeql** **Status:** in-progress **Milestone:** unreleased **Labels:** security **Created:** Fri Jan 05, 2024 05:07 PM UTC by Dave Brondsema **Last Updated:** Fri Jan 05, 2024 05:07 PM UTC **Owner:** Dave Brondsema Our repo gets mirrored to https://github.com/apache/allura/ so we can set up CodeQL to run there and check for security issues in code --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.