comp500
f1716faa72
Fix URL re-encoding for square brackets
2022-02-14 18:47:03 +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
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
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
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
c89aeed576
Remove unnecessary filepath.Rel (Ignore calls Abs anyway)
2021-09-19 14:31:19 +01:00
comp500
896b9548de
Fabric filtering and native export for CurseForge
2021-06-15 03:09:49 +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
49d7b26b2e
Add no-internal-hashes mode
2021-05-04 19:56:56 +01:00
comp500
7bedd820c2
Add option to specify additional game versions ( closes #25 )
2021-05-04 19:07:29 +01:00
comp500
b5757fa63a
Fix loader game version prefix stripping in init command
2021-03-14 14:08:09 +00:00
TheEpicBlock
b5b9fd6810
Modrinth Support ( #11 )
...
Co-authored-by: comp500 <comp500@users.noreply.github.com>
2021-02-16 16:34:52 +00:00
AppleTheGolden
f2c6b89932
Lowercase hashes before comparing them ( #10 )
2021-01-13 19:00:04 +00:00
comp500
b8887e6704
Don't serialise empty author/version fields in pack.toml
2021-01-08 01:17:27 +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
Draylar
c5328ee788
Update core/mod.go
...
Co-authored-by: comp500 <comp500@users.noreply.github.com>
2020-10-20 11:40:11 -05:00
Draylar
aaf6ae77ac
no -> not
2020-10-19 17:31:05 -05:00
Draylar
1a21eca3a2
Remove special casing for casing differences, clarify error message
2020-10-19 17:29:54 -05:00
Draylar
0656d794e1
Add newlines after prints
2020-10-19 17:24:49 -05:00
Draylar
463848eaa0
Print error when a file hash only matches when uppercase
2020-10-19 17:20:07 -05:00
Draylar
ca20d88093
Clarify hash mismatch error in mod.go and also check with uppercase hash
2020-10-19 16:57:52 -05:00
comp500
a6d28faf61
Fix hang when refreshing an index with no files
2019-12-22 23:42:04 +00:00
comp500
a553c3ce08
Fix unhandled error warnings, error messages (except import.go)
2019-11-15 22:28:14 +00:00
comp500
5dfe23e51d
Implement pack importing/exporting for downloaded Curseforge packs
...
Abstract out hash implementations
Implement file saving/downloading
2019-11-12 22:11:40 +00:00
comp500
d6076dba5e
Allow jars/txt files in mods folder
2019-09-19 20:55:14 +01:00
comp500
b48f89d67c
Add serve command
2019-09-18 17:32:37 +01:00
comp500
dd24f356ea
Whoops
2019-09-17 21:53:14 +01:00
comp500
6c24be9f46
Create the containing directory if it fails
2019-09-17 21:52:23 +01:00
comp500
4fea7ceebf
Switch to cobra/viper
2019-09-16 21:44:40 +01:00
comp500
dc9fd4689f
Improve optional stuff, add preserve flag
2019-06-16 23:09:40 +01:00
comp500
e3bf7afe33
.packwizignore files
2019-06-16 21:42:12 +01:00
comp500
f0516b8600
Fix indexing progress bar, improve question
2019-06-16 20:59:45 +01:00
comp500
7880488bf1
Fix paths in index querying
2019-06-16 19:33:21 +01:00
comp500
5c82486016
Add request batching for cf updates
2019-06-16 18:35:40 +01:00
comp500
3a0f083da2
Implement updating of multiple mods at once
2019-06-16 16:51:14 +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
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
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