wttr.in icon indicating copy to clipboard operation
wttr.in copied to clipboard

Issues building after recent we-lang split

Open somasis opened this issue 3 years ago • 1 comments

toki!

I'm working on a translation of wttr.in into Toki Pona (WIP, I'm hoping to work more on the translation with some other speakers before submitting it), but unfortunately I can't seem to get it to build via Docker.

(additionally, I actually had to change the alpine:3 to alpine:3.15 as installing pyjq failed with Python 3.10, which is the default in the latest Alpine 3.x release; 3.15 contains Python 3.9.)

somasis ~/src/wttr.in tok ∴ docker build ./
Sending build context to Docker daemon  10.77MB
Step 1/23 : FROM golang:1-alpine as builder
 ---> 155ead2e66ca
Step 2/23 : WORKDIR /app
 ---> Using cache
 ---> fb374e4d8e12
Step 3/23 : COPY ./share/we-lang/we-lang.go /app
COPY failed: file not found in build context or excluded by .dockerignore: stat share/we-lang/we-lang.go: file does not exist

After discussing it with a friend I think it's commit 8fc5c84e95d11883aadd5a3ee4736bde94b4a16c causing things not to build. Reverting it lets it build. But, I figured I ought not submit the pull request before discussing it further since this translation work touches the files split apart by that commit.

Thanks.

somasis avatar Jun 14 '22 16:06 somasis

Toki, Kylie! Kama pona.

Oops. I had to check the docker build before. I will fix it today, it is a trivial thing. Please use the new (splitted) version for your translation; it should be easier too, because the messages there are extracted intro a separate file

chubin avatar Jun 15 '22 06:06 chubin

The problem should be fixed now. Please try again.

chubin avatar Oct 22 '22 17:10 chubin