[Share Experiences] deepin github 构建仓库发布啦
Tofloor
poster avatar
justforlxz
deepin developers team
2022-06-27 18:56
Author

嗨,deepin 的各位小伙伴们,大家好呀,我是竹子。

大家应该已经知道了,我们的工作流迁移到了 github 上,为了更好的促进社区的发展,咱专门在 github 上搞了一份 commit 构建仓库,目前每一笔提交合并后,都会立即打包进入仓库,并且开发人员会保证每一笔提交在合入时,都是可以在每个发行版上可编译的,这样可以减轻下游维护者的压力,不需要再维护一些奇奇怪怪的补丁。

目前已经支持了 archlinuxdebian siddeepin v20 的构建支持,在接下来的时间里,会增加 openSUSEfedora 的支持。

但是需要注意的是,commit 仓库仅仅是为了验证 能否构建,无法保证功能的正常使用,所以这是一个比内测仓库更加激进的仓库,可能会出现各种各样的问题。

注意⚠️

请不要在生产环境使用!

  • 目前由于为了通过构建,debian sid 仓库使用了一些空包代替了原本的包,会在后续将包替换回正常的包。

目前咱正在努力设计一套方案,可以在本地快速启动一个使用该仓库的环境,想要尝鲜的话就可以在这个环境中使用,避免破坏原本的系统,给大家造成影响。

使用说明: https://wiki.deepin.org/zh/02_%E6%8C%89%E8%BD%AF%E4%BB%B6%E5%8A%9F%E8%83%BD%E5%88%92%E5%88%86/02_%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98%E5%B8%B8%E7%94%A8%E8%BD%AF%E4%BB%B6%E4%BB%8B%E7%BB%8D/01_%E7%BC%96%E7%A8%8B%E5%BC%80%E5%8F%91/%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/%E7%9B%B8%E5%85%B3%E5%86%85%E5%AE%B9/%E4%BD%BF%E7%94%A8action%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84git%E4%BB%93%E5%BA%93

如果大家发现 linuxdeepin 的项目存在一些问题,也欢迎大家积极提交 pull request 进行处理。

Reply Favorite View the author
All Replies
1 / 2
To page
deepin-superuser
deepin
2022-06-27 21:34
#1

这个仓库是每天更新还是每次commit都会更新?

Reply View the author
sammy-621
deepin
2022-06-27 22:04
#2

适合更激进的尝鲜者

Reply View the author
Comments
bigben446
2022-06-29 03:24
属于敢死队那种。。。
mike
deepin
2022-06-27 23:51
#3

介四里没有挽过的船新bug,是兄弟就来砍我

Reply View the author
BG7ZAG
deepin
2022-06-28 01:43
#4

kissing_heart

Reply View the author
zccrs
deepin
2022-06-28 01:57
#5

agree

Reply View the author
zccrs
deepin
2022-06-28 01:59
#6
deepin-superuser

这个仓库是每天更新还是每次commit都会更新?

每个commit就会更新

Reply View the author
ice
deepin beta test group
2022-06-28 04:39
#7

每周五的内测等同于MIUI的开发版公测,这个等同于MIUI的开发版内测吧😂 😂

Reply View the author
WangZhongyun
deepin
2022-06-28 05:32
#8

2022-06-27_21-30.png

这源的速度太慢了,能否有个备份国内源用?

Reply View the author
WangZhongyun
deepin
2022-06-28 07:41
#9

$ sudo pbuilder create --architecture amd64
--mirror "https://mirrors.ustc.edu.cn/deepin"
--distribution apricot
--basetgz ~/apricot-base-amd64.tgz
--allow-untrusted
--debootstrapopts --keyring=/usr/share/keyrings/deepin-archive-camel-keyring.gpg
--debootstrapopts --include=deepin-keyring,ca-certificates
请输入密码:
验证成功
W: /root/.pbuilderrc does not exist
I: Distribution is apricot.
I: Current time: Mon Jun 27 23:40:31 CST 2022
I: pbuilder-time-stamp: 1656344431
I: Building the build environment
I: running debootstrap
/usr/sbin/debootstrap
E: No such script: /usr/share/debootstrap/scripts/apricot
E: debootstrap failed
E: debootstrap.log not present
W: Aborting with an error

