| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-01-12 | all: update machine container setup with latest Arch | Shulhan | |
| The latest mkosi use importctl instead of machinectl to import the image. There is an issue in mkosi.conf where build with Format=tar always get compressed using zstd, but importctl unable to import it, so we need to set CompressOutput=false. The home directory mode needs to be set to open 0755, because now its default to 0700, which makes the test failed to read file on others user's home. The pacman mirror changes to public one that is always available, geo.mirror.pkgbuild.com. The BUG_REPORT_URL in os-release for Arch changes which we need to modify because its included in the test-container. | |||
| 2023-10-12 | all: add integration tests for magic command "#get!" | Shulhan | |
| 2023-10-06 | all: simplify parsing statement for magic command get | Shulhan | |
| This changes minimize code duplication when parsing magic command between "#get:" and "#get!" using single function parseStatementGetPut. In the returned Statement, we changes where to store the source argument into args[0] instead of in cmd for better readability and minimize confusion in Copy/SudoCopy. While at it, we add unit test for "#get:". Unit test for "#get!" is not possible right now, because it will prompt for password. | |||
