Commit Graph

360 Commits

Author SHA1 Message Date
Elara 538b125190 Allow parsing additional scripts via source when pulling repos 2022-12-03 13:09:42 -08:00
Elara 6c82edd25d Provide scriptdir during first interpreter pass 2022-12-03 12:08:58 -08:00
Elara 1a36a6d530 Do two parsing passes when building a package, and prompt user to view script after the first 2022-12-03 11:52:09 -08:00
Elara 57c1a1702a Move promptViewScript() call to installScripts() 2022-12-02 23:28:49 -08:00
Elara d6b5696a2c Add build script viewer and prompt users asking if they want to read the script 2022-12-02 22:10:03 -08:00
Elara 2c9b21032c Add new commands to usage.md table of contents 2022-12-02 13:45:57 -08:00
Elara 64ea2be86f Update usage docs 2022-12-02 13:45:04 -08:00
Elara 2f89daa862 Add ability to list packages matching pattern 2022-12-02 13:15:07 -08:00
Elara b353261151 Add info logs to fix command 2022-12-02 12:45:34 -08:00
Elara af068507f1 Add fix command 2022-12-02 12:43:00 -08:00
Elara d312f0c211 Fix bash completion install path 2022-12-02 12:31:53 -08:00
Elara 1866f6bf94 Add bash and zsh completions 2022-12-02 12:29:55 -08:00
Elara e8bd5e94cc Make sure scripts are valid when updating DB 2022-12-01 11:08:20 -08:00
Elara c155f78a67 Rename repodir to scriptdir 2022-12-01 10:53:03 -08:00
Elara 39e5540ec0 Show version of installed package when listing installed packages 2022-12-01 00:14:07 -08:00
Elara 5857805d97 Disable root in ls command 2022-12-01 00:11:27 -08:00
Elara 5df16f085e Fix closing brace in infoCmd() function 2022-12-01 07:16:54 +00:00
Elara 78f710e94f Pull repos before every command that uses them 2022-11-30 23:04:52 -08:00
Elara bc4dec246c Remove unused internal/db.GetPkg() function 2022-11-30 22:54:03 -08:00
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