53 Commits

Author SHA1 Message Date
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
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
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
55ce2fb581 Use new SHA1/MD5 hashes from CurseForge API 2022-02-14 18:21:22 +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
4abf3340a1 Move to packwiz org 2021-12-28 16:28:34 +00: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
896b9548de Fabric filtering and native export for CurseForge 2021-06-15 03:09:49 +01:00
comp500
8cbe7d4c61 Add pack-root option (fixes #27) 2021-06-04 02:10:29 +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
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
d789066039 Fix pre-release and release candidate version checking 2020-06-20 02:38:07 +01:00
comp500
4000d0a1a0 Fix updating of snapshot mods 2020-04-13 23:10:25 +01:00
comp500
c967575cd3 Fix support for all snapshot versions 2020-04-13 21:35:34 +01:00
comp500
bcae40e531 "Fix" 20w15a yes very bad 2020-04-13 19:17:24 +01:00
comp500
6b04aaf74d Hopefully handle snapshots (or at least 20w12a) correctly 2020-03-25 20:42:01 +00:00
comp500
a553c3ce08 Fix unhandled error warnings, error messages (except import.go) 2019-11-15 22:28:14 +00:00
comp500
5ba9ff5c73 Fix some printfs, clean regexes, switch to fuzzy matching for search 2019-11-01 15:46:50 +00:00
comp500
4fea7ceebf Switch to cobra/viper 2019-09-16 21:44:40 +01:00
comp500
8915e16614 Add CurseForge aliases 2019-09-16 17:17:07 +01:00
comp500
148b88474e
Apparently curseforge allows underscores in slugs 2019-08-20 22:10:56 +01:00
comp500
0c94ea9c7c
Improve regexes 2019-08-16 18:33:37 +01:00
comp500
c8359ca794
Defer file requests to DoUpdate 2019-06-17 02:54:52 +01:00
comp500
5c82486016
Add request batching for cf updates 2019-06-16 18:35:40 +01:00
comp500
06c5b08813
Add update logic for single mods 2019-06-16 16:01:49 +01:00
comp500
b6c71191d4
Implement update routines for CF 2019-06-16 15:05:47 +01:00
comp500
b77e2080c7
Redo update system to work with batched updates 2019-06-16 14:25:54 +01:00
comp500
adcde05693
Move locating mods to index 2019-06-15 00:40:56 +01:00
comp500
91693cd3eb
Command to open page in browser; refactoring 2019-06-14 22:35:34 +01:00
comp500
ebc2115b41
Select file id, improve searching 2019-06-14 20:13:00 +01:00
comp500
e7ed7d8d11
Update the pack hash when adding/importing mods 2019-06-14 18:12:14 +01:00
comp500
8eeb509565
Update index in import/add, improve index funcs 2019-06-14 18:07:58 +01:00
comp500
310078b1fb
Sort by levenshtein distance 2019-06-13 22:58:46 +01:00
comp500
10beffb30c
Add mod searching 2019-06-13 22:54:25 +01:00
comp500
683e125987
Improve import code, add promptui dep 2019-06-13 21:44:49 +01:00
comp500
25747ad8bd
It Actually Works!!! 2019-06-12 21:35:44 +01:00
comp500
c19a4b1e60
Switch to Curse API, as auth is not needed anymore 2019-06-12 15:17:56 +01:00
comp500
b43849ccdd
Commit WIP import command 2019-06-12 15:10:04 +01:00
comp500
f23f99b5be
Fix struct tagging by just using string keys 2019-05-11 14:40:59 +01:00
comp500
ef98591d02
Actually write mod files
but aaa it doesn't use the struct tags properly so things are bad
2019-05-11 14:32:14 +01:00
comp500
3fdac51d22
Mod metadata retrieval 2019-05-11 01:43:34 +01:00