Commit Graph

62 Commits

Author SHA1 Message Date
Elara eb976be96e Update domain 2023-04-20 20:01:05 -07:00
Elara 0fe10af2c9 Add interactive flag to turn off prompts 2023-02-23 16:38:08 -08:00
Elara f9dd44f98a Add more logs after executing package() 2023-01-31 14:05:45 -08:00
Elara 2205d0ae83 Add missing GPL headers and change year to 2023 2023-01-30 23:12:29 -08:00
Elara da73e68d21 Install already-built package by default if available 2023-01-29 14:40:37 -08:00
Elara 42c604a41e Check provides field when filtering build dependencies 2023-01-29 01:32:55 -08:00
Elara 4f274b7add Switch to new download system 2023-01-28 20:53:06 -08:00
Elara 53f332aeed Add warning for already-installed packages 2023-01-25 16:43:25 -08:00
Elara 057b72b4f6 Add translation system for LURE CLI 2023-01-12 19:41:52 -08:00
Elara 846a6f6f51 Move CLI helper functions into internal/cliutils 2022-12-29 12:25:37 -08:00
Elara 085a11ddef Fix symlink resolution during package build 2022-12-22 14:18:41 -08:00
Elara 5809937eba Remove unused function 2022-12-18 17:59:58 -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 c155f78a67 Rename repodir to scriptdir 2022-12-01 10:53:03 -08:00
Elara 78f710e94f Pull repos before every command that uses them 2022-11-30 23:04:52 -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 20ffb5839f Use correct verb when prompting user to choose packages 2022-11-30 19:33:40 -08:00
Elara dd1511b493 Switch all LURE operations to use new DB 2022-11-30 19:10:17 -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 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 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 401e8531ab Add initial helper functions (#39) 2022-11-20 20:52:38 -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 00ec52f9f4 Expose distro version ID as an environment variable 2022-11-20 21:45:45 +00:00
Elara 004358050c Actually pass the repodir parameter this time 2022-11-13 19:30:23 -08:00
Elara cb74499769 Add repodir variable 2022-11-13 19:08:58 -08:00
Elara 271a6d84fb Remove installed build dependencies from list 2022-11-13 18:49:55 -08:00
Elara 34ff02c19a Make SKIP case-insensitive 2022-11-06 14:48:31 -08:00
Elara 67a0c4abe0 Fix postremove script decoding 2022-10-23 01:16:42 -07:00
Elara 93f534b107 Move packages to working directory after build (Fixes #13) 2022-10-14 01:37:13 -07:00
Elara efda30eacf Don't pull repos if they've already been pulled in the same command 2022-10-03 15:51:46 -07:00
Elara ae3b595f06 Add version() function 2022-10-02 20:09:12 -07:00
Elara 53b67203d8 Pass function directory using new ScriptFunc arguments 2022-10-02 20:06:00 -07:00
Elara 7e9e241df3 Disable like distros if LURE_DISTRO is set 2022-10-01 20:56:08 -07:00
Elara f9652abfe9 Ask user for confirmation if CPU arch doesn't match 2022-10-01 14:39:26 -07:00
Elara 9c15ad73bd Add options to package managers 2022-10-01 01:30:13 -07:00
Elara 6ebd5cfc11 Only set epoch if not equal to zero 2022-10-01 00:47:50 -07:00
Elara 55eabbd4cb Run gofmt 2022-09-30 20:09:09 -07:00
Elara 54261ea4fd Factor in ID_LIKE variable and ARM variants when checking for overrides 2022-09-30 20:07:44 -07:00
Elara d854c2baf6 Move reading build vars to separate function 2022-09-30 16:05:50 -07:00