juuso wrote:@DEUS: what about move fetching of modules to SF file area: found files=available modules (
https://sourceforge.net/projects/samygo/files/WebIF/).
Seems curl of D5 series don`t know how to fetch the your given url. Same is on B series - no webpage is fetched.
SF is better, because: ~20 mirrors - ok, when forum is offline because of host problems (it happens time to time, especially at weekends), some kind of statistic available, easy to update module etc.
I see here few scenarios:
1. File list (withhout readme file, only modules on this page):
Code: Select all
curl -s http://sourceforge.net/projects/samygo/files/WebIF/ | w3m -dump -T text/html | awk 'BEGIN{FS="Totals";RS="---"}/</{print $2}'|awk 'NR>1{print $1}'
2. With readme file attached. Gets module names (and descriptions-currently missing on cmd line) from readme file...
Code: Select all
curl -s http://sourceforge.net/projects/samygo/files/WebIF/ | w3m -dump -T text/html | awk 'BEGIN{FS="Files for WebIF:";RS="---"}/</{print $2}'| awk '!/Source/{print $1}'
...and get download link (curl -L to follow http redirects):
Code: Select all
curl -Ls http://sourceforge.net/projects/samygo/files/WebIF/$Module_name/downloas -o $Module_name
for example:
Code: Select all
curl -Ls http://sourceforge.net/projects/samygo/files/WebIF/poor_webif.SGO_ext.tar/download -o ./poor_webif.SGO_ext.tar
New version same name replaces old versions automatically - not needed to change url links...
have w3m working on B series. Will make module and attach the webif module today.
DEUS wrote:@juuso no write access to this folder..
Need to call Erdem to give the sf access for you. This can take time...
@all any better idea to load files from SF? if not will parse site and then download (basicaly same as right now) but no description (any idea? put a textfile with module name and desc also in this folder)
Module name can contain some short description. Or description can be taken from attached readme file.
EDIT: this works on B series, haven`t tried to install via webif. May work on D series too. i hope.
Not for D5500/5700!
w3m_arm.SGO_ext.tar
Mstar module is needed to build if method with w3m is acceptable for you.
You do not have the required permissions to view the files attached to this post.