
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
使用--help
命令熟悉arms:
(venv311) ➜ ~ arms --help
usage: arms [-h] {version,init,patch,config,search,update,design} ...
armstrong
positional arguments:
{version,init,patch,config,search,update,design}
version 显示版本
init 项目初始化工具
patch 项目补丁工具
config arms配置工具
search 项目搜索工具
update arms更新配置
design 生成文本并复制
options:
-h, --help show this help message and exit
arms config ${PARSEC_GITLAB}/arms-tpl/source
对于kotlin项目,可以尝试:
(venv311) ➜ ~ arms search kotlin
spring-kotlin - kotlin on springboot with CI
kotlin-user - kotlin, 带用户体系
根据上一步的搜索接口,先cd到新创建的项目目录,执行:
git init # 如果目录下已经用.git目录则忽略
arms init kotlin-user
以kotlin-user项目为例,在其项目根目录创建一个.arms.json
文件,内容为:
{
"__name__": [
{"word": "grpn", "hint": "组名称"}
],
".env": {
"ARMS_PROJECT_NAME": "demo"
}
}
然后在arms init ...
的时候arms就会要求用户输入「组名称」和「服务名称」,用于“智能地”替换"grpn"和"demo"。
arms也支持多级配置,例如下面这个前端CI模版的.arms.json
文件:
{
"管理端": {
"__name__": [{"word": "grpn", "hint": "组名称"}],
"__only__": ["docker", ".gitlab-ci.yml"]
},
"H5端": {
"__name__": [{"word": "grpn", "hint": "组名称"}],
"__only__": ["docker", ".gitlab-ci.yml:.gitlab-ci.mobile.yml"]
},
".env": {
"ARMS_PROJECT_NAME": "demo"
}
}
__name__: [{}] //依次提示用户输入
__only__: [""] //只包含的文件,支持改名
__except__: [""] //排除的文件
patch功能可以把生成的内容打印到标准输入,用户可以把内容作为上下文,跟prompt一起提交给LLM,从而提升LLM结果的质量。
FAQs
CI/CD tool of Chongqing Parsec Corp.
We found that arms demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.