comp500
241f24b550
Allow re-running the GH actions build manually
2025-01-19 23:11:23 +00:00
TheEpicBlock
0626c00149
Fix neoforge versions ( #319 )
...
* Fix neoforge versions
* Parse NeoForge versions for supported minecraft versions
* Fix fetching NeoForge 1.20.1 versions
2024-10-14 17:49:53 +01:00
comp500
811dbc6f90
Pin Goreleaser version
2024-09-24 23:15:24 +01:00
comp500
ea1050a1f2
Update goreleaser config
2024-09-24 23:08:53 +01:00
comp500
9f40558905
Update goreleaser args
2024-09-24 22:50:15 +01:00
comp500
4cd729aa13
Update Github actions versions
2024-09-24 21:19:16 +01:00
comp500
6e026f173d
rehash command tweaks
2024-09-24 20:31:38 +01:00
comp500
0bb89a4872
Merge pull request #258 from unascribed/feature/rehash
...
Prefer SHA-512 for Modrinth, add rehash command
2024-08-28 19:19:41 +01:00
comp500
f1ea588c83
Don't write hash if retrieval failed
2024-08-28 19:19:12 +01:00
comp500
2d181f9f70
Restrict rehash hashes to secure hashes
2024-08-28 19:10:45 +01:00
comp500
4779b0a218
Merge branch 'main' into pr/unascribed/258
2024-08-28 18:58:50 +01:00
comp500
c391e1cfdd
Run go fmt
2024-08-28 18:54:13 +01:00
comp500
f05bbe1dd4
Merge branch 'main' into pr/unascribed/258
2024-08-28 18:53:47 +01:00
comp500
19b1cad665
Merge pull request #230 from unilock/gh-releases
...
Support for GitHub Releases
2024-08-28 18:46:00 +01:00
comp500
8d68ac2126
Run go fmt ./...
2024-08-28 18:26:29 +01:00
comp500
a0c4aadba0
Merge branch 'main' into pr/unilock/230
2024-08-28 18:25:44 +01:00
comp500
4503e905d7
Reformat, force line endings to LF for Go files
2024-08-28 18:14:00 +01:00
Keith
7b4be47578
Update modrinth url regex to accept 'www.' as well ( #304 )
2024-05-27 20:54:22 +01:00
James Groom
9cca74476d
Improve r13y of packwiz modrinth export
by sorting manifestFiles
( #287 )
...
resolves #244
2024-04-21 12:46:33 +01:00
Omay
5bb680f266
Improve installation instructions in README ( #283 )
2024-04-21 12:44:34 +01:00
Omay
62e78d40e9
Include primary version in printed acceptable versions list ( #280 )
...
fix #255
2024-04-21 12:43:31 +01:00
comp500
1c76f79888
chore: update packwiz vendorSha256
2024-04-21 11:42:16 +00:00
James Groom
069d32c5de
Respect -y
for packwiz init
( #290 )
2024-04-21 12:41:22 +01:00
unilock
4853d807e1
github: also exclude -dev-preshadow.jar assets by default
...
seems common among GTNewHorizons projects, which is the primary target (for me personally)
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-16 07:16:41 -04:00
unilock
7207d4c6a4
github: use regexp2 for advanced regex
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-16 07:04:13 -04:00
unilock
979b606b1e
github: check + fail if there are no assets matching regex
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 19:18:05 -04:00
unilock
d54da349d5
github: allow using a regular expression to match assets
...
safeguard against "undefined behavior" when a release has more than one asset
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 15:30:22 -04:00
unilock
bae4a6be64
github: remove outdated comment
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 15:29:06 -04:00
unilock
72afdee4d8
github: Handle empty x-ratelimit-remaining header
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:49:02 -04:00
unilock
3859b37267
github: Notify user when encountering GitHub API ratelimit
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:49:02 -04:00
unilock
3f5b953d00
github: Allow specifying branch to retrieve releases for via CLI
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:49:02 -04:00
unilock
e5d1d9d383
github: Properly handle writing to pack index
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:49:02 -04:00
unilock
d7fd884f48
github: Use Viper for GitHub API token
...
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:49:02 -04:00
unilock
8d4f8d9a86
github: Accept GitHub API token via OS environment variable
...
"GH_API_TOKEN"
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:48:57 -04:00
unilock
c96a6a30ad
github: don't return releases on wrong branch
...
if a branch is specified, but a release cannot be found on that branch, return an error instead of simply the latest release
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:48:57 -04:00
unilock
01945213d7
github: standardize language + fix api requests
...
language:
- funcs, vars, log messages, etc.
api requests:
- make all requests use the makeGet() function
- include packwiz user agent
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:48:57 -04:00
unilock
6116393310
github: fixes and improvements
...
- "file" -> "asset"
- "version" -> "tag" or "release" (where appropriate)
- fix updater.go for upstream changes
- make printed log messages more similar to those of other modules
- move http request function(s) to separate file "request.go"
- remove the concept of a "Mod"; we're using "Repo"s (GitHub repositories) instead
- remove unnecessary fields in structs
- use sha256 instead of sha1 for asset checksums
Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:48:57 -04:00
Tricked
837b4db760
fix: apply some suggestions
2024-04-15 14:48:57 -04:00
Tricked
faec4f4738
use sha1 instead of sha256
2024-04-15 14:48:57 -04:00
Tricked
5c07741447
feat: add branch support for github mods
2024-04-15 14:48:57 -04:00
Tricked
cb9550f4a6
feat: add support for more url aliases
2024-04-15 14:48:57 -04:00
Tricked
8c97b3e73b
fix: use mod.title instead of slug
2024-04-15 14:48:57 -04:00
Tricked
715e9439a1
fix: file hashing
2024-04-15 14:48:57 -04:00
Tricked
07033023af
feat: begin github support
2024-04-15 14:48:55 -04:00
comp500
7545d9a777
Merge pull request #270 from Whovian9369/main
...
Update version of `buildGoModule` used in `flake.nix`
2023-12-25 00:42:44 +00:00
Whovian9369
530dd1499d
Add a small note to how inputs.nixpkgs.url
maps to a Repo URL.
2023-12-24 15:38:25 -05:00
Whovian9369
79cb91a41e
Edit flake.nix
's inputs.nixpkgs.url
to be a little more verbose.
2023-12-23 21:06:36 -05:00
Whovian9369
23311218a1
Add some notes to flake.nix
and nix/prefetcher.nix
...
Notes are to describe `pkgs.buildGoModule` mapping in Nixpkgs.
2023-12-22 21:23:57 -05:00
Whovian9369
d3f58e025a
Update Nix flake.lock
to use newer version of Nixpkgs nixos-unstable
branch.
2023-12-22 21:12:15 -05:00
Whovian9369
e27ddc4b9f
Update version of buildGoModule
used in flake.nix
2023-12-22 20:05:19 -05:00