diff --git a/.woodpecker/.gitea.yml b/.woodpecker/.gitea.yml index d0825c2..1877050 100644 --- a/.woodpecker/.gitea.yml +++ b/.woodpecker/.gitea.yml @@ -14,7 +14,6 @@ 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 @@ -24,8 +23,9 @@ pipeline: - gitea_release_api_key settings: base_url: https://git.rustybever.be - files: vieter-* + files: ${CI_COMMIT_SHA}/* checksum: + - md5 - sha256 title: ${CI_COMMIT_TAG} when: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a7574f..a46a433 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,6 @@ 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 @@ -31,10 +29,6 @@ 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 f2fc9a6..656d9d4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgbase='vieter' pkgname='vieter' -pkgver='0.3.0_rc.1' +pkgver='0.3.0_alpha.2' 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 e27c1c4..b01f3dd 100644 --- a/src/console/git/git.v +++ b/src/console/git/git.v @@ -38,6 +38,11 @@ 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 3da1826..80c1955 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-rc.1' + version: '0.3.0-alpha.2' flags: [ cli.Flag{ flag: cli.FlagType.string