43 lines
969 B
Markdown
43 lines
969 B
Markdown
### Software Updater for apt
|
|
|
|
- 目录架构:
|
|
|
|
```shell
|
|
backend debian Makefile plugin README.MD
|
|
```
|
|
|
|
- 其中分为控制面板插件目录`plugin` and 更新后端目录`backend`,两个模块相互隔离,公用一个包来安装
|
|
|
|
- GitLab分支介绍
|
|
|
|
- backend_dev:后端更新代码维护的分支
|
|
- plugin_dev:控制面板插件维护的分支
|
|
- dev:分支只要负责将后端更新代码和插件的代码进行合并测试的分支,最新的代码在此分支上
|
|
|
|
|
|
|
|
- 安装依赖
|
|
|
|
```
|
|
sudo apt install dh-python python3-all python3-distutils-extra gir1.2-snapd-1 apt-clone intltool at-spi2-core -y
|
|
```
|
|
|
|
- 运行运行
|
|
|
|
|
|
|
|
### 文档
|
|
|
|
#### Aptdaemon
|
|
|
|
- https://pythonhosted.org/aptdaemon/aptdaemon.client.html?highlight=commit_packages#aptdaemon.client.AptClient.commit_packages
|
|
|
|
#### python-apt
|
|
|
|
- https://apt-team.pages.debiahn.net/python-apt/library/apt_pkg.html
|
|
|
|
#### 方法与信号接口文档
|
|
|
|
- 参考interface.md 文档
|
|
|