diff --git a/CHANGELOG.md b/CHANGELOG.md index 66ff9d3..8738952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://git.rustybever.be/Chewing_Bever/vieter) -## Changed +## [0.2.0](https://git.rustybever.be/Chewing_Bever/vieter/src/tag/0.2.0) + +### Changed * Better config system * Support for both a config file & environment variables @@ -17,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * All routes now return proper JSON where applicable & the correct status codes -## Added +### Added * Very basic build system * Build is triggered by separate cron container @@ -32,7 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Support for multiple repositories * Support for multiple architectures per repository -## Fixed +### Fixed * Each package can now only have one version in the repository at once (required by Pacman) diff --git a/src/main.v b/src/main.v index c77e551..3025389 100644 --- a/src/main.v +++ b/src/main.v @@ -10,7 +10,7 @@ fn main() { mut app := cli.Command{ name: 'vieter' description: 'Vieter is a lightweight implementation of an Arch repository server.' - version: '0.1.0' + version: '0.2.0' flags: [ cli.Flag{ flag: cli.FlagType.string diff --git a/src/server/routes.v b/src/server/routes.v index ccc0e0e..138f253 100644 --- a/src/server/routes.v +++ b/src/server/routes.v @@ -97,7 +97,7 @@ fn (mut app App) put_package(repo string) web.Result { if !res.added { os.rm(pkg_path) or { app.lerror("Failed to remove download '$pkg_path': $err.msg") } - app.lwarn("Duplicate package '$res.pkg.full_name()' in repo '$repo ($res.pkg.info.arch)'.") + app.lwarn("Duplicate package '$res.pkg.full_name()' in repo '$repo'.") return app.json(http.Status.bad_request, new_response('File already exists.')) }