Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

准备提交一个remote installer的PR,希望作者可以将deb放到release #44

Open
abcfy2 opened this issue Nov 27, 2018 · 2 comments

Comments

@abcfy2
Copy link
Contributor

abcfy2 commented Nov 27, 2018

仓库实在是太大了,并且二进制文件并不适合直接放git追踪。我准备添加一个install的脚本,以后使用不需要clone整个仓库了。

希望作者可以做下改进:

  • repo只放源码构建脚本
  • 构建产生的deb放在release页面单独下载,clone的时候无需clone整个庞大的仓库

我的脚本内容算法如下:

  • 刷新本地仓库,安装下载安装依赖curl or wget二选一
  • 直接从release页面下载编译好的deb包到/tmp/deepin-wine-ubuntu/
  • sudo apt install /tmp/deepin-wine/ubuntu/*.deb

这个脚本很好写,就是希望作者可以做下配合做下github的发布流程,简化脚本编写

@abcfy2
Copy link
Contributor Author

abcfy2 commented Nov 27, 2018

建议仓库改进如下:

直接放一个build.sh脚本,其余二进制包和目录统统删掉,将产生的二进制包和目录另放他处(或者放在仓库目录下也可以,但是添加.gitignore忽略掉)。添加一个release.sh脚本,对接github的api上传编译好的deb包到release页面,参考: https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447

这样的话我写一个online_install.sh脚本,直接从最新的release页面下载所有的deb包到本地安装就好了。

wszqkzqk added a commit that referenced this issue Dec 1, 2018
related #44. 添加online_install.sh脚本,普通用户安装使用更方便
@abcfy2
Copy link
Contributor Author

abcfy2 commented Dec 2, 2018

@wszqkzqk 这个commit有问题: 5d2b7aa

码云的blob下载地址和github不同,码云的blob下载地址是这样:

https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu/raw/master/1.2deepin-fonts-wine_2.18-12_all.deb

也不需要加最后的?raw=true参数。最早我也是用的码云的,后来又切回githbu的,因为大于1MB码云会要求登录,但是github没有这个限制。建议放到release页面下载。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant