Commit Graph

341 Commits

Author SHA1 Message Date
Elara fc3782c7aa Fix spacing in database schema 2022-11-30 22:52:21 -08:00
Elara 053fbf0bc2 Handle the possibility of the DB not existing on startup 2022-11-30 22:38:22 -08:00
Elara d9087ab1c6 Merge pull request #44 from Arsen6331/add-database 2022-11-30 22:23:56 -08:00
Elara 5ac5c612af Use strict database table schema 2022-11-30 22:22:37 -08:00
Elara 7266b716d1 Add doc comments 2022-11-30 22:15:34 -08:00
Elara 89ead2706d Create function for getting canonical CPU architecture 2022-11-30 22:02:36 -08:00
Elara 97fdbe3c97 Create function for asking yes or no questions 2022-11-30 21:58:21 -08:00
Elara 36e3b6a214 Make actions in internal/repos unexported 2022-11-30 21:47:07 -08:00
Elara eed9213c8e Remove unused imports 2022-11-30 21:46:41 -08:00
Elara 4e37fbd35b Move pkgPrompt() to cli.go 2022-11-30 21:43:52 -08:00
Elara 6aee3fb310 Remove unnecessary PkgNotFoundError 2022-11-30 21:43:10 -08:00
Elara 1cd9b2f79e Add --installed/-I flag to ls command 2022-11-30 21:42:04 -08:00
Elara 20ffb5839f Use correct verb when prompting user to choose packages 2022-11-30 19:33:40 -08:00
Elara cf32dd19f0 Remove packages from DB when removing repository 2022-11-30 19:14:07 -08:00
Elara dd1511b493 Switch all LURE operations to use new DB 2022-11-30 19:10:17 -08:00
Elara fa52173bcc Add FindPkgs to repos package 2022-11-30 18:26:25 -08:00
Elara 9cad02fd7c Build and update database when repo pulled 2022-11-30 14:34:52 -08:00
Elara 180a45d651 Move version comparison to separate package 2022-11-30 11:46:51 -08:00
Elara 5f2b5a025f Begin moving repository operations into separate package 2022-11-30 11:45:13 -08:00
Elara ed4dfb242e Move configuration into separate package 2022-11-30 11:14:21 -08:00
Elara a32bbd11ea Switch to global log variable 2022-11-30 10:00:50 -08:00
Elara 7e103e4a61 Add git-version to table of contents 2022-11-29 13:50:35 -08:00
Elara 7700543c51 Add git-version helper command 2022-11-29 13:49:26 -08:00
Elara 1787a509eb Run version function in srcdir 2022-11-29 13:33:47 -08:00
Elara 2d6e1693f0 Revert f8f85e2 2022-11-29 13:30:58 -08:00
Elara 7c72655ffe Properly resolve relative paths in helper functions 2022-11-29 13:02:48 -08:00
Elara bdd63432a0 Mention install script in README 2022-11-27 12:46:08 -08:00
Elara 545948565b Add install script 2022-11-27 12:30:27 -08:00
Elara 0d9c309ae7 Add archlinux packager 2022-11-27 19:59:23 +00:00
Elara 6a149d3622 Fix install-completion example 2022-11-22 22:49:30 +00:00
Elara 62ed7fe1a3 Add version command 2022-11-22 12:54:03 -08:00
Elara 447f71a499 Add a way to check the minimum version supported by a LURE repo 2022-11-22 12:51:45 -08:00
Elara 101eeece89 Add documentation for helper commands 2022-11-22 12:26:06 -08:00
Elara 6a0e18ddd6 Use slice for list of distros excluded from /usr/lib64 2022-11-22 11:44:00 -08:00
Elara f975daab13 Use /usr/lib for libraries on Arch, Alpine, and Void linux 2022-11-21 22:16:06 -08:00
Elara 351e21aaee Add install-library helper command 2022-11-21 21:45:18 -08:00
Elara 29207ac6a7 Add DISTRO_ID_LIKE environment variable 2022-11-21 21:03:56 -08:00
Elara 64d178b8c3 Install manuals in the proper locations 2022-11-21 16:34:47 -08:00
Elara 0a0afb0366 Add install-completion helper command 2022-11-21 15:20:22 -08:00
Elara dc2ccded31 Change name of install-bin to install-binary 2022-11-20 20:56:34 -08:00
Elara 401e8531ab Add initial helper functions (#39) 2022-11-20 20:52:38 -08:00
Elara 1d33bc69b1 Add environment variables to table of contents 2022-11-20 14:17:20 -08:00
Elara f8f85e23df Run version function before anything else and set the version variable to its output 2022-11-20 14:15:31 -08:00
Elara 37d286beec Resolve ARM variant in the value of the environment variable 2022-11-20 13:57:59 -08:00
Elara f97c878a1d Make the architecture match on all machines 2022-11-20 13:54:49 -08:00
Elara d448ebe641 Add documentation for environment variables 2022-11-20 13:50:03 -08:00
Elara 00ec52f9f4 Expose distro version ID as an environment variable 2022-11-20 21:45:45 +00:00
Elara ffff59433e Parse distro version ID instead of build ID 2022-11-20 21:43:58 +00:00
Elara acc54564b6 Switch badge to self-hosted CI 2022-11-18 08:20:46 +00:00
Elara b38044bd7c Add woodpecker CI config 2022-11-18 08:18:02 +00:00