Commit Graph

116 Commits

Author SHA1 Message Date
0594777974 Add comments to Downloader and UpdatingDownloader interfaces 2023-01-29 14:19:20 -08:00
6ab82b121b Fix typo in comment 2023-01-29 13:43:39 -08:00
c2abed95f2 Normalize URL for caching 2023-01-29 13:42:23 -08:00
a73cd33654 Add comments for internal/{dl,dlcache} 2023-01-29 00:54:59 -08:00
12d8fa9d91 Remove old download package 2023-01-29 00:07:10 -08:00
4705cde60d Run go fmt 2023-01-28 21:08:35 -08:00
64eb34bbce Handle broken cache manifest 2023-01-28 21:05:20 -08:00
4f274b7add Switch to new download system 2023-01-28 20:53:06 -08:00
58c2b3956e Add unarchiving to file downloader 2023-01-28 20:33:36 -08:00
9a2e7a6f12 Add git downloader 2023-01-28 20:32:47 -08:00
5a578de3d3 Add initial caching download system 2023-01-28 15:17:22 -08:00
6e5bb389ad Add download caching system 2023-01-25 17:23:43 -08:00
057b72b4f6 Add translation system for LURE CLI 2023-01-12 19:41:52 -08:00
909b020089 Fix database presence check 2023-01-11 18:31:57 -08:00
2c1e11648e Warn user if DB does not have version 2023-01-11 18:31:08 -08:00
7e96a8666e Add language overrides to database 2023-01-11 15:26:12 -08:00
13ef66c415 Move database open code into internal/db 2023-01-11 14:14:31 -08:00
ac5db18366 Add languages to overrides 2023-01-11 13:37:52 -08:00
d770581cb6 Return error if db.JSON decode hook gets an invalid type 2023-01-01 19:28:16 -08:00
846a6f6f51 Move CLI helper functions into internal/cliutils 2022-12-29 12:25:37 -08:00
9199e0cf0b Skip packages with empty name 2022-12-29 12:01:54 -08:00
26945ca68b Display only info for current distro in lure info 2022-12-28 19:04:38 -08:00
0b4cfd8827 Split overrides into separate package with tests 2022-12-28 18:39:31 -08:00
2e1e26e188 Add tests for internal/shutils package 2022-12-27 12:13:22 -08:00
72197e4015 Add tests for internal/repos package 2022-12-27 11:23:34 -08:00
45e45771f9 Move json_array_contains sql function registration to internal/db 2022-12-27 11:14:04 -08:00
6e3273145f Add tests for internal/db package 2022-12-27 11:11:19 -08:00
70e68fbf9a Actually eliminate duplicate results this time 2022-12-24 13:58:05 -08:00
83ee385808 Eliminate duplicate results 2022-12-24 13:04:34 -08:00
aa8468be09 Switch to SQLite DB 2022-12-24 12:56:02 -08:00
842c88701f Add ignorePkgUpdates field to config 2022-12-18 17:46:40 -08:00
718f7e115f Add GetBuildScript API endpoint 2022-12-18 13:52:57 -08:00
50fd9becef Move generated api to internal, rename lure-api to lure-api-server 2022-12-18 13:41:52 -08:00
1cd53bbc54 Remove comments from DB and API 2022-12-18 00:15:14 -08:00
c4ad6187b1 Add GetPkg endpoint to API 2022-12-17 23:10:34 -08:00
49497c6534 Add twirp RPC backend API for lure-web 2022-12-17 21:01:50 -08:00
dacc0365f0 Fix SQL for deleting packages 2022-12-04 14:52:46 -08:00
513f873496 Clear screen when starting pager 2022-12-03 18:22:58 -08:00
538b125190 Allow parsing additional scripts via source when pulling repos 2022-12-03 13:09:42 -08:00
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
d6b5696a2c Add build script viewer and prompt users asking if they want to read the script 2022-12-02 22:10:03 -08:00
e8bd5e94cc Make sure scripts are valid when updating DB 2022-12-01 11:08:20 -08:00
bc4dec246c Remove unused internal/db.GetPkg() function 2022-11-30 22:54:03 -08:00
fc3782c7aa Fix spacing in database schema 2022-11-30 22:52:21 -08:00
053fbf0bc2 Handle the possibility of the DB not existing on startup 2022-11-30 22:38:22 -08:00
5ac5c612af Use strict database table schema 2022-11-30 22:22:37 -08:00
7266b716d1 Add doc comments 2022-11-30 22:15:34 -08:00
89ead2706d Create function for getting canonical CPU architecture 2022-11-30 22:02:36 -08:00
36e3b6a214 Make actions in internal/repos unexported 2022-11-30 21:47:07 -08:00
20ffb5839f Use correct verb when prompting user to choose packages 2022-11-30 19:33:40 -08:00
cf32dd19f0 Remove packages from DB when removing repository 2022-11-30 19:14:07 -08:00
dd1511b493 Switch all LURE operations to use new DB 2022-11-30 19:10:17 -08:00
fa52173bcc Add FindPkgs to repos package 2022-11-30 18:26:25 -08:00
9cad02fd7c Build and update database when repo pulled 2022-11-30 14:34:52 -08:00
5f2b5a025f Begin moving repository operations into separate package 2022-11-30 11:45:13 -08:00
ed4dfb242e Move configuration into separate package 2022-11-30 11:14:21 -08:00
401e8531ab Add initial helper functions (#39) 2022-11-20 20:52:38 -08:00
41c77de379 Add GPLv3 headers to all files 2022-11-05 16:11:01 -07:00
e1e57fbb0c Pass options to subshell when executing a ScriptFunc 2022-10-02 19:59:10 -07:00
61bcacba51 Add option to disable like distros in decoder 2022-10-01 20:53:26 -07:00
54261ea4fd Factor in ID_LIKE variable and ARM variants when checking for overrides 2022-09-30 20:07:44 -07:00
ec8474f981 Return EOF if Nop ReadWriteCloser is used 2022-09-30 16:25:40 -07:00
303cf27b77 Remove error when nop exec handler is executed 2022-09-30 16:22:27 -07:00
98fb613843 Remove unneeded WriteFunc() function 2022-09-26 14:07:13 -07:00
9eff6c61ff Add GPL headers 2022-09-26 12:28:21 -07:00
d6ca57087f Initial Commit 2022-09-25 14:00:15 -07:00