]>
git.seodisparate.com - AnotherAURHelper/log
Stephen Seo [Mon, 8 Apr 2024 02:57:09 +0000 (11:57 +0900)]
Fixes
Change "prefetch_dependency" to "prefetch_dependnecies" and fetch all
"other_deps" at the same time.
Fix some erronous type hints.
Stephen Seo [Mon, 8 Apr 2024 02:12:13 +0000 (11:12 +0900)]
Install s/ccache only when needed, note in README
It is better to not preinstall sccache/ccache in the chroot as mentioned
in the README.
Stephen Seo [Mon, 8 Apr 2024 02:02:36 +0000 (11:02 +0900)]
Prefetch "other_deps" with "pacman -Sw"
Stephen Seo [Thu, 4 Apr 2024 02:30:19 +0000 (11:30 +0900)]
Update README.md
Add note about security.
Stephen Seo [Tue, 2 Apr 2024 06:03:34 +0000 (15:03 +0900)]
Fix README.md
Stephen Seo [Tue, 2 Apr 2024 05:38:36 +0000 (14:38 +0900)]
Update README.md
Add note about "install scripts".
Fix typo.
Stephen Seo [Tue, 2 Apr 2024 05:28:56 +0000 (14:28 +0900)]
Update LICENSE year
Stephen Seo [Tue, 2 Apr 2024 05:09:14 +0000 (14:09 +0900)]
Don't generate user chroot if already once
Stephen Seo [Tue, 2 Apr 2024 04:30:26 +0000 (13:30 +0900)]
Improve install script rechecking
Rechecking the install script no longer re-prepares the user chroot.
Stephen Seo [Tue, 2 Apr 2024 04:20:57 +0000 (13:20 +0900)]
Impl. install script "rechecking" option
Stephen Seo [Tue, 2 Apr 2024 04:07:45 +0000 (13:07 +0900)]
Add checking of install script
PKGBUILDs may have a "install=<some_file>" line which should be checked,
as the install script is used for hooks during installation.
This commit adds checking of such install scripts (only if the package's
PKGBUILD actually has a "install=<some_file>" defined).
Stephen Seo [Tue, 21 Nov 2023 02:38:39 +0000 (11:38 +0900)]
Fix GLOBAL_LOG_FILE not being set by config
Stephen Seo [Sat, 18 Nov 2023 10:37:10 +0000 (19:37 +0900)]
Impl. checking PKGBUILD versions from in chroot
Stephen Seo [Sat, 18 Nov 2023 04:41:58 +0000 (13:41 +0900)]
Fix type hint for tuple of strings
Stephen Seo [Fri, 17 Nov 2023 11:58:27 +0000 (20:58 +0900)]
Fix build_print_pkg_info() depending on global
Stephen Seo [Fri, 17 Nov 2023 11:55:17 +0000 (20:55 +0900)]
Fix confirm_result() depending on global
Stephen Seo [Fri, 17 Nov 2023 11:53:21 +0000 (20:53 +0900)]
Fix get_pkg_current_version() depending on global
Stephen Seo [Fri, 17 Nov 2023 11:51:50 +0000 (20:51 +0900)]
Fix type hints of "other_state"
Stephen Seo [Fri, 17 Nov 2023 11:51:26 +0000 (20:51 +0900)]
Fix get_sudo_privileges depending on global
Another function that depended on "other_state" being global was fixed.
Stephen Seo [Fri, 17 Nov 2023 11:46:58 +0000 (20:46 +0900)]
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.
Stephen Seo [Fri, 17 Nov 2023 11:45:47 +0000 (20:45 +0900)]
Encapsulate main into a function
Stephen Seo [Fri, 17 Nov 2023 11:42:45 +0000 (20:42 +0900)]
Add comment about tmpfs in example_config.toml
Stephen Seo [Fri, 17 Nov 2023 11:40:44 +0000 (20:40 +0900)]
Set 5 attempts to umount tmpfs
Stephen Seo [Fri, 17 Nov 2023 11:36:43 +0000 (20:36 +0900)]
Set flag to stop building if signal SIGINT
Stephen Seo [Fri, 17 Nov 2023 11:32:12 +0000 (20:32 +0900)]
More robust status print ending build step
Stephen Seo [Fri, 17 Nov 2023 11:19:30 +0000 (20:19 +0900)]
Use mount options to set tmpfs user/permissions
Stephen Seo [Fri, 17 Nov 2023 07:28:49 +0000 (16:28 +0900)]
Experimental support for building in tmpfs
Stephen Seo [Sat, 11 Nov 2023 04:54:34 +0000 (13:54 +0900)]
More refactoring of pkg status output
Fix spacing.
Stephen Seo [Sat, 11 Nov 2023 02:24:05 +0000 (11:24 +0900)]
Minor tweak to build status print
Stephen Seo [Thu, 9 Nov 2023 07:08:49 +0000 (16:08 +0900)]
Set "build_status" on build failures
Stephen Seo [Thu, 9 Nov 2023 06:32:26 +0000 (15:32 +0900)]
Fix weirdness with build status and statsu print
Stephen Seo [Thu, 9 Nov 2023 04:14:56 +0000 (13:14 +0900)]
Fix repo setup example config
Stephen Seo [Sun, 29 Oct 2023 12:19:53 +0000 (21:19 +0900)]
Update README.md
Stephen Seo [Sun, 29 Oct 2023 12:17:11 +0000 (21:17 +0900)]
Update README.md
Stephen Seo [Fri, 27 Oct 2023 07:10:21 +0000 (16:10 +0900)]
Signal handle SIGUSR1 to print status
Stephen Seo [Wed, 25 Oct 2023 13:19:35 +0000 (22:19 +0900)]
Handle SIGINT
Stephen Seo [Tue, 24 Oct 2023 02:05:45 +0000 (11:05 +0900)]
Disable ccache when checking PKGBUILD pkgver
Stephen Seo [Fri, 20 Oct 2023 05:58:34 +0000 (14:58 +0900)]
Update README.md
Use default of "TrustedOnly" for pacman repo config.
Stephen Seo [Thu, 12 Oct 2023 02:28:40 +0000 (11:28 +0900)]
Fix improper checking of "skip_branch_up_to_date"
Stephen Seo [Fri, 6 Oct 2023 06:54:03 +0000 (15:54 +0900)]
Clear gpg-agent cache so bad psswds don't pass
Stephen Seo [Tue, 3 Oct 2023 01:51:43 +0000 (10:51 +0900)]
Instead of sys.exit(1), fail gracefully some cases
Stephen Seo [Tue, 12 Sep 2023 02:21:04 +0000 (11:21 +0900)]
Add documentation and type hints to datetime fns
Stephen Seo [Tue, 12 Sep 2023 02:17:13 +0000 (11:17 +0900)]
Fix datetime string in localtime (better fix)
Stephen Seo [Tue, 12 Sep 2023 02:12:07 +0000 (11:12 +0900)]
Fix datetime string in localtime
Stephen Seo [Mon, 11 Sep 2023 01:39:05 +0000 (10:39 +0900)]
Fix build log not having space after timestamp
Stephen Seo [Mon, 11 Sep 2023 01:29:10 +0000 (10:29 +0900)]
Fix "datetime_in_local_time" usage
Stephen Seo [Sun, 10 Sep 2023 12:25:46 +0000 (21:25 +0900)]
Impl. using localtime timestamps if set in config
Stephen Seo [Sat, 9 Sep 2023 02:06:04 +0000 (11:06 +0900)]
Use RFC-3339/ISO-8601 compatible timestamps
Stephen Seo [Wed, 6 Sep 2023 03:29:48 +0000 (12:29 +0900)]
Log package "installation" output
Stephen Seo [Wed, 26 Jul 2023 01:49:27 +0000 (10:49 +0900)]
Apply "link_cargo_registry" in PKGBUILD ver. check
Stephen Seo [Mon, 26 Jun 2023 04:18:19 +0000 (13:18 +0900)]
Add doc-comment for fn handle_output_stream
Stephen Seo [Sun, 25 Jun 2023 11:21:03 +0000 (20:21 +0900)]
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.
Stephen Seo [Fri, 23 Jun 2023 11:01:58 +0000 (20:01 +0900)]
Enforce a "log_limit" to limit stdout/stderr logs
Default "log_limit" of 1 GiB for stdout/stderr from building packages
output.
Stephen Seo [Fri, 23 Jun 2023 03:03:57 +0000 (12:03 +0900)]
Fix erronous use of "Rust only" flag
Stephen Seo [Fri, 23 Jun 2023 02:44:50 +0000 (11:44 +0900)]
Impl "Rust only" sccache usage by config option
Stephen Seo [Wed, 7 Jun 2023 04:37:40 +0000 (13:37 +0900)]
Fix handling of "is_timed" when using log_print()
Stephen Seo [Wed, 7 Jun 2023 04:32:06 +0000 (13:32 +0900)]
Handle more (any) exceptions when building
Stephen Seo [Wed, 7 Jun 2023 03:25:39 +0000 (12:25 +0900)]
Impl timestamped logs
Stephen Seo [Tue, 21 Mar 2023 02:11:29 +0000 (11:11 +0900)]
Minor tweak to info output when verifying/building
Stephen Seo [Mon, 20 Mar 2023 05:48:33 +0000 (14:48 +0900)]
Add notes about `link_cargo_registry`
Stephen Seo [Sat, 18 Mar 2023 04:24:54 +0000 (13:24 +0900)]
Revert "Check pkg sources in chroot"
This reverts commit
8891a80087811a9834063cd2550ceb67b971beb8.
Stephen Seo [Fri, 17 Mar 2023 07:09:20 +0000 (16:09 +0900)]
Check pkg sources in chroot
Stephen Seo [Fri, 17 Mar 2023 06:26:08 +0000 (15:26 +0900)]
Update README.md
Stephen Seo [Fri, 17 Mar 2023 06:24:23 +0000 (15:24 +0900)]
Update README.md
Stephen Seo [Fri, 17 Mar 2023 06:20:16 +0000 (15:20 +0900)]
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.
Stephen Seo [Tue, 28 Feb 2023 02:49:06 +0000 (11:49 +0900)]
Bind `.cargo/git` dir with `link_cargo_registry`
Stephen Seo [Mon, 27 Feb 2023 09:21:59 +0000 (18:21 +0900)]
Add opt to link "$HOME/.cargo/registry" on build
Set "link_cargo_registry = true" in an "[[entry]]" to link
"$HOME/.cargo/registry" to the build's chroot.
Stephen Seo [Sat, 4 Feb 2023 08:09:31 +0000 (17:09 +0900)]
Merge branch 'dev'
Fixes https://github.com/Stephen-Seo/AnotherAURHelper/issues/1
Stephen Seo [Sat, 4 Feb 2023 08:08:49 +0000 (17:08 +0900)]
Add type annotations to ArchPkgVersion class
Stephen Seo [Sat, 4 Feb 2023 08:04:56 +0000 (17:04 +0900)]
Add some docstrings to the ArchPkgVersion class
Stephen Seo [Sat, 4 Feb 2023 08:01:25 +0000 (17:01 +0900)]
Remove usage of python-packaging, minor fixes
Stephen Seo [Sat, 4 Feb 2023 07:58:00 +0000 (16:58 +0900)]
Update LICENSE year
Stephen Seo [Sat, 4 Feb 2023 07:57:43 +0000 (16:57 +0900)]
Minor fix
Stephen Seo [Sat, 4 Feb 2023 04:14:06 +0000 (13:14 +0900)]
Formatting with python black
Stephen Seo [Sat, 4 Feb 2023 04:12:23 +0000 (13:12 +0900)]
More robust handling of non-digits in version
class ArchPkgVersion now handles non-digit version subsections by
splitting them based on them being digits or not.
ArchPkgVersion.versions is now a tuple after initialization.
Stephen Seo [Fri, 3 Feb 2023 14:07:58 +0000 (23:07 +0900)]
Attempt to fix issues with packaging.version.parse
Defined a new class "ArchPkgVersion" to handle versions. May replace
usage of `packaging.version.parse(...)`.
Stephen Seo [Thu, 10 Nov 2022 08:54:30 +0000 (17:54 +0900)]
Update README.md
Stephen Seo [Mon, 17 Oct 2022 02:32:55 +0000 (11:32 +0900)]
Minor tweak to README.md
Stephen Seo [Sun, 16 Oct 2022 10:40:37 +0000 (19:40 +0900)]
Add note in README about possible soft-lock
Stephen Seo [Sun, 18 Sep 2022 05:16:34 +0000 (14:16 +0900)]
Add type hints to all functions
Stephen Seo [Thu, 8 Sep 2022 04:29:22 +0000 (13:29 +0900)]
Fix typo: missing comma in tuple
Stephen Seo [Wed, 7 Sep 2022 07:53:21 +0000 (16:53 +0900)]
Refactorings related to subprocess
Use tuples instead of lists where possible.
Prepend commands with "/usr/bin/env".
Stephen Seo [Wed, 7 Sep 2022 07:09:48 +0000 (16:09 +0900)]
Remove tempfile created when setting up sccache
Stephen Seo [Wed, 7 Sep 2022 06:28:09 +0000 (15:28 +0900)]
Replace roundabout way of setting up sccache
Stephen Seo [Wed, 7 Sep 2022 06:06:05 +0000 (15:06 +0900)]
Add missing compiler program for sccache support
Stephen Seo [Wed, 7 Sep 2022 05:30:12 +0000 (14:30 +0900)]
Add missing compilers to use sccache with
Stephen Seo [Tue, 6 Sep 2022 03:12:11 +0000 (12:12 +0900)]
Add documentation and do some refactoring
Stephen Seo [Mon, 5 Sep 2022 12:54:40 +0000 (21:54 +0900)]
Refactor log_print, remove unnecessary "global"
Untested.
Stephen Seo [Wed, 20 Jul 2022 02:34:24 +0000 (11:34 +0900)]
Fix example_config.toml
Stephen Seo [Wed, 20 Jul 2022 02:32:26 +0000 (11:32 +0900)]
Update chroot before checking pkgs not after
Stephen Seo [Tue, 19 Jul 2022 03:32:06 +0000 (12:32 +0900)]
Fix PKGBUILD version updating to use makechrootpkg
Also did some refactoring.
Stephen Seo [Tue, 5 Jul 2022 03:06:16 +0000 (12:06 +0900)]
Remove debug print
Stephen Seo [Tue, 5 Jul 2022 02:56:29 +0000 (11:56 +0900)]
Allow "going back" for "skip...up_to_date" pkgs
Stephen Seo [Sat, 4 Jun 2022 08:28:13 +0000 (17:28 +0900)]
Update README.md
Stephen Seo [Sat, 4 Jun 2022 08:23:31 +0000 (17:23 +0900)]
Merge branch 'dev'
This should fix hardcoded paths and clarify config items.
Stephen Seo [Sat, 4 Jun 2022 08:22:29 +0000 (17:22 +0900)]
Formatting with python-black
Stephen Seo [Sat, 4 Jun 2022 08:17:15 +0000 (17:17 +0900)]
Add path validation for "signingGPG" directory
Stephen Seo [Sat, 4 Jun 2022 08:15:52 +0000 (17:15 +0900)]
Add some path validation/dir-creation
Stephen Seo [Sat, 4 Jun 2022 08:06:27 +0000 (17:06 +0900)]
Some fixes to example_config.toml
Stephen Seo [Sat, 4 Jun 2022 08:01:47 +0000 (17:01 +0900)]
Fix typo