appwrite / appwrite/setup-for-appwrite
🐛 Bug Report: Setup action fails on "locale" option
- Ngôn ngữ chính
- JavaScript
- Star
- 29
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 👟 Reproduction steps
Run setup-for-actions on your github repository
Step fails because of non configurable option _locale_
### 👍 Expected behavior
Install and init appwrite CLI without error
### 👎 Actual Behavior
```
Run appwrite/setup-for-actions@v1
Run curl -sL https://appwrite.io/cli/install.sh | bash
_ _ _ ___ __ _____
/_\ _ __ _ ____ ___ __(_) |_ ___ / __\ / / \_ \
//_\\| '_ \| '_ \ \ /\ / / '__| | __/ _ \ / / / / / /\/
/ _ \ |_) | |_) \ V V /| | | | || __/ / /___/ /___/\/ /_
\_/ \_/ .__/| .__/ \_/\_/ |_| |_|\__\___| \____/\____/\____/
|_| |_|
🔥 Welcome to the Appwrite CLI install shield 🛡
[1/4] Getting System Info ...
OS : linux
ARCH : x64
REQUIRES ROOT : true
[2/4] Downloading executable for linux (x64) ...
🚦 Downloading Appwrite CLI 2.0.2 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
50 50.4M 50 25.6M 0 0 24.7M 0 0:00:02 0:00:01 0:00:01 24.7M
[10](https://github.com/{}#step:5:11)0 50.4M 100 50.4M 0 0 [34](https://github.com/{}#step:5:36).7M 0 0:00:01 0:00:01 --:--:-- 59.8M
✅ Done ...
[3/4] Installing ...
🚧 Setting Permissions
✅ Done ...
📝 Copying temporary file to /usr/local/bin/appwrite ...
✅ Done ...
[4/4] Wrapping up installation ...
🧹 Cleaning up mess ...
✅ Done ...
🤘 May the force be with you.
🚀 To get started with Appwrite CLI, please visit https://appwrite.io/docs/command-line
Run appwrite init \
appwrite init \
--locale='en-US' \
--endpoint='***' \
--project='***' \
--key='***'
appwrite version
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
DART_HOME: /opt/hostedtoolcache/dart/3.0.5/x[64](https://github.com/{redacted}#step:5:66)
PUB_CACHE: /home/runner/.pub-cache
error: unknown option '--locale=en-US'
Error: Process completed with exit code 1.
```
### 🎲 Github actions version
Version 1.0
### 💻 Operating system
Linux
### 🧱 Your Environment
github actions runner v2.305.0
on ubuntu 22.04.2
### 👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
### 🏢 Have you read the Code of Conduct?
- [X] I have read the [Code of Conduct](https://github.com/appwrite/appwrite/blob/HEAD/CODE_OF_CONDUCT.md)
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra bước của setup action phát ra `appwrite init` và so sánh đối số `--locale='en-US'` của bước đó với các tùy chọn được CLI đã cài đặt hỗ trợ. Tái hiện workflow trên Ubuntu runner đã nêu; được xem là hoàn tất khi setup hoàn thành mà không có lỗi tùy chọn không xác định, đồng thời giữ lại các đối số endpoint, project và key.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, javascript, shell
- Lĩnh vực
- ci-cd, devops, tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100