Ovaar

Software Engineering blog


Read my latest blog posts

Conan 2.x migration and the lessons learned

1. Conan 2.x migration and the lessons learned 1.1. The path to Conan 2 1.2. The Conan 2.x migration 1.3. Conan 2.x revisions and hashes 1.3.1. Recipe Revisions (RREV) 1.3.2. Package ID 1.3.3. Package Revisions (PREV) 1.3.4. Obtaining different revisions in Linux Unix and Windows 1.4. Conan Integrations 1.4.1. Conan Toolchain generator 1.4.2. Conan Deps generator XcodeToolchain changes 1.5. Conan APIs 1.

published on Fri, 12 Sep 2025

Azure pipelines - ctypes importerror

Fixing ctypes ImportError in Azure Pipelines: Missing _type_ Attribute When running pip install in an Azure Pipelines self-hosted agent, you might encounter the following error: File "~\myselfhostedagent\_work\_tool\Python\3.12.3\x64\Lib\site-packages\pip\_vendor\platformdirs\windows.py", line 254, in _pick_get_win_folder import ctypes # noqa: PLC0415 ^^^^^^^^^^^^^ File "ctypes\__init__.py", line 157, in <module> AttributeError: class must define a '_type_' attribute Interestingly, if you manually execute pip install using the same python.exe, it works fine. However, when executed within the Azure Pipelines agent, it fails.

published on Fri, 31 Jan 2025

Deploying a Blog with GitHub Actions, Docker, and Submodules

๐Ÿš€ Deploying a Blog with GitHub Actions, Docker, and Submodules ๐Ÿ“Œ Problem Statement If youโ€™re using GitHub Actions to build and deploy a static blog that: Runs inside Docker Pushes generated content to a GitHub Pages submodule Requires Git authentication to commit and push changes Then, you might run into permission issues, especially when pushing to submodules. This guide walks you through setting up GitHub Actions to automatically deploy your blog without permission errors.

published on Fri, 31 Jan 2025