diff --git a/.woodpecker/.gitea.yml b/.woodpecker/.gitea.yml index 1877050..d0825c2 100644 --- a/.woodpecker/.gitea.yml +++ b/.woodpecker/.gitea.yml @@ -14,6 +14,7 @@ pipeline: commands: - mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD" - mc cp -r "s3/vieter/commits/$CI_COMMIT_SHA" . + - mv "$CI_COMMIT_SHA"/vieter-* . when: event: tag @@ -23,9 +24,8 @@ pipeline: - gitea_release_api_key settings: base_url: https://git.rustybever.be - files: ${CI_COMMIT_SHA}/* + files: vieter-* checksum: - - md5 - sha256 title: ${CI_COMMIT_TAG} when: diff --git a/CHANGELOG.md b/CHANGELOG.md index a46a433..4a7574f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://git.rustybever.be/vieter/vieter/src/branch/dev) +## [0.3.0-rc.1](https://git.rustybever.be/vieter/vieter/src/tag/0.3.0-rc.1) + ### Added * Database migrations @@ -29,6 +31,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 updated builder image * Build logs now show commands being executed +### Fixed + +* `POST /api/logs` now correctly uses epoch timestamps instead of strings + ## [0.3.0-alpha.2](https://git.rustybever.be/vieter/vieter/src/tag/0.3.0-alpha.2) ### Added diff --git a/PKGBUILD b/PKGBUILD index 656d9d4..f2fc9a6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgbase='vieter' pkgname='vieter' -pkgver='0.3.0_alpha.2' +pkgver='0.3.0_rc.1' pkgrel=1 pkgdesc="Vieter is a lightweight implementation of an Arch repository server." depends=('glibc' 'openssl' 'libarchive' 'sqlite') diff --git a/src/console/git/git.v b/src/console/git/git.v index b01f3dd..e27c1c4 100644 --- a/src/console/git/git.v +++ b/src/console/git/git.v @@ -38,11 +38,6 @@ pub fn cmd() cli.Command { description: 'Only return Git repos that publish to this repo.' flag: cli.FlagType.string }, - cli.Flag{ - name: 'arch' - description: 'Only return repos enabled for this architecture.' - flag: cli.FlagType.string - }, ] execute: fn (cmd cli.Command) ? { config_file := cmd.flags.get_string('config-file')? diff --git a/src/main.v b/src/main.v index 80c1955..3da1826 100644 --- a/src/main.v +++ b/src/main.v @@ -13,7 +13,7 @@ fn main() { mut app := cli.Command{ name: 'vieter' description: 'Vieter is a lightweight implementation of an Arch repository server.' - version: '0.3.0-alpha.2' + version: '0.3.0-rc.1' flags: [ cli.Flag{ flag: cli.FlagType.string