Commit Graph

221 Commits

Author SHA1 Message Date
Luke T. Shumaker 67a9dc6a7a Makefile: Add comments about preprocessing things for ShellCheck 2024-08-16 11:18:35 -06:00
Luke T. Shumaker 77954dd7ce argparse.sh: Document how opt_specs works 2024-08-12 01:34:58 -06:00
Luke T. Shumaker ff782a0b4f indent: Fix the license header 2024-08-12 01:08:22 -06:00
Luke T. Shumaker 8fa7892ebe osi.sh: Add a comment about the exit codes 2024-08-12 01:05:21 -06:00
Luke T. Shumaker 779b31bce2 osi-mk: Indent stderr as well 2024-05-13 15:02:56 -06:00
Luke T. Shumaker e7ad02a2d4 fixup! BREAKING CHANGE: osi-mk: Split --conf into --fmt, --fmtconf, --pkgconf, and --conf 2024-05-13 15:02:29 -06:00
Luke T. Shumaker ba1976bd65 fixup! osi-mk: Fix to work with pacman 6.1.0 2024-05-13 15:00:37 -06:00
Luke T. Shumaker a8401b6a9c osi-mk: Fix to work with pacman 6.1.0
https://gitlab.archlinux.org/pacman/pacman/-/issues/136
2024-05-11 19:40:38 -06:00
Luke T. Shumaker a5be5a83f4 Makefile: Fix `make lint` 2024-05-11 10:53:55 -06:00
Luke T. Shumaker ae7addfe5e Merge branch 'lukeshu/strict-conf' 2024-03-04 15:02:20 -07:00
Luke T. Shumaker 5f16a12185 BREAKING CHANGE: osi-mk: Split --conf into --fmt, --fmtconf, --pkgconf, and --conf 2024-03-04 15:02:05 -07:00
Luke T. Shumaker 3a2de4169d osi-mk: Tidy up the opening of inside 2024-03-04 14:21:20 -07:00
Luke T. Shumaker a4e6730f16 BREAKING CHANGE: osi-mk: Hoist --arch to be a top-level flag 2024-03-04 14:21:18 -07:00
Luke T. Shumaker 261845c7b3 argparse.sh: Add opt_visit_early 2024-02-26 16:13:45 -07:00
Luke T. Shumaker 188319015b argparse.sh: Have opt_final be optional 2024-02-26 16:13:45 -07:00
Luke T. Shumaker c7e7099e30 osi-mk: Use `pacstrap -U` instead of `arch-chroot … pacman -U` 2024-02-26 16:10:43 -07:00
Luke T. Shumaker a7d9b0d778 osi-mk: format-dir.sh: Fix permissions 2024-02-25 22:01:16 -07:00
Luke T. Shumaker 7a51cd13fe Merge branch 'lukeshu/dir' 2024-02-14 11:17:42 -07:00
Luke T. Shumaker 7d7e4f2320 osi-mk: Add 'dir' and 'tar' formats 2024-02-14 11:16:31 -07:00
Luke T. Shumaker cf991a6404 osi-mk: Factor 'format' options into separate files 2024-02-14 09:02:04 -07:00
Luke T. Shumaker c47d74a474 BREAKING CHANGE: osi-mk: Rename some conf options 2024-02-14 08:53:52 -07:00
Luke T. Shumaker 5f0d33c402 argparse.sh: Don't set IFS for the callback functions 2024-02-14 08:53:52 -07:00
Luke T. Shumaker 069f7385f5 osi-mk: Audit 'trap' use, be clearer with tmp file names 2024-02-14 08:53:52 -07:00
Luke T. Shumaker ab4d67ebf8 Makefile: Let the tests run in parallel 2024-02-14 08:26:04 -07:00
Luke T. Shumaker 8293a9ae13 Merge branch 'lukeshu/fixup' 2024-02-14 01:47:20 -07:00
Luke T. Shumaker 7c801595dc Use 'bug' as appropriate 2024-02-14 01:40:58 -07:00
Luke T. Shumaker 051cc76eee osi.sh: Add print_stacktrace() and bug() functions 2024-02-14 01:40:55 -07:00
Luke T. Shumaker 9339272bad Convert all Bash programs to use argparse.sh 2024-02-14 01:40:52 -07:00
Luke T. Shumaker 3a1b7563c2 osi.sh: Prefix all functions with `osi.sh:` 2024-02-14 01:37:19 -07:00
Luke T. Shumaker 62afc95084 Add .editorconfig, trim trailing whitespace 2024-02-14 01:37:06 -07:00
Luke T. Shumaker 582df0a2db fixup! osi-mk: Write an argparse.sh library to make arg parsing sane 2024-02-13 18:58:49 -07:00
Luke T. Shumaker 4d4a313a70 fixup! osi-mk: Support building for other Parabola-supported architectures 2024-02-13 18:43:57 -07:00
Luke T. Shumaker a820deb4a2 fixup! Move things to `lib/` or `bin/` subdirectories 2024-02-13 00:05:48 -07:00
Luke T. Shumaker cbf7e3e298 Merge branch 'lukeshu/arm' 2024-01-30 08:37:04 -07:00
Luke T. Shumaker a1310b2ef6 osi-mk: Support building for other Parabola-supported architectures 2024-01-30 08:36:57 -07:00
Luke T. Shumaker 062313025a Merge branch 'lukeshu/tidy-repro' 2024-01-30 08:36:46 -07:00
Luke T. Shumaker 962a05362d osi-mk: Add a --conf=machine-id= flag 2024-01-29 23:56:00 -07:00
Luke T. Shumaker 2630d42238 osi-mk: Have pacman.log be reproducible 2024-01-29 23:56:00 -07:00
Luke T. Shumaker ced69a4f8c osi-mk: Write an argparse.sh library to make arg parsing sane 2024-01-29 23:56:00 -07:00
Luke T. Shumaker d545956395 osi-mount.bats: Remove debug line 2024-01-29 23:56:00 -07:00
Luke T. Shumaker 147b912ec3 osi-mk: Tidy up pacman/pacstrap args 2024-01-29 23:55:58 -07:00
Luke T. Shumaker c9e6c7e830 Get shellcheck to pass 2024-01-29 13:33:13 -07:00
Luke T. Shumaker 69be8af2e8 Fix TMPDIR messing with pacstrap 2024-01-26 00:20:35 -07:00
Luke T. Shumaker b0d522f9f5 First pass at adding tests for reproducible builds 2024-01-25 23:35:45 -07:00
Luke T. Shumaker 4e7caf1ada Properly handle -- in args to printf 2024-01-25 23:27:32 -07:00
Luke T. Shumaker 8fbffa90d0 Strictly obey TMPDIR 2024-01-25 19:03:07 -07:00
Luke T. Shumaker 0fe91d3c76 osi-mk: Set `--conf=dbus-units=dbus-broker-units` by default 2024-01-18 22:41:51 -07:00
Luke T. Shumaker 9ec6e26025 tests and fixes 2024-01-18 22:36:20 -07:00
Luke T. Shumaker 03c27c2b1f Lint that all files have a license specified 2024-01-05 11:42:15 -07:00
Luke T. Shumaker 7086342ea1 Lint the test files 2024-01-05 11:24:19 -07:00