2024 Week #36 Notes
week-notes
2024-09-02
Monday 2nd September
- Normal start to the day. H back at school, A not yet.
- Setup new Tailscale SSH test VM. Asked the guys to test and see how it works out.
- Did some research into how Tailscale SSH logging works. It seems that you need to run a separate Docker image on your network, so I'll be interested in seeing how that gets setup. I think that logging is necessary.
- Meeting with R, discussed open-sourcing Giant Giving, and some of those issues. Hopefully he can protect his time this week.
- Finished up a quick ticket on Giant Giving, to enable/disable the Django admin as necessary. Simple ticket, PR is open.
- While I was working on that ticket, I noticed that there were a lot of warnings being generated while running the tests. I think it's important to get these sorted out before we open-source the product. This led to a raft of PRs:
- Fix coverage so it doesn't include test files.
- Upgrade to Django 4.2.15, to avoid a SQL injection vulnerability.
- Fix syntax in Dockerfile.
- Update pytest-cov to a more recent version.
- Update settings.STORAGES syntax to avoid deprecation warning.
- Remove use of setting.L10N.
- Fix DjangoModelFactories when using FactoryBoy, the behaviour had changed.
- Disable TZ awareness when running some tests, which was repeated for a different set of tests.
- Fix reportlab-related warnings.
- Fix tastypie-related warning.
- Ordered a new keyboard.
Tuesday 3rd September
- Did some mathematics study and notes this morning.
- Did some work on my old
ansible-setup-server
script to make it more generic, and remove theansible
dependency. It was only used to do some simple things, so I can use Bash for everything. I've also made it compatible with Void Linux. Renamed the repository, did some documentation. - Began thinking about revising the
co
script, so it could be quicker and more flexible. I had a chat with Claude.ai about addingfzf
integration to help narrow down the candidates for a repository name. So, for example, I could useco giving
to clonegiant-giving
, without needing to specify the full repository name.
Wednesday 4th September
- Began with merging some PRs for Giant Giving from Monday. Re-ran the tests, and we went from 341 warnings to 1 warning.
- Worked with the guys to further test Tailscale SSH.
- Started work on Sentry SSO Setup, various bits of wrestling with Azure Entra.
- Tested Sentry SSO setup, complete.
- Pushed a PR to start a new
demo
instance for Giant Giving. Will help A out. - Opened a
giant-giving
PR which will address a lot of outstanding security vulnerabilities. - Updated Pillow from
^9.3
to^10.4.0
, to address this advisory and this advisory, and others from previous Pillow releases. - Updated Gunicorn from
^20.1.0
to^23.0.0
to address this advisory - Updated
sentry-sdk
from^1.45.1
to^2.13.0
, to address this advisory, and access newer Sentry features. - Updated
black
from23.12.1
to^24.8.0
to address this advisory - Took a look at our venerable Ansible setup.
- Helped R setup a Bitwarden Secret Manager.
- Helped S figure out the location of the secret keys for the existing backup system.
- Did some admin of the home Unraid server, updates applied, Docker containers upgraded.
- Booked train for tomorrow.
- Took a look at using HASS at home for CCTV.
Thursday 5th September
- In Manchester for engineering meeting.
- Completed deployment of
giant-giving
, to get the demo instance deployed. This also took care of deploying the above dependency updates and the warning suppression worked on earlier in the week. - Did the engineering update to the team, L did the operations update.
- Spoke with R about deployments and how we're going to move forward with deploying containers.
- Did some initial work on
giant-news
towards adding new RSS and Atom feed classes. - Finished work on Atom and RSS feeds in
giant-news
. Tests gave me some trouble due to being so far out of date. This PR. - Messed around with VSCode Profiles. Setup a new profile for just editing notes.
Friday 6th September
- Meeting with W about tracking in GG. It's a complicated picture, but we decided to add some more logging. W suggested we move the functionality to frontend, which I'm not particularly keen on.
- Merged the PR for the
giant-news
changes. - Switched out the new keyboard switches from red switches to blue switched. Feels much better now.