OpenClash icon indicating copy to clipboard operation
OpenClash copied to clipboard

这里的仓库建的是不是有问题?

Open GreatMichaelLee opened this issue 2 years ago • 5 comments

Verify Steps

  • [X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • [X] Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • [X] Core 这是 OpenClash 存在的问题,并非我所使用的 Clash 或 Meta 等内核的特定问题
  • [X] Meaningful 我提交的不是无意义的 催促更新或修复 请求

OpenClash Version

v0.45

Bug on Environment

Lean

Bug on Platform

Linux-386

To Reproduce

把本仓库代码作为源放到lean得feeds.conf.default里,like this

src-git openclash https://github.com/vernesong/OpenClash.git

每次运行./scripts/feeds update -a的时候,居然要拉一个多G的数据?心疼我梯子的流量....怎么解决这个问题,照理说不应该啊?

Describe the Bug

见上面

OpenClash Log

OpenClash Config

Expected Behavior

期待检查是否仓库代码组织形式问题(是不是放了没必要放的东西上来了?)还是Lean的那种更新源的方式有问题?

Screenshots

GreatMichaelLee avatar Sep 14 '22 12:09 GreatMichaelLee

整个仓库更大呢,这作者不太懂git

0x4798a157 avatar Sep 15 '22 01:09 0x4798a157

这不是Bug,你可以这样 git clone --branch dev --depth=1 https://github.com/vernesong/OpenClash.git /home/$USER/openwrt/package/openclash 然后编译脚本这样写 #!/bin/sh cd /home/$USER/openwrt/package/openclash git pull cd /home/$USER/openwrt git pull ./scripts/feeds update -a

vernlau avatar Sep 15 '22 07:09 vernlau

建议先学习一下git clone --depth=1或者svn checkout

LimonChoms avatar Sep 15 '22 10:09 LimonChoms

dev那个没搞好,master的svn正常使用 再试试 git clone --branch dev --depth=1 https://github.com/vernesong/OpenClash.git 谢谢分享,

hcym avatar Sep 16 '22 00:09 hcym

wtf? 靓仔疑惑🙄

get master

svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash

get dev

svn co https://github.com/vernesong/OpenClash/branches/dev/luci-app-openclash package/luci-app-openclash

how to update?

cd package/luci-app-openclash
svn update

🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄

sbwml avatar Sep 16 '22 00:09 sbwml

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Nov 15 '22 08:11 github-actions[bot]

wtf? 靓仔疑惑🙄

get master

svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash

get dev

svn co https://github.com/vernesong/OpenClash/branches/dev/luci-app-openclash package/luci-app-openclash

how to update?

cd package/luci-app-openclash
svn update

🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄🙄

大佬你好,这个库只能这样单独拉吗?不能写到 feeds.conf.default 里一起升级吗?

caliban511 avatar Dec 01 '22 09:12 caliban511