195 Commits

Author SHA1 Message Date
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
9faf42c0a8 Use semver for the goreleaser version 2022-04-20 02:27:50 +01:00
comp500
f008ecec0f Fix amd64 builds (goreleaser added a _v1 suffix to output folders) 2022-04-20 02:17:56 +01:00
comp500
3d7793ef9b Update dependencies, remove custom completion command in favour of cobra-generated one 2022-04-19 21:27:11 +01:00
comp500
f85938fa12 Expose darwin/arm64 and windows/arm64 builds (fixes #105) 2022-04-11 00:11:05 +01:00
comp500
b69080ce49 Update README to reflect go 1.18 update 2022-03-30 12:53:56 +01:00
comp500
3ab85821e9 Add support for looking up 1.19 snapshot versions on CurseForge 2022-03-29 01:05:12 +01:00
comp500
cdd737839d Automatically download and bundle unwhitelisted mods/files in Modrinth modpacks 2022-03-29 01:02:24 +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
d43984923e Prefer SHA1 hash first for Modrinth files 2022-02-14 20:12:13 +00:00
comp500
07c0af7bcb Add packwiz binaries to default ignores (fixes #37) 2022-02-14 20:09:55 +00:00
comp500
f58e16ff81 Batch CF import file requests for significantly improved speed 2022-02-14 19:13:27 +00:00
comp500
f1716faa72 Fix URL re-encoding for square brackets 2022-02-14 18:47:03 +00:00
comp500
55ce2fb581 Use new SHA1/MD5 hashes from CurseForge API 2022-02-14 18:21:22 +00:00
comp500
9585272311 Reorder preferred hash list 2022-02-14 16:53:34 +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
fa5de4b4bc Add default .packwizignore contents (fixes #3) 2022-02-10 16:47:38 +00:00
comp500
226a376be9 Import author/version metadata from CurseForge packs 2022-02-10 16:32:55 +00:00
Sasha Sorokin
f41235b04c
Fix ignore file inconsistencies (#88)
* Fix ignore file inconsistencies

.packwizignore is supposed to work like .gitignore, yet it fails
miserably at doing so, being able to ignore only global patterns like
*.zip, and failing at patterns like /*.zip.

This commit introduces two changes to fix the issue:

- First, it uses a more up-to-date library. denormal/go-gitignore has
  not been updated since 2018 and has long open issues and pull
  requests, one of which tries to address leading slash ignoring, a-la
  /*.zip. denormal account seems to be abandoned since around the same
  year, so it makes sense to find a new library that does roughly the
  same thing.

  Gladly so, there's actually a library by sabhiram that shares the same
  name (but not the package name itself - which is just ignore - so it
  probably requires aliasing when importing).

- Secondly, it checks relative paths against ignore file instead of the
  absolute ones, which makes it possible to use leading slash (and
  probably some other features) with the new library.

From personal tests, it seems to address most - if not all - of the
inconsistencies. However, since it's a different library more throughout
testing probably wouldn't hurt to make sure it didn't break anything.

* Move dependency to main block
2022-01-23 21:05:34 +00:00
comp500
e233ac09c7 Update README for Modrinth exporting 2021-12-28 23:20:41 +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
comp500
4abf3340a1 Move to packwiz org 2021-12-28 16:28:34 +00:00
comp500
50180f7fee Fix broken links 2021-12-27 17:18:58 +00:00
comp500
2d9913cb81 Add more information to README.md 2021-12-27 01:33:31 +00:00
comp500
00e647fb4b Remove optional disabled filtering from CurseForge packs (uses "required" flag) 2021-12-27 01:28:53 +00:00
comp500
492340dfe6 Better error messages for mod update errors 2021-12-02 20:00:07 +00:00
comp500
5ef3358285 Fix error reporting when installing Modrinth mods from URL 2021-12-02 19:53:54 +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
a8bf26cc26 Remove unused Client/Server fields 2021-10-11 21:09:55 +01:00
comp500
7fed0aa845 Remove most documentation from README, point to website 2021-10-10 18:52:44 +01:00
comp500
1cbc9d4a11 Remove release-channel 2021-10-10 18:46:43 +01:00
comp500
9ef87bc0d3 Better handling of invalid Modrinth version numbers 2021-10-09 20:40:10 +01:00
Emma
7f27e8d130
Add 1.18-Snapshot to CF versions (#61) 2021-10-06 03:20:41 +01:00
comp500
ac9225ff93 Fix modrinth semver handling (fixes #60) 2021-10-03 18:30:44 +01:00
comp500
67c05d8376 Simplify installation instructions 2021-10-01 01:54:20 +01:00
comp500
48adf3ffb1 Comment out Dependencies field for Modrinth versions (fixes #56) 2021-09-30 22:49:03 +01:00
comp500
d7851bd7fd ExecuteC already prints errors (fixes #55) 2021-09-24 14:27:09 +01:00
fredster33
db586b646b
Fix typos (#53) 2021-09-19 21:02:01 +01:00
comp500
c89aeed576 Remove unnecessary filepath.Rel (Ignore calls Abs anyway) 2021-09-19 14:31:19 +01:00
comp500
92ba8effaa Fix modrinth update message (fixes #50) 2021-08-22 20:12:37 +01:00
comp500
7ac193eb87 Fix query encoding in CurseForge search (fixes #44) 2021-06-24 09:11:41 +01:00