julianxhokaxhiu / LineageOTA

A simple OTA REST Server for LineageOS OTA Updater System Application
http://blog.julianxhokaxhiu.com/how-the-cm-ota-server-works-and-how-to-implement-and-use-ours
MIT License
220 stars 132 forks source link

delta build won't be automatically built #3

Closed moetayuko closed 9 years ago

moetayuko commented 9 years ago

i run the program on my vps. xdelta3 is installed through apt-get. full packages are uploaded to builds/full, such as builds/full/cm-11-20141004-NIGHTLY-xxxx.zip. filemode 777.but it doesn't work.

no delta builds are automatically built:(

what's wrong with my steps?

thanks for replying:P @julianxhokaxhiu

moetayuko commented 9 years ago

also, package push amount should be limited to 3.cmupdater doesn't work when there're more than 3 builds under full directory.

julianxhokaxhiu commented 9 years ago

Delta builds should be rebuilt entirely. I'm not sure that delta builds are working well so I'm don't give any guarantee of that.

About the amount of builds, as much as I know, CMOta is getting the latest built that is newest based on your current build. So I think that the limitation is not needed (based on the current source of CM Ota of course).

Anyway, this project is going to be rewritten again entirelly in Python so this PHP version is somewhat deprectaed by me, at least :)

moetayuko commented 9 years ago

hmm.if CMOTA receive more than 3 builds, it will just keep searching but not return anything. that's what i met.

looking forward to seeing your next version:)awesome work