Reply View the author
神末shenmo
Moderator
Spark-App
2022-06-28 08:04
#10
WangZhongyun

2022-06-27_21-30.png

这源的速度太慢了,能否有个备份国内源用?

deb [trusted=yes arch=amd64] https://code.gitlink.org.cn/shenmo7192/deepin-dde-repo/raw/branch/main apricot main
deb [trusted=yes arch=amd64] https://code.gitlink.org.cn/shenmo7192/deepin-dde-deps-repo/raw/branch/pages apricot main

一个国内镜像,适用于deepin base的,参考wiki使用

并不会同步每次commit,每天同步一次

Reply View the author
WangZhongyun
deepin
2022-06-28 17:24
#11
神末shenmo
deb [trusted=yes arch=amd64] https://code.gitlink.org.cn/shenmo7192/deepin-dde-repo/raw/branch/main apricot main
deb [trusted=yes arch=amd64] https://code.gitlink.org.cn/shenmo7192/deepin-dde-deps-repo/raw/branch/pages apricot main

一个国内镜像,适用于deepin base的,参考wiki使用

并不会同步每次commit,每天同步一次

谢谢,但是

正在读取软件包列表... 完成
E: 无法下载 https://code.gitlink.org.cn/shenmo7192/deepin-dde-deps-repo/raw/branch/main/dists/apricot/main/binary-amd64/Packages 404 Not Found [IP: 106.75.45.236 443]
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

要怎么办了

Reply View the author
fslong
deepin beta test group
2022-06-28 17:27
#12
ice

每周五的内测等同于MIUI的开发版公测,这个等同于MIUI的开发版内测吧😂 😂

感觉不是,这个应该是稳定版,别的发行版可以用的。

Reply View the author
WangZhongyun
deepin
2022-06-28 17:40
#13

现在没有桌面及快捷链接,文件管理器打不开。怎么搞才行?

Reply View the author
ice
deepin beta test group
2022-06-28 17:44
#14
fslong

感觉不是,这个应该是稳定版,别的发行版可以用的。

这个更新不是更激进吗

Reply View the author
dengtongxue
deepin
2022-06-28 19:31
#15

applaud

Reply View the author
神末shenmo
Moderator
Spark-App
2022-06-28 19:48
#16
WangZhongyun

谢谢,但是

正在读取软件包列表... 完成
E: 无法下载 https://code.gitlink.org.cn/shenmo7192/deepin-dde-deps-repo/raw/branch/main/dists/apricot/main/binary-amd64/Packages 404 Not Found [IP: 106.75.45.236 443]
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

要怎么办了

改了下

重新复制试试

Reply View the author
WangZhongyun
deepin
2022-06-28 20:53
#17
神末shenmo

改了下

重新复制试试

谢谢,但是重新复制修改保存后,更新源提示还是这个问题

已下载 6,278 kB,耗时 4秒 (1,654 kB/s)
正在读取软件包列表... 完成
E: 无法下载 https://code.gitlink.org.cn/shenmo7192/deepin-dde-deps-repo/raw/branch/main/dists/apricot/main/binary-amd64/Packages 404 Not Found [IP: 106.75.45.236 443]
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

怎么办了

Reply View the author
justforlxz
deepin developers team
2022-06-28 21:32
#18
deepin-superuser

这个仓库是每天更新还是每次commit都会更新?

每次 commit

Reply View the author
justforlxz
deepin developers team
2022-06-28 21:34
#19
WangZhongyun

谢谢,但是重新复制修改保存后,更新源提示还是这个问题

已下载 6,278 kB,耗时 4秒 (1,654 kB/s)
正在读取软件包列表... 完成
E: 无法下载 https://code.gitlink.org.cn/shenmo7192/deepin-dde-deps-repo/raw/branch/main/dists/apricot/main/binary-amd64/Packages 404 Not Found [IP: 106.75.45.236 443]
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

怎么办了

这看起来是 shenme 的仓库出了问题,自己改文件先屏蔽了吧。

在 /etc/apt/sources.list 和 /etc/apt/sources.list.d下面找一找

Reply View the author
justforlxz
deepin developers team
2022-06-28 21:35
#20
WangZhongyun

2022-06-27_21-30.png

这源的速度太慢了,能否有个备份国内源用?

因为是“白嫖”的,所以国内速度会比较慢(

Reply View the author
1 / 2
To page