chore(vlang): update to specific version
ci/woodpecker/push/vlang-arch Pipeline failed Details

main
Jef Roosens 2023-02-15 20:49:22 +01:00
parent 316cc5ecc1
commit 304563055d
5 changed files with 62 additions and 14 deletions

View File

@ -18,8 +18,8 @@ following command in the `vlang` directory:
```sh
docker buildx build \
--platform linux/amd64,linux/arm64 \
-t 'git.rustybever.be/chewing_bever/vlang:d1f57ead713c8e5254d8cef22991e6409dc1f06b-alpine3.17' \
-t 'git.rustybever.be/chewing_bever/vlang:latest' \
-t 'git.rustybever.be/vieter/vlang:5d4c9dc9fc11bf8648541c934adb64f27cb94e37-alpine3.17' \
-t 'git.rustybever.be/vieter/vlang:latest' \
--push .
```

24
vlang/.SRCINFO 100644
View File

@ -0,0 +1,24 @@
pkgbase = vieter-vlang
pkgdesc = Locked Vlang version used to develop Vieter
pkgver = 5d4c9dc9
pkgrel = 1
epoch = 2
url = https://vlang.io
arch = x86_64
arch = aarch64
license = MIT
makedepends = git
depends = glibc
optdepends = glfw: Needed for graphics support
optdepends = freetype2: Needed for graphics support
optdepends = openssl: Needed for http support
conflicts = v
conflicts = vlang
source = vieter-vlang-5d4c9dc9fc11bf8648541c934adb64f27cb94e37.zip::https://github.com/vlang/v/archive/5d4c9dc9fc11bf8648541c934adb64f27cb94e37.zip
source = vieter-vlang-vc-7919b47d852650ca09e51a1f44cab0faa3a973eb.zip::https://github.com/vlang/vc/archive/7919b47d852650ca09e51a1f44cab0faa3a973eb.zip
sha256sums = 49f28a49e7749f07760b3700b8ef52ef0d194a35041b503a7337a4cc1bb2288b
sha256sums = 343b476edb9886078dd59ed5d0e3c8d08b2d613e4382ea415f87f02e3390fb9f
sha512sums = 886c5eabb7a56c668431f1f4445bb757c4eae90680176508e6d4c733d4186f81660d12376f61e9d4ecf281fc332afb32c072c8f0172735c1ce2870987a7c69db
sha512sums = 3d8aa7fd51c021a3eaaa63df53a1765cd6971e53a31008f5b184683ac29fbfb68f24dd27ef317713de9c16db898fe850f34555bc2739e9272aa17623b53482da
pkgname = vieter-vlang

18
vlang/CHANGELOG.md 100644
View File

@ -0,0 +1,18 @@
# Update changelog
This file updates why a version was chosen as the next Vlang version for
Vieter.
## 15-02-2023
The original idea was to update to V 0.3.3 from V 0.3.2. However, this version
had a compilation bug with OpenSSL that resulted in Vieter [not
compiling](https://ci.rustybever.be/vieter-v/vieter/build/182/11). I reported
the issue and it got fixed shortly after. Afterwards, I encounted another
[issue](https://github.com/vlang/v/issues/17329) with the ORM, which luckily
also got fixed quickly. This made me settle on this version.
| Repo | Commit sha
| ---- | ----------
| V | 5d4c9dc9fc11bf8648541c934adb64f27cb94e37
| VC | 7919b47d852650ca09e51a1f44cab0faa3a973eb

View File

@ -2,8 +2,8 @@ FROM alpine:3.17
ARG TARGETPLATFORM
ARG V_COMMIT_HASH=d1f57ead713c8e5254d8cef22991e6409dc1f06b
ARG VC_COMMIT_HASH=1f7f0244f352d41122bb306446d98ae3de4e6b02
ARG V_COMMIT_HASH=5d4c9dc9fc11bf8648541c934adb64f27cb94e37
ARG VC_COMMIT_HASH=7919b47d852650ca09e51a1f44cab0faa3a973eb
ENV VVV /opt/vlang
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

View File

@ -1,13 +1,15 @@
# Maintainer: Jef Roosens
# Contributor: Logan Magee <mageelog@gmail.com>
_v_commit_sha=d1f57ead713c8e5254d8cef22991e6409dc1f06b
_vc_commit_sha=1f7f0244f352d41122bb306446d98ae3de4e6b02
#https://github.com/vlang/v/commit/5d4c9dc9fc11bf8648541c934adb64f27cb94e37
_v_commit_sha=5d4c9dc9fc11bf8648541c934adb64f27cb94e37
# https://github.com/vlang/vc/commit/7919b47d852650ca09e51a1f44cab0faa3a973eb
_vc_commit_sha=7919b47d852650ca09e51a1f44cab0faa3a973eb
pkgname=vieter-vlang
pkgver="$(echo "${_v_commit_sha}" | cut -c -8)"
pkgver=5d4c9dc9
pkgrel=1
epoch=1
epoch=2
pkgdesc='Locked Vlang version used to develop Vieter'
arch=('x86_64' 'aarch64')
url='https://vlang.io'
@ -18,12 +20,16 @@ optdepends=('glfw: Needed for graphics support'
'openssl: Needed for http support')
makedepends=('git')
conflicts=('v' 'vlang')
source=("${pkgname}.zip::https://github.com/vlang/v/archive/${_v_commit_sha}.zip"
"${pkgname}-vc.zip::https://github.com/vlang/vc/archive/${_vc_commit_sha}.zip")
sha256sums=('6886469efe21463276d682e658f415ea1167a9efb41bf2a8fd6577abb753f2e4'
'91b6b4b576659f222e8aa3569124e95e17feb5c0b436ecc0f30db04ff24f6e39')
sha512sums=('81481854928f31c2cfc3c49acaa9b579712bbfa66cf2a31c5a2df2af47511b9fb62576844cdf1bcf1512b8cea58d4d637ad44110d2a73a0b55b6f41efa984b25'
'8eab18f5d01a417c0cdbfd995fdd570ca92fd2ce245eda08762de0021487fff1c6084c91fcc7fcdfd37aa618d2f71c0222df6f434b014fe3b71d284795762b0b')
source=("${pkgname}-${_v_commit_sha}.zip::https://github.com/vlang/v/archive/${_v_commit_sha}.zip"
"${pkgname}-vc-${_vc_commit_sha}.zip::https://github.com/vlang/vc/archive/${_vc_commit_sha}.zip")
sha256sums=('49f28a49e7749f07760b3700b8ef52ef0d194a35041b503a7337a4cc1bb2288b'
'343b476edb9886078dd59ed5d0e3c8d08b2d613e4382ea415f87f02e3390fb9f')
sha512sums=('886c5eabb7a56c668431f1f4445bb757c4eae90680176508e6d4c733d4186f81660d12376f61e9d4ecf281fc332afb32c072c8f0172735c1ce2870987a7c69db'
'3d8aa7fd51c021a3eaaa63df53a1765cd6971e53a31008f5b184683ac29fbfb68f24dd27ef317713de9c16db898fe850f34555bc2739e9272aa17623b53482da')
pkgver() {
echo "${_v_commit_sha}" | cut -c -8
}
prepare() {
# In case the previous directory still exists