openclaw/memory/2026-02-02.md

54 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-02-02 - 每日记忆
## 项目初始化
- 初始化了 Git 仓库
- 完成了首次提交commit 9f2b862
- 创建了 README.md 文件
- 设置了记忆系统目录
- 删除了 BOOTSTRAP.md
## Gitea 集成
- 通过 Gitea API 创建了仓库:`gouki/openclaw`
- 成功推送代码到远程仓库commit e0490bf
- 使用 ~/.netrc 文件进行 API 认证
- 创建了 3 个 Issues
1. #1 配置 Git 用户信息
2. #2 填充 USER.md 用户档案
3. #3 添加 .gitignore 文件
## glass 项目分析
- 拉取了 ai/glass 项目的最新代码
- 克隆了 ai/glass-v2 项目(包含额外功能)
- 分析了 v2 需要迁移的 5 个功能模块:
1. 产品分类管理ProductCategory + 图标和颜色支持)
2. 品牌管理Brand - 已有基础版,需增强)
3. 采购订单管理PurchaseOrder + PurchaseOrderItem
4. 库存流水管理InventoryTransaction
5. 员工排班管理StaffSchedule + 日历 Widget
- 创建了迁移分析文档:`projects/glass-v2-migration-analysis.md`
- 创建了 5 个数据库迁移文件(已添加 team_id 支持多租户)
## PHP 8.2 安装
- 添加了 ondrej/php PPA
- 安装了 PHP 8.2.30 (CLI + FPM)
- 安装的扩展:
- bcmath, curl, gd, intl
- mbstring, mysql, xml, zip
- opcache, readline
- Laravel 项目现在可以使用 `php artisan` 命令
## 学习
- Gitea API 需要 ~/.netrc 文件或 API token 认证Git 凭证存储不适用于 API
- Gitea 禁止通过 git push 自动创建仓库
- curl -n 选项可以自动读取 .netrc 文件
- Ubuntu 安装多版本 PHP 需要使用 ondrej/php PPA
---
美羊羊 🐑