Code Monkey home page Code Monkey logo

Comments (6)

louislivi avatar louislivi commented on May 20, 2024

1.可以的
2.为了使用者方便,下载即用 SMProxy本身没有依赖只是用来做自动加载,初次将vender 初次传上去了 后面vender是做了忽略的
3.图片是git缓存问题把图片点开一次就好了
4.因为git有composer.json 并有vender 所以使用的update
5.可以的
6.可以的

from smproxy.

wi1dcard avatar wi1dcard commented on May 20, 2024

2.为了使用者方便,下载即用 SMProxy本身没有依赖只是用来做自动加载,初次将vender 初次传上去了 后面vender是做了忽略的

你说的这种方法我认为不可取。

因为这样存储的自动加载文件并没有缓存,例如:

如果使用者并不执行 composer dump / composer update 等命令,则 Autoloader 加载任何资源都需要 Fall over 到查找文件系统,相比直接的 Autoload 缓存肯定慢了不少。

为了支持下载即用,我觉得更合适的方案是 Cut release 时,打包成 PHAR 并上传到 GitHub Release Assets,这样既能确保单文件、下载(非 git clone)即用,又能保证运行的一定是 stable,而非 dev / alpha / beta ...

from smproxy.

gitzwt avatar gitzwt commented on May 20, 2024

stop时smproxy进程没kill了,导致再次启动时3366端口占用无法启动,得手动kill

from smproxy.

gitzwt avatar gitzwt commented on May 20, 2024

2.为了使用者方便,下载即用 SMProxy本身没有依赖只是用来做自动加载,初次将vender 初次传上去了 后面vender是做了忽略的

你说的这种方法我认为不可取。

因为这样存储的自动加载文件并没有缓存,例如:

如果使用者并不执行 composer dump / composer update 等命令,则 Autoloader 加载任何资源都需要 Fall over 到查找文件系统,相比直接的 Autoload 缓存肯定慢了不少。

为了支持下载即用,我觉得更合适的方案是 Cut release 时,打包成 PHAR 并上传到 GitHub Release Assets,这样既能确保单文件、下载(非 git clone)即用,又能保证运行的一定是 stable,而非 dev / alpha / beta ...

这个建议很好,帮忙他一起完善维护吧. 已经使用在项目上,不希望dev的版本出问题

from smproxy.

wi1dcard avatar wi1dcard commented on May 20, 2024

@gitzwt @louislivi 这个仓库 tag 已经打乱了,提交信息也已经带了 vendor,只能给我直接推送的权限,不然不好搞。

from smproxy.

louislivi avatar louislivi commented on May 20, 2024

@gitzwt 已解决,已重构进程管理模块

from smproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.