108 Commits

Author SHA1 Message Date
comp500
d5290ebd32 Eradicate variable-size integer types where not used by interface or as index (fixes #107) 2022-06-16 21:32:15 +01:00
comp500
f533e677ca Merge duplicate getLoaders methods into single core method 2022-06-08 22:34:50 +01:00
comp500
d34728f347 Add support for CF files marked with Quilt (fixes #127) 2022-06-05 04:39:51 +01:00
comp500
e71b63ea98 Check if download URL is null instead of allowModDistribution; fixes issue with null values for latter 2022-05-23 01:39:07 +01:00
comp500
dae133b73c Completed download implementation for Modrinth export 2022-05-21 05:00:21 +01:00
comp500
f3837af145 Completed download implementation for CF export
Added support for importing manual files and rehashing where necessary
Moved cache folder to "local" user folder
Cleaned up messages, saved index after importing
2022-05-21 03:40:00 +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
e73fa8c48a Continued work on download system (cache + cf meta now implemented) 2022-05-18 22:11:28 +01:00
comp500
30bc6d81bb WIP caching system for Modrinth/CurseForge pack export 2022-05-18 16:02:40 +01:00
comp500
0f3096e251 Use the correct directories for non-mod files; use .pw.toml extension
The mods-folder option is now replaced with two new options: meta-folder and meta-folder-base
This allows non-mod files to use the correct directory based on their category; with correct
import of resource packs/etc from CurseForge packs, and the ability to override this behaviour.
To improve the reliability of packwiz metadata file marking (in the index), new files now use .pw.toml
as the extension - any extension can be used, but .pw.toml will now be automatically be
marked as a metafile regardless of folder, so you can easily move metadata files around.
Existing metadata files will still work (as metafile = true is set in the index); though in
the future .pw.toml may be required.
2022-05-16 21:06:10 +01:00
comp500
d73c7e809b Reworked install command to use new slug lookup API, and support any game/category
New --category and --game flags allow using categories other than Minecraft mods (also parsed from URLs)
Fixed loader checks to allow a project with no loaders in the version list
Improved error messages and docs
Fixed sending empty mod requests when dependencies were already installed
Slug lookup now defaults to no category, forcing a user to interactively select a project (--category should guarantee no interactivity)
Added project summaries to search results
Fixes #112
2022-05-16 17:09:28 +01:00
comp500
640d4ac046 Update open command to use proper URL 2022-05-16 15:39:53 +01:00
comp500
0c5ff0b7bb Change backend request code to use new CurseForge API (WIP)
See the packwiz Discord for more information, as the changes with the new API Terms and Conditions have some implications for packwiz.
This commit isn't fully functional yet; I have more changes to make.
2022-05-07 18:18:57 +01:00
comp500
d7bfed5cb3 Fix installing without file ID, with no version data in latestfiles 2022-05-03 21:09:41 +01:00
comp500
efb434dadc Fix installing by file ID, allow using --file-id with slug 2022-04-30 21:02:00 +01:00
comp500
e29c3022b3 Improve error messages when unable to find a CF file/addon 2022-04-23 20:09:10 +01:00
comp500
f1eb34d444 Quilt support 2022-04-20 20:58:49 +01:00
comp500
3ab85821e9 Add support for looking up 1.19 snapshot versions on CurseForge 2022-03-29 01:05:12 +01:00
comp500
3fb350f244 Pass through optional-disabled on CF import (fixes #93) 2022-03-07 18:22:29 +00:00
comp500
7c387f6c83 Add --output/-o flags for Modrinth/Curseforge export (fixes #38) 2022-02-27 17:44:44 +00:00
comp500
2dd0a1ae78 Fix component version message in cf import (fixes #90) 2022-02-20 17:14:44 +00:00
comp500
f58e16ff81 Batch CF import file requests for significantly improved speed 2022-02-14 19:13:27 +00:00
comp500
55ce2fb581 Use new SHA1/MD5 hashes from CurseForge API 2022-02-14 18:21:22 +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
226a376be9 Import author/version metadata from CurseForge packs 2022-02-10 16:32:55 +00:00
comp500
60c08b93f3 Implement Modrinth pack exporting (fixes #34) 2021-12-28 22:03:22 +00:00
comp500
4abf3340a1 Move to packwiz org 2021-12-28 16:28:34 +00:00
comp500
00e647fb4b Remove optional disabled filtering from CurseForge packs (uses "required" flag) 2021-12-27 01:28:53 +00:00
comp500
96a2d5fdf6 Update loader/mc versions from imported CF packs (fixes #70)
also refactored internal modloader handling!
2021-11-22 14:44:08 +00:00
comp500
b628e2762c Switch to better semver library and add pack-format field 2021-10-12 18:51:02 +01:00
comp500
1cbc9d4a11 Remove release-channel 2021-10-10 18:46:43 +01:00
Emma
7f27e8d130
Add 1.18-Snapshot to CF versions (#61) 2021-10-06 03:20:41 +01:00
comp500
7ac193eb87 Fix query encoding in CurseForge search (fixes #44) 2021-06-24 09:11:41 +01:00
comp500
896b9548de Fabric filtering and native export for CurseForge 2021-06-15 03:09:49 +01:00
comp500
fd94e671cd Fix typo 2021-06-13 19:15:57 +01:00
comp500
8cbe7d4c61 Add pack-root option (fixes #27) 2021-06-04 02:10:29 +01:00
comp500
d6bed7ad4c Reorder Cancel option in menus to be more consistent (fixes #32) 2021-06-03 22:54:56 +01:00
comp500
49d7b26b2e Add no-internal-hashes mode 2021-05-04 19:56:56 +01:00
comp500
3462dd7f21 Add support for 1.17 snapshots in CurseForge requests 2021-05-04 19:09:33 +01:00
comp500
7bedd820c2 Add option to specify additional game versions (closes #25) 2021-05-04 19:07:29 +01:00
comp500
6557719c1f Improve modlist.html generation performance by using the ID redirect URL 2021-04-19 16:46:19 +01:00
comp500
f1009a3289 End path walk when an error is encountered in detect command, fixes nil pointer deref 2021-04-11 17:01:14 +01:00
comp500
bd9f5dbebc Fix mod URLs in modlist.html export 2021-03-14 16:21:58 +00:00
comp500
14d93fbd4e Support .litemod in cf detect 2021-03-14 14:08:09 +00:00
comp500
877c7d1b02 Add Jumploader to Fabric packs for CurseForge automatically (fixes #5) 2020-11-28 18:10:00 +00:00
ThetaDev
a87f7b50f0
Added author + pack version (#6)
* Added author + pack version

* Remove unnecessary binary

* Apply suggestions, clean up somewhat

Co-authored-by: comp500 <comp500@users.noreply.github.com>
2020-11-28 17:10:29 +00:00
comp500
2ca4ad91f9 Improved file selection - check both latest and game version latest 2020-11-11 04:33:49 +00:00
comp500
8325f07f18 Filter curseforge slug -> ID conversion for only mods 2020-11-05 17:02:02 +00:00
Draylar
36d707e622 Print file name in file error messages 2020-10-18 16:00:59 -05:00