Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求添加 Arcadia 一站式代码运维平台 #417

Merged
merged 6 commits into from
Nov 25, 2024

Conversation

SuperManito
Copy link
Contributor

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 4, 2024

luci-app-arcadia的ipk要提交到 https://github.com/linkease/istore-repo/

@jjm2473 jjm2473 marked this pull request as draft November 4, 2024 07:02
@SuperManito
Copy link
Contributor Author

luci-app-arcadia的ipk要提交到 https://github.com/linkease/istore-repo/

您好,我这个需要 Docker 部署,我没看懂咱们这个应用商店结构

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 4, 2024

可以参考 https://github.com/linkease/openwrt-app-actions/tree/main/applications/luci-app-jellyfin ,fork过去,添加自己的插件以后可以用github actions在线编译 https://github.com/linkease/openwrt-app-actions

@SuperManito
Copy link
Contributor Author

可以参考 https://github.com/linkease/openwrt-app-actions/tree/main/applications/luci-app-jellyfin ,fork过去,添加自己的插件以后可以用github actions在线编译 https://github.com/linkease/openwrt-app-actions

提交 PR 了您看一下吧,另外我不是很熟悉 iStoreOS 运行宿主机处理器架构的种类,我只知道我这个项目目前只能运行在 x86_64 和 ARM 64(aarch64、armv8l)的机器上,不支持 ARM 32(armv7l armv6l),镜像是跨平台构建的不需要特殊处理标签。

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 7, 2024

META_ARCH:=x86_64 aarch64 armv8l

删掉 armv8l。META_ARCH 的取值范围参考 https://github.com/linkease/openwrt-app-meta

@SuperManito
Copy link
Contributor Author

META_ARCH:=x86_64 aarch64 armv8l

删掉 armv8l。META_ARCH 的取值范围参考 https://github.com/linkease/openwrt-app-meta

已更

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 7, 2024

还有版本号

@SuperManito
Copy link
Contributor Author

还有版本号

已更

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 11, 2024

版本改成这样

PKG_VERSION:=0.0.1
PKG_RELEASE:=1

不要再乱写版本,以后有可能使用alpine的包管理器,只支持语义版本号。

@SuperManito
Copy link
Contributor Author

SuperManito commented Nov 11, 2024

版本改成这样

PKG_VERSION:=0.0.1
PKG_RELEASE:=1

不要再乱写版本,以后有可能使用alpine的包管理器,只支持语义版本号。

已更,PKG_RELEASE 以后是按顺序递增吗?

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 12, 2024

PKG_RELEASE只要是数字就行,例如用日前20241112都可以。PKG_RELEASE只是在PKG_VERSION未发生改变的情况下,需要发新包,就只能修改PKG_RELEASE了,否则PKG_RELEASE就指定1就行了。

@SuperManito
Copy link
Contributor Author

PKG_RELEASE只要是数字就行,例如用日前20241112都可以。PKG_RELEASE只是在PKG_VERSION未发生改变的情况下,需要发新包,就只能修改PKG_RELEASE了,否则PKG_RELEASE就指定1就行了。

可以合并了吗

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 12, 2024

meta是最后合并的,现在ipk包都还没编译测试,测试完上传到 https://github.com/linkease/istore-repo ,然后才是合并meta,meta合并完就相当于上架了

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 12, 2024

这是打包好的两个ipk文件,解压后,在istore的手动安装界面安装,先安装luci-app,然后安装luci-i18n
arcadia.zip

@SuperManito
Copy link
Contributor Author

SuperManito commented Nov 12, 2024

这是打包好的两个ipk文件,解压后,在istore的手动安装界面安装,先安装luci-app,然后安装luci-i18n [arcadia.zip](https://github.com/user-attachmen
下载
ts/files/17712834/arcadia.zip)

安装测试正常,但是目前看不到应用的logo图片是什么效果

还有个其它的问题,我项目目前有个初始的认证登录信息需要加到咱们istore应用说明里面,您看看加在什么位置好?您直接提交帮我加上也行

  • 账户密码
username: useradmin
password: passwd

一般通过官网渠道安装的话都会看到,以后推出正式版本会改掉这个机制

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 12, 2024

image

luci插件界面上边不是有描述吗,可以在这里说明默认密码

@SuperManito
Copy link
Contributor Author

SuperManito commented Nov 12, 2024

image luci插件界面上边不是有描述吗,可以在这里说明默认密码

幸苦您加一下吧,不然我还得提交一个PR,然后就没什么问题了

  • openwrt-app-actions\applications\luci-app-arcadia\luasrc\model\cbi\arcadia.lua
m = taskd.docker_map("arcadia", "arcadia", "/usr/libexec/istorec/arcadia.sh",
	translate("Arcadia"),
	translate("Arcadia one-stop code operation and maintenance platform.")
		.. translate("Official website:") .. ' <a href=\"https://arcadia.cool\" target=\"_blank\">https://arcadia.cool</a>'
		.. "<dl><dt>" .. translate("Arcadia is mainly aimed at scripting language programming and is suitable for development and operation environments of small and medium-sized teams and individuals.") .. "</dt>"
		.. "<dt>" .. translate("In addition to code maintenance, Arcadia is also a powerful scheduled task maintenance platform with a comprehensive file system and underlying CLI command design.") .. "</dt>"
		.. "<dt>" .. translate("The initial authentication information for the first login is useradmin passwd.") .. "</dt>"
		.. "</dl>")
  • openwrt-app-actions\applications\luci-app-arcadia\po\zh-cn\arcadia.po
msgid "The initial authentication information for the first login is useradmin passwd."
msgstr "用于首次登录的初始认证信息是 useradmin passwd。"

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 13, 2024

你确定这段代码是有必要的吗 linkease/openwrt-app-actions#78

@jjm2473
Copy link
Collaborator

jjm2473 commented Nov 16, 2024

删掉了不必要的显卡设备映射,加上了默认密码提示

arcadia-0.0.2.zip

@SuperManito
Copy link
Contributor Author

删掉了不必要的显卡设备映射,加上了默认密码提示

arcadia-0.0.2.zip

测试正常,可以上架

@jjm2473 jjm2473 marked this pull request as ready for review November 25, 2024 02:15
@jjm2473 jjm2473 added this pull request to the merge queue Nov 25, 2024
Merged via the queue into linkease:main with commit b8f4f42 Nov 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants