Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

手动构建二进制包 #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tkizm1 wants to merge 4 commits into gogs:master from tkizm1:patch-1
Closed

手动构建二进制包 #52

tkizm1 wants to merge 4 commits into gogs:master from tkizm1:patch-1

Conversation

@tkizm1
Copy link

@tkizm1 tkizm1 commented Aug 29, 2015

手动构建二进制包,因为有些特性迫切需要

手动构建二进制包,因为有些特性迫切需要
Copy link
Member

unknwon commented Aug 29, 2015

非常感谢您的提交!

但是我认为 http://gogs.io/docs/installation/install_from_source.html#%E5%AE%89%E8%A3%85-gogs 页面已经很好地展示了安装和更新通用的步骤。 😀

Copy link
Author

tkizm1 commented Aug 29, 2015

主要是因为老版本有一点问题,此服务器在国内,国内不能够构建,因此花费很长的时间去在国外构建,然后再打包传到国内。这个过程简直痛苦,希望别的一些团队在国内同时也希望能够第一时间更新自己的二进制包的话,能看到我写的这一段,节约一些时间。

Copy link
Member

unknwon commented Aug 29, 2015

但是 build.sh 并没有解决从国外拉取依赖的问题。。

Copy link
Author

tkizm1 commented Aug 30, 2015

在国外构建好然后把output_amd64压缩传到国内就行了,构建好然后传到国内就不需要依赖了
和那个zip的效果一样,可以在远程生成最新版本的zip包,然后直接解压使用

Copy link
Member

unknwon commented Sep 2, 2015

但是这个和目前文档里的方法并没有什么不同啊0 0

Copy link
Author

tkizm1 commented Sep 3, 2015

文档里没写怎么打包二进制,只看到了编译。

Copy link
Member

unknwon commented Sep 3, 2015

那就是差了一行 zip -r gogs.zip gogs

Copy link
Author

tkizm1 commented Sep 3, 2015

我试过直接打包gogs文件夹但是没有用,最后还是用build.sh才有用的

Copy link
Member

unknwon commented Sep 3, 2015

你指的"没用"具体表现是什么。。。?

Copy link
Author

tkizm1 commented Sep 4, 2015

好吧,看来只是多了一个.git文件夹,当初只是和你的二进制文件相比一下子变大了很多于是就找到build脚本之后觉得能把压缩包大小减小,仅仅如此而已。

@tkizm1 tkizm1 closed this Sep 4, 2015
Copy link
Member

unknwon commented Sep 4, 2015

好吧。。。。额。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /