Stephen Seo
4fd128e27b
Fix confirm_result() depending on global
2023-11-17 20:55:17 +09:00
Stephen Seo
2b2a3c0dc3
Fix get_pkg_current_version() depending on global
2023-11-17 20:53:38 +09:00
Stephen Seo
b0185e1826
Fix type hints of "other_state"
2023-11-17 20:51:50 +09:00
Stephen Seo
0914c37345
Fix get_sudo_privileges depending on global
...
Another function that depended on "other_state" being global was fixed.
2023-11-17 20:51:26 +09:00
Stephen Seo
f79849340e
Fix function missing parameter
...
By putting main into a function, other_state is no longer a global. Some
functions depended on this global dict, so pass it as a parameter
instead.
2023-11-17 20:46:58 +09:00
Stephen Seo
c2d15ea593
Encapsulate main into a function
2023-11-17 20:45:47 +09:00
Stephen Seo
d57adee92c
Add comment about tmpfs in example_config.toml
2023-11-17 20:42:45 +09:00
Stephen Seo
c11d339baa
Set 5 attempts to umount tmpfs
2023-11-17 20:40:44 +09:00
Stephen Seo
d3b8bff839
Set flag to stop building if signal SIGINT
2023-11-17 20:36:43 +09:00
Stephen Seo
ba1980afbe
More robust status print ending build step
2023-11-17 20:32:12 +09:00
Stephen Seo
02af05e7a4
Use mount options to set tmpfs user/permissions
2023-11-17 20:23:23 +09:00
Stephen Seo
9c82f847ee
Experimental support for building in tmpfs
2023-11-17 16:42:06 +09:00
Stephen Seo
9d6378e97d
More refactoring of pkg status output
...
Fix spacing.
2023-11-11 13:54:46 +09:00
Stephen Seo
db15a34bf4
Minor tweak to build status print
2023-11-11 11:27:45 +09:00
Stephen Seo
063d13264a
Set "build_status" on build failures
2023-11-09 16:09:10 +09:00
Stephen Seo
85655dbc1d
Fix weirdness with build status and statsu print
2023-11-09 15:32:26 +09:00
Stephen Seo
cd7a98afab
Fix repo setup example config
2023-11-09 13:14:56 +09:00
Stephen Seo
f30a4fe75a
Update README.md
2023-10-29 21:19:53 +09:00
Stephen Seo
b10442ae35
Update README.md
2023-10-29 21:17:11 +09:00
Stephen Seo
d7941a589d
Signal handle SIGUSR1 to print status
2023-10-27 16:10:21 +09:00
Stephen Seo
58040766e8
Handle SIGINT
2023-10-25 22:25:24 +09:00
Stephen Seo
90eec890c7
Disable ccache when checking PKGBUILD pkgver
2023-10-24 11:05:45 +09:00
Stephen Seo
a662fc729f
Update README.md
...
Use default of "TrustedOnly" for pacman repo config.
2023-10-20 15:01:24 +09:00
Stephen Seo
ef2daa1c85
Fix improper checking of "skip_branch_up_to_date"
2023-10-12 11:28:40 +09:00
Stephen Seo
6c0aa0abdd
Clear gpg-agent cache so bad psswds don't pass
2023-10-06 15:54:03 +09:00
Stephen Seo
d11af2fd99
Instead of sys.exit(1), fail gracefully some cases
2023-10-03 10:51:43 +09:00
Stephen Seo
5fe4a0e864
Add documentation and type hints to datetime fns
2023-09-12 11:21:04 +09:00
Stephen Seo
d144127c39
Fix datetime string in localtime (better fix)
2023-09-12 11:17:13 +09:00
Stephen Seo
421d53ec28
Fix datetime string in localtime
2023-09-12 11:12:07 +09:00
Stephen Seo
51afe3a2b0
Fix build log not having space after timestamp
2023-09-11 10:39:05 +09:00
Stephen Seo
0a449d168d
Fix "datetime_in_local_time" usage
2023-09-11 10:29:10 +09:00
Stephen Seo
46216ebf37
Impl. using localtime timestamps if set in config
2023-09-10 21:25:46 +09:00
Stephen Seo
ffc86897d9
Use RFC-3339/ISO-8601 compatible timestamps
2023-09-09 11:06:04 +09:00
Stephen Seo
84a6181c35
Log package "installation" output
2023-09-06 12:29:48 +09:00
Stephen Seo
b7c2697f6a
Apply "link_cargo_registry" in PKGBUILD ver. check
2023-07-26 10:49:27 +09:00
Stephen Seo
c013e6b37b
Add doc-comment for fn handle_output_stream
2023-06-26 13:18:19 +09:00
Stephen Seo
ec48b1f419
Impl setting build to fail/continue on limit
...
If "error_on_build" is set to "true" in the config, then the build will
fail if the "log_limit" is reached.
2023-06-25 20:21:22 +09:00
Stephen Seo
fd86336ee0
Enforce a "log_limit" to limit stdout/stderr logs
...
Default "log_limit" of 1 GiB for stdout/stderr from building packages
output.
2023-06-23 20:01:58 +09:00
Stephen Seo
024c41f4a6
Fix erronous use of "Rust only" flag
2023-06-23 12:03:57 +09:00
Stephen Seo
cd6647d1a5
Impl "Rust only" sccache usage by config option
2023-06-23 11:45:16 +09:00
Stephen Seo
8a86babb8c
Fix handling of "is_timed" when using log_print()
2023-06-07 13:37:40 +09:00
Stephen Seo
56ffb57fe3
Handle more (any) exceptions when building
2023-06-07 13:32:06 +09:00
Stephen Seo
a453b8cd34
Impl timestamped logs
2023-06-07 12:25:39 +09:00
Stephen Seo
00561e0736
Minor tweak to info output when verifying/building
2023-03-21 11:11:29 +09:00
Stephen Seo
3fd1263d80
Add notes about link_cargo_registry
2023-03-20 14:48:33 +09:00
Stephen Seo
7c4fdfa307
Revert "Check pkg sources in chroot"
...
This reverts commit 8891a80087
.
2023-03-18 13:25:20 +09:00
Stephen Seo
8891a80087
Check pkg sources in chroot
2023-03-17 16:09:20 +09:00
Stephen Seo
7e8a57c10c
Update README.md
2023-03-17 15:26:08 +09:00
Stephen Seo
87784b829c
Update README.md
2023-03-17 15:24:23 +09:00
Stephen Seo
c764942ed1
Fix integirty checking with gpg
...
No longer need to use the pacman hook as integrity checking is done by
the script before building.
Also, the temporary file created to test gpg signing will now be
created, signed, and removed in the user's `.local/share` directory.
2023-03-17 15:21:58 +09:00