1
0
forked from ALHP/ALHP.GO
Commit Graph

226 Commits

Author SHA1 Message Date
c04e50208f fixed wrong version comparison logic, again 2021-07-31 01:00:47 +02:00
3405e84d82 fixed reverted version comparison 2021-07-31 00:47:30 +02:00
b1863cf33c allow package version form repo to be newer 2021-07-29 21:28:24 +02:00
31022f2384 avoid nil reference 2021-07-29 20:45:45 +02:00
959ac2d689 improved logging 2021-07-29 17:47:29 +02:00
816ce81207 release alpm handle 2021-07-29 00:45:45 +02:00
156ac4c2cb reinit alpm after pacman sync 2021-07-29 00:43:22 +02:00
db02be5caa moved some const to utils.go 2021-07-28 02:31:53 +02:00
ff011edd4d improved logging to return what package is missing on mirror 2021-07-27 18:51:35 +02:00
1ee2cc1ea8 handle broken dependencies 2021-07-27 18:42:37 +02:00
a433b8144c added skipreason if waiting on mirror 2021-07-27 16:48:19 +02:00
af6e8cfa74 removed alpm lock 2021-07-27 16:24:30 +02:00
e28d85b10d Added pre-build dependency version check (#32)
Fixes #15.

Uses ALPM's `satisfies` to resolve dependencies and then compares resolved dependency from local sync database with svn2git's version.

Reviewed-on: https://git.harting.dev/anonfunc/ALHP.GO/pulls/32
Co-authored-by: Giovanni Harting <539@idlegandalf.com>
Co-committed-by: Giovanni Harting <539@idlegandalf.com>
2021-07-27 02:43:30 +02:00
17b415f8f3 updated README.md to point to correct package status URL 2021-07-26 17:36:52 +02:00
9fc18e7867 prepare for better stats 2021-07-26 16:38:12 +02:00
6001f1b847 move skipped package output to debug 2021-07-22 23:55:06 +02:00
9515072dc8 moved hardcoded classes to config, renamed status to packages to better reflect their content 2021-07-22 23:41:24 +02:00
c6b3d02cb1 remove redundant git clean error handling 2021-07-22 12:32:27 +02:00
a76f7c24ee delete repo-version after purging it from repo 2021-07-18 23:33:16 +02:00
6627546346 added anchors for pkgbase 2021-07-15 21:33:30 +02:00
4b74fe7999 added navbar and footer to statuspage; fixed not able to create database 2021-07-14 19:21:58 +02:00
f5f57bd3ef fix line breaks in tooltip 2021-07-14 02:38:07 +02:00
b1e69549ab move some columns into a tooltip 2021-07-14 02:11:04 +02:00
193b1ee20c do not repo-remove packages without files present 2021-07-13 20:01:42 +02:00
cd05ac9f9b display time in utc 2021-07-13 19:51:09 +02:00
6517a96885 sort pkgbase alphabetically 2021-07-13 19:34:06 +02:00
ff323b41bd add version to BuildPackage to keep track of successfully build package version 2021-07-13 19:18:35 +02:00
f8f1391797 fixed repo name ordering 2021-07-13 18:15:18 +02:00
1634b8862b added status page to README.md 2021-07-13 18:13:57 +02:00
b0cfe7b205 Add database backend (SQLite) (#26)
Add database with background information for each pkgbase, for possible future use.
A static status page is generated from the db.

Currently includes:

* sub-packages
* build-time
* build-duration
* status (failed, latest, skipped, queued, building, build)
* version (both from PKGBUILD and repo)
* last checked

Database is currently only used for informational purposes. Goal is to refactor many (expensive) methods to use the db instead of searching/parsing files.

Reviewed-on: https://git.harting.dev/anonfunc/ALHP.GO/pulls/26
Co-authored-by: Giovanni Harting <539@idlegandalf.com>
Co-committed-by: Giovanni Harting <539@idlegandalf.com>
2021-07-13 18:07:29 +02:00
9c8366372f Reference to issue for blacklist 2021-07-10 00:08:23 +02:00
899f48c181 increase purge channel buffer 2021-07-09 20:49:42 +02:00
a006f1b286 init maps first 2021-07-09 20:44:37 +02:00
003c15a9ee added one thread per repo for repo actions (add/remove packages) 2021-07-09 20:37:00 +02:00
9a0dc87659 don't wait forever if package to purge was not found 2021-07-09 14:50:25 +02:00
e124e7f359 dont mix blacklisted/any packages with haskell packages 2021-07-09 14:48:27 +02:00
293f1752a8 skip haskell packages for now until dependency trees are a thing #11 2021-07-09 14:46:50 +02:00
51bf7b7924 prevent repo-remove from getting SIGKILLed because main process exited 2021-07-09 14:12:43 +02:00
a2819587f1 remove backgroundCmd, try to SIGTERM building processes without setting pgid explicitly 2021-07-08 16:30:03 +02:00
fad993c294 rearranged README.md 2021-07-08 15:26:47 +02:00
cc73e46629 added remove repo to readme, explain and list blacklist 2021-07-08 15:25:58 +02:00
293e0bda70 removed replace command (was from the old days where pkgrel was not increased) 2021-07-08 14:28:33 +02:00
eb6f4b965a handle git clean fail on resync 2021-07-08 05:09:02 +02:00
fowler
2665739b2d Fix replace instructions in 'README.md' (#3)
Update 'README.md'

Reviewed-on: https://git.harting.dev/anonfunc/ALHP.GO/pulls/3
Co-Authored-By: fowler <fowler@git.harting.dev>
Co-Committed-By: fowler <fowler@git.harting.dev>
2021-07-07 23:30:14 +02:00
30b308c553 fix not counting build packages as eligible 2021-07-04 13:57:49 +02:00
60469a15a6 more commenting; fixed color in stdout 2021-07-03 22:28:08 +02:00
c4e34434a1 fetch updates after git pulls, open failed files with o_sync 2021-07-03 22:13:39 +02:00
eacb58efbc more formatting 2021-07-03 22:05:44 +02:00
7c28490157 avoid division by zero 2021-07-03 22:02:40 +02:00
f116d07311 use floats for percentage 2021-07-01 22:25:57 +02:00