328 Commits

Author SHA1 Message Date
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
comp500
690d4e1a54 Use LF instead of CRLF endings when appending to .bashrc 2021-06-22 00:52:41 +01:00
comp500
e64ca68240 Improve completion compatibility with MSYS2/Cygwin (fixes #42) 2021-06-22 00:38:40 +01:00
comp500
d3f872d63d Update dependencies 2021-06-22 00:21:24 +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
76460c5414 Remove pack-root, fix serve command (fixes #39)
index.toml is now the pack root - if you want to replicate
what the pack-root option would have provided, just move
your index.toml (and update the path in pack.toml)
2021-06-13 19:15:33 +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
c6b99a50e2 Support any case for modloader input (fixes #36) 2021-06-03 22:45:02 +01:00
comp500
b505f5cad6 Disable auto-generated footer in markdown doc export 2021-06-03 22:42:53 +01:00
comp500
92a23dd88d Fix double-quoting of version filter 2021-05-20 18:03:27 +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