]> git.seodisparate.com - AnotherAURHelper/log
AnotherAURHelper
17 months agoSet 5 attempts to umount tmpfs
Stephen Seo [Fri, 17 Nov 2023 11:40:44 +0000 (20:40 +0900)]
Set 5 attempts to umount tmpfs

17 months agoSet flag to stop building if signal SIGINT
Stephen Seo [Fri, 17 Nov 2023 11:36:43 +0000 (20:36 +0900)]
Set flag to stop building if signal SIGINT

17 months agoMore robust status print ending build step
Stephen Seo [Fri, 17 Nov 2023 11:32:12 +0000 (20:32 +0900)]
More robust status print ending build step

17 months agoUse mount options to set tmpfs user/permissions
Stephen Seo [Fri, 17 Nov 2023 11:19:30 +0000 (20:19 +0900)]
Use mount options to set tmpfs user/permissions

17 months agoExperimental support for building in tmpfs
Stephen Seo [Fri, 17 Nov 2023 07:28:49 +0000 (16:28 +0900)]
Experimental support for building in tmpfs

17 months agoMore refactoring of pkg status output
Stephen Seo [Sat, 11 Nov 2023 04:54:34 +0000 (13:54 +0900)]
More refactoring of pkg status output

Fix spacing.

17 months agoMinor tweak to build status print
Stephen Seo [Sat, 11 Nov 2023 02:24:05 +0000 (11:24 +0900)]
Minor tweak to build status print

17 months agoSet "build_status" on build failures
Stephen Seo [Thu, 9 Nov 2023 07:08:49 +0000 (16:08 +0900)]
Set "build_status" on build failures

17 months agoFix weirdness with build status and statsu print
Stephen Seo [Thu, 9 Nov 2023 06:32:26 +0000 (15:32 +0900)]
Fix weirdness with build status and statsu print

17 months agoFix repo setup example config
Stephen Seo [Thu, 9 Nov 2023 04:14:56 +0000 (13:14 +0900)]
Fix repo setup example config

17 months agoUpdate README.md
Stephen Seo [Sun, 29 Oct 2023 12:19:53 +0000 (21:19 +0900)]
Update README.md

17 months agoUpdate README.md
Stephen Seo [Sun, 29 Oct 2023 12:17:11 +0000 (21:17 +0900)]
Update README.md

17 months agoSignal handle SIGUSR1 to print status
Stephen Seo [Fri, 27 Oct 2023 07:10:21 +0000 (16:10 +0900)]
Signal handle SIGUSR1 to print status

17 months agoHandle SIGINT
Stephen Seo [Wed, 25 Oct 2023 13:19:35 +0000 (22:19 +0900)]
Handle SIGINT

17 months agoDisable ccache when checking PKGBUILD pkgver
Stephen Seo [Tue, 24 Oct 2023 02:05:45 +0000 (11:05 +0900)]
Disable ccache when checking PKGBUILD pkgver

18 months agoUpdate README.md
Stephen Seo [Fri, 20 Oct 2023 05:58:34 +0000 (14:58 +0900)]
Update README.md

Use default of "TrustedOnly" for pacman repo config.

18 months agoFix improper checking of "skip_branch_up_to_date"
Stephen Seo [Thu, 12 Oct 2023 02:28:40 +0000 (11:28 +0900)]
Fix improper checking of "skip_branch_up_to_date"

18 months agoClear gpg-agent cache so bad psswds don't pass
Stephen Seo [Fri, 6 Oct 2023 06:54:03 +0000 (15:54 +0900)]
Clear gpg-agent cache so bad psswds don't pass

18 months agoInstead of sys.exit(1), fail gracefully some cases
Stephen Seo [Tue, 3 Oct 2023 01:51:43 +0000 (10:51 +0900)]
Instead of sys.exit(1), fail gracefully some cases

19 months agoAdd documentation and type hints to datetime fns
Stephen Seo [Tue, 12 Sep 2023 02:21:04 +0000 (11:21 +0900)]
Add documentation and type hints to datetime fns

19 months agoFix datetime string in localtime (better fix)
Stephen Seo [Tue, 12 Sep 2023 02:17:13 +0000 (11:17 +0900)]
Fix datetime string in localtime (better fix)

19 months agoFix datetime string in localtime
Stephen Seo [Tue, 12 Sep 2023 02:12:07 +0000 (11:12 +0900)]
Fix datetime string in localtime

19 months agoFix build log not having space after timestamp
Stephen Seo [Mon, 11 Sep 2023 01:39:05 +0000 (10:39 +0900)]
Fix build log not having space after timestamp

19 months agoFix "datetime_in_local_time" usage
Stephen Seo [Mon, 11 Sep 2023 01:29:10 +0000 (10:29 +0900)]
Fix "datetime_in_local_time" usage

19 months agoImpl. using localtime timestamps if set in config
Stephen Seo [Sun, 10 Sep 2023 12:25:46 +0000 (21:25 +0900)]
Impl. using localtime timestamps if set in config

19 months agoUse RFC-3339/ISO-8601 compatible timestamps
Stephen Seo [Sat, 9 Sep 2023 02:06:04 +0000 (11:06 +0900)]
Use RFC-3339/ISO-8601 compatible timestamps

19 months agoLog package "installation" output
Stephen Seo [Wed, 6 Sep 2023 03:29:48 +0000 (12:29 +0900)]
Log package "installation" output

20 months agoApply "link_cargo_registry" in PKGBUILD ver. check
Stephen Seo [Wed, 26 Jul 2023 01:49:27 +0000 (10:49 +0900)]
Apply "link_cargo_registry" in PKGBUILD ver. check

21 months agoAdd doc-comment for fn handle_output_stream
Stephen Seo [Mon, 26 Jun 2023 04:18:19 +0000 (13:18 +0900)]
Add doc-comment for fn handle_output_stream

21 months agoImpl setting build to fail/continue on limit
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.

22 months agoEnforce a "log_limit" to limit stdout/stderr logs
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.

22 months agoFix erronous use of "Rust only" flag
Stephen Seo [Fri, 23 Jun 2023 03:03:57 +0000 (12:03 +0900)]
Fix erronous use of "Rust only" flag

22 months agoImpl "Rust only" sccache usage by config option
Stephen Seo [Fri, 23 Jun 2023 02:44:50 +0000 (11:44 +0900)]
Impl "Rust only" sccache usage by config option

22 months agoFix handling of "is_timed" when using log_print()
Stephen Seo [Wed, 7 Jun 2023 04:37:40 +0000 (13:37 +0900)]
Fix handling of "is_timed" when using log_print()

22 months agoHandle more (any) exceptions when building
Stephen Seo [Wed, 7 Jun 2023 04:32:06 +0000 (13:32 +0900)]
Handle more (any) exceptions when building

22 months agoImpl timestamped logs
Stephen Seo [Wed, 7 Jun 2023 03:25:39 +0000 (12:25 +0900)]
Impl timestamped logs

2 years agoMinor tweak to info output when verifying/building
Stephen Seo [Tue, 21 Mar 2023 02:11:29 +0000 (11:11 +0900)]
Minor tweak to info output when verifying/building

2 years agoAdd notes about `link_cargo_registry`
Stephen Seo [Mon, 20 Mar 2023 05:48:33 +0000 (14:48 +0900)]
Add notes about `link_cargo_registry`

2 years agoRevert "Check pkg sources in chroot"
Stephen Seo [Sat, 18 Mar 2023 04:24:54 +0000 (13:24 +0900)]
Revert "Check pkg sources in chroot"

This reverts commit 8891a80087811a9834063cd2550ceb67b971beb8.

2 years agoCheck pkg sources in chroot
Stephen Seo [Fri, 17 Mar 2023 07:09:20 +0000 (16:09 +0900)]
Check pkg sources in chroot

2 years agoUpdate README.md
Stephen Seo [Fri, 17 Mar 2023 06:26:08 +0000 (15:26 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Fri, 17 Mar 2023 06:24:23 +0000 (15:24 +0900)]
Update README.md

2 years agoFix integirty checking with gpg
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.

2 years agoBind `.cargo/git` dir with `link_cargo_registry`
Stephen Seo [Tue, 28 Feb 2023 02:49:06 +0000 (11:49 +0900)]
Bind `.cargo/git` dir with `link_cargo_registry`

2 years agoAdd opt to link "$HOME/.cargo/registry" on build
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.

2 years agoMerge branch 'dev'
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

2 years agoAdd type annotations to ArchPkgVersion class
Stephen Seo [Sat, 4 Feb 2023 08:08:49 +0000 (17:08 +0900)]
Add type annotations to ArchPkgVersion class

2 years agoAdd some docstrings to the ArchPkgVersion class
Stephen Seo [Sat, 4 Feb 2023 08:04:56 +0000 (17:04 +0900)]
Add some docstrings to the ArchPkgVersion class

2 years agoRemove usage of python-packaging, minor fixes
Stephen Seo [Sat, 4 Feb 2023 08:01:25 +0000 (17:01 +0900)]
Remove usage of python-packaging, minor fixes

2 years agoUpdate LICENSE year
Stephen Seo [Sat, 4 Feb 2023 07:58:00 +0000 (16:58 +0900)]
Update LICENSE year

2 years agoMinor fix
Stephen Seo [Sat, 4 Feb 2023 07:57:43 +0000 (16:57 +0900)]
Minor fix

2 years agoFormatting with python black
Stephen Seo [Sat, 4 Feb 2023 04:14:06 +0000 (13:14 +0900)]
Formatting with python black

2 years agoMore robust handling of non-digits in version
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.

2 years agoAttempt to fix issues with packaging.version.parse
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(...)`.

2 years agoUpdate README.md
Stephen Seo [Thu, 10 Nov 2022 08:54:30 +0000 (17:54 +0900)]
Update README.md

2 years agoMinor tweak to README.md
Stephen Seo [Mon, 17 Oct 2022 02:32:55 +0000 (11:32 +0900)]
Minor tweak to README.md

2 years agoAdd note in README about possible soft-lock
Stephen Seo [Sun, 16 Oct 2022 10:40:37 +0000 (19:40 +0900)]
Add note in README about possible soft-lock

2 years agoAdd type hints to all functions
Stephen Seo [Sun, 18 Sep 2022 05:16:34 +0000 (14:16 +0900)]
Add type hints to all functions

2 years agoFix typo: missing comma in tuple
Stephen Seo [Thu, 8 Sep 2022 04:29:22 +0000 (13:29 +0900)]
Fix typo: missing comma in tuple

2 years agoRefactorings related to subprocess
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".

2 years agoRemove tempfile created when setting up sccache
Stephen Seo [Wed, 7 Sep 2022 07:09:48 +0000 (16:09 +0900)]
Remove tempfile created when setting up sccache

2 years agoReplace roundabout way of setting up sccache
Stephen Seo [Wed, 7 Sep 2022 06:28:09 +0000 (15:28 +0900)]
Replace roundabout way of setting up sccache

2 years agoAdd missing compiler program for sccache support
Stephen Seo [Wed, 7 Sep 2022 06:06:05 +0000 (15:06 +0900)]
Add missing compiler program for sccache support

2 years agoAdd missing compilers to use sccache with
Stephen Seo [Wed, 7 Sep 2022 05:30:12 +0000 (14:30 +0900)]
Add missing compilers to use sccache with

2 years agoAdd documentation and do some refactoring
Stephen Seo [Tue, 6 Sep 2022 03:12:11 +0000 (12:12 +0900)]
Add documentation and do some refactoring

2 years agoRefactor log_print, remove unnecessary "global"
Stephen Seo [Mon, 5 Sep 2022 12:54:40 +0000 (21:54 +0900)]
Refactor log_print, remove unnecessary "global"

Untested.

2 years agoFix example_config.toml
Stephen Seo [Wed, 20 Jul 2022 02:34:24 +0000 (11:34 +0900)]
Fix example_config.toml

2 years agoUpdate chroot before checking pkgs not after
Stephen Seo [Wed, 20 Jul 2022 02:32:26 +0000 (11:32 +0900)]
Update chroot before checking pkgs not after

2 years agoFix PKGBUILD version updating to use makechrootpkg
Stephen Seo [Tue, 19 Jul 2022 03:32:06 +0000 (12:32 +0900)]
Fix PKGBUILD version updating to use makechrootpkg

Also did some refactoring.

2 years agoRemove debug print
Stephen Seo [Tue, 5 Jul 2022 03:06:16 +0000 (12:06 +0900)]
Remove debug print

2 years agoAllow "going back" for "skip...up_to_date" pkgs
Stephen Seo [Tue, 5 Jul 2022 02:56:29 +0000 (11:56 +0900)]
Allow "going back" for "skip...up_to_date" pkgs

2 years agoUpdate README.md
Stephen Seo [Sat, 4 Jun 2022 08:28:13 +0000 (17:28 +0900)]
Update README.md

2 years agoMerge branch 'dev'
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.

2 years agoFormatting with python-black
Stephen Seo [Sat, 4 Jun 2022 08:22:29 +0000 (17:22 +0900)]
Formatting with python-black

2 years agoAdd path validation for "signingGPG" directory
Stephen Seo [Sat, 4 Jun 2022 08:17:15 +0000 (17:17 +0900)]
Add path validation for "signingGPG" directory

2 years agoAdd some path validation/dir-creation
Stephen Seo [Sat, 4 Jun 2022 08:15:52 +0000 (17:15 +0900)]
Add some path validation/dir-creation

2 years agoSome fixes to example_config.toml
Stephen Seo [Sat, 4 Jun 2022 08:06:27 +0000 (17:06 +0900)]
Some fixes to example_config.toml

2 years agoFix typo
Stephen Seo [Sat, 4 Jun 2022 08:01:47 +0000 (17:01 +0900)]
Fix typo

2 years agoEnsure output pkgs dir exists on build
Stephen Seo [Sat, 4 Jun 2022 07:58:18 +0000 (16:58 +0900)]
Ensure output pkgs dir exists on build

2 years agoFix remnants of old usage hardcoding to SCRIPT_DIR
Stephen Seo [Sat, 4 Jun 2022 07:51:20 +0000 (16:51 +0900)]
Fix remnants of old usage hardcoding to SCRIPT_DIR

2 years agoFix invalid variable names when building
Stephen Seo [Sat, 4 Jun 2022 07:26:27 +0000 (16:26 +0900)]
Fix invalid variable names when building

2 years agoFix invalid variable names
Stephen Seo [Sat, 4 Jun 2022 07:23:07 +0000 (16:23 +0900)]
Fix invalid variable names

2 years agoFixes to README.md and update.py
Stephen Seo [Sat, 4 Jun 2022 07:15:41 +0000 (16:15 +0900)]
Fixes to README.md and update.py

2 years agoWIP Impl no hardcoding of clone dir
Stephen Seo [Sat, 4 Jun 2022 07:14:37 +0000 (16:14 +0900)]
WIP Impl no hardcoding of clone dir

Also modified example_config.toml due to changed variable names and
added a few comments.

2 years agoWIP Fix checking PKGBUILD, respecting "dirs_dir"
Stephen Seo [Sat, 4 Jun 2022 02:46:33 +0000 (11:46 +0900)]
WIP Fix checking PKGBUILD, respecting "dirs_dir"

The script should now open the PKGBUILD with the "editor" when an AUR
package is to be updated.

The script should eventually use "dirs_dir" in the config to place
git-cloned directories of AUR package repositories.

2 years agoDo minor refactoring
Stephen Seo [Fri, 3 Jun 2022 04:32:49 +0000 (13:32 +0900)]
Do minor refactoring

2 years agoUse python-black for formatting update.py
Stephen Seo [Thu, 2 Jun 2022 08:22:45 +0000 (17:22 +0900)]
Use python-black for formatting update.py

2 years agoUpdate README.md
Stephen Seo [Thu, 2 Jun 2022 08:20:18 +0000 (17:20 +0900)]
Update README.md

2 years agoFix .db.sig symlink to be relative, not absolute
Stephen Seo [Thu, 2 Jun 2022 08:16:49 +0000 (17:16 +0900)]
Fix .db.sig symlink to be relative, not absolute

2 years agoFix errors with the previous commit
Stephen Seo [Thu, 2 Jun 2022 08:05:39 +0000 (17:05 +0900)]
Fix errors with the previous commit

The previous commit made an invalid symlink to the signature. This
commit fixes this.

2 years agoFix handling of signed repo db signature
Stephen Seo [Thu, 2 Jun 2022 08:00:31 +0000 (17:00 +0900)]
Fix handling of signed repo db signature

"REPONAME.db.sig" is automatically removed, so this commit adds a
command to symlink it to "REPONAME.db.tar.sig" after signing
"REPONAME.db.tar".

2 years agoFix no default editor, log_print instead of print
Stephen Seo [Thu, 2 Jun 2022 07:49:26 +0000 (16:49 +0900)]
Fix no default editor, log_print instead of print

2 years agoFix hardcoded signature of db, editor
Stephen Seo [Thu, 2 Jun 2022 07:45:50 +0000 (16:45 +0900)]
Fix hardcoded signature of db, editor

2 years agoUpdate example config comments
Stephen Seo [Thu, 2 Jun 2022 07:08:48 +0000 (16:08 +0900)]
Update example config comments

2 years agoUpdate example config's comments
Stephen Seo [Thu, 2 Jun 2022 07:06:34 +0000 (16:06 +0900)]
Update example config's comments

2 years agoUpdate README.md
Stephen Seo [Thu, 2 Jun 2022 06:27:20 +0000 (15:27 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Thu, 2 Jun 2022 06:25:30 +0000 (15:25 +0900)]
Update README.md

2 years agoUpdate README.md
Stephen Seo [Thu, 2 Jun 2022 06:24:25 +0000 (15:24 +0900)]
Update README.md

2 years agoRemove unnecessary variable from example config
Stephen Seo [Thu, 2 Jun 2022 06:21:58 +0000 (15:21 +0900)]
Remove unnecessary variable from example config

2 years agoUpdate README.md about makechrootpkg
Stephen Seo [Thu, 2 Jun 2022 06:17:50 +0000 (15:17 +0900)]
Update README.md about makechrootpkg