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>
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>
- "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>
* added list command filter by side
* changed error logging for --side flags
* removed len checks on side flags
* removed comments previous commit made useless
- Fixed creation of duplicate index entries when importing from CurseForge (fixes#224)
- Automatically remove duplicates in index
- Fixed `packwiz serve` with a custom `--pack-root` argument (fixes#223)
- Fixed `packwiz serve` with a custom index.toml location
- Cleaned up internal serving code, added comments and better errors
- Refactored path handling code
- Improved refreshing/exporting performance
- Factored out duplicated exporting logic
- Replaced GetAllMods calls with cleaner LoadAllMods calls and made the former private
- Improved variable names in update command
- Improved handling of aliassed files
- Changed CheckUpdate to take references to metadata
- Removed the ability to use an absolute path to the index file (that probably didn't work anyway)
- Behaviour change: order of entries in exported files may be random
* Add base and loader command
* Support updating to latest
* Support explicit fabric versions
* Support explicit Forge version
* Support quilt
* Add support for updating Minecraft
* Add support for Forge recommended
* Fix Forge version sorting
* Various fixes
* Add documentation to the use
* More suggestions
* feat: add packwiz settings command to allow for changing acceptable versions
* Add deduping on the list
* Fix typo in comment
* Detect out of order list and give the user an option to correct it
* Support adding and removing specific versions
* Ensure the options aren't nil
* Clean up the slice removal boilerplate
* Fix usage of slices.Delete