17 Commits

Author SHA1 Message Date
comp500
d018d7e780 Fix download warning print loops 2023-06-23 18:22:02 +01:00
comp500
4fb1f1b59d Index fixes and performance improvements (fixes #223, #224)
- Fixed creation of duplicate index entries when importing from CurseForge (fixes #224)
- Automatically remove duplicates in index
- Fixed `packwiz serve` with a custom `--pack-root` argument (fixes #223)
- Fixed `packwiz serve` with a custom index.toml location
- Cleaned up internal serving code, added comments and better errors
- Refactored path handling code
- Improved refreshing/exporting performance
- Factored out duplicated exporting logic
- Replaced GetAllMods calls with cleaner LoadAllMods calls and made the former private
- Improved variable names in update command
- Improved handling of aliassed files
- Changed CheckUpdate to take references to metadata
- Removed the ability to use an absolute path to the index file (that probably didn't work anyway)
- Behaviour change: order of entries in exported files may be random
2023-05-29 23:15:55 +01:00
comp500
aeae76a569 Linter fixes (error handling, unused constants, raw strings) 2023-03-10 17:06:48 +00:00
comp500
79d3ed3957 Reword "mod"/"addon"/"install" to clearer terms across all commands (fixes #138) 2023-01-20 18:39:23 +00:00
comp500
4f6528dcb5 Fix Modrinth exports of external files with omitted side field 2022-10-30 04:52:09 +00:00
Jamie Mansfield
57b554d5e3
Add flag to disable Modrinth restricted domains (#126)
* Update list of Modrinth approved domains

* Add flag to disable Modrinth restricted domains

This allows packwiz to produce .mrpack files with direct downloads,
for packs that aren't distributed on modrinth.com.
2022-06-02 17:40:51 +01:00
comp500
dae133b73c Completed download implementation for Modrinth export 2022-05-21 05:00:21 +01:00
comp500
55f0e4a297 WIP: misc fixes, start updating CF/MR export to use download system 2022-05-20 18:13:43 +01:00
comp500
2073e4475e Support Modrinth modpack fileSize field and sha512 hash 2022-05-16 01:15:12 +01:00
comp500
f1eb34d444 Quilt support 2022-04-20 20:58:49 +01:00
comp500
cdd737839d Automatically download and bundle unwhitelisted mods/files in Modrinth modpacks 2022-03-29 01:02:24 +01:00
comp500
7c387f6c83 Add --output/-o flags for Modrinth/Curseforge export (fixes #38) 2022-02-27 17:44:44 +00:00
comp500
6bb15f593b Remove unnecessary warnings 2022-02-14 16:02:07 +00:00
comp500
36b6d806c8 Re-encode URLs from CF and when exporting to MR for RFC3986 compliance 2022-02-14 15:48:54 +00:00
comp500
20e57ac220 Warn when no version is provided 2021-12-28 22:32:18 +00:00
comp500
ce49820ef5 Add description field for Modrinth exports 2021-12-28 22:29:35 +00:00
comp500
60c08b93f3 Implement Modrinth pack exporting (fixes #34) 2021-12-28 22:03:22 +00:00