Thread history

From Talk:RoboRumble
Viewing a history listing
Jump to navigation Jump to search
Time User Activity Comment
17:17, 19 August 2017 Beaming (talk | contribs) New reply created (Reply to Troubles with github hosted bot)
16:52, 19 August 2017 Beaming (talk | contribs) New reply created (Reply to Troubles with github hosted bot)
16:33, 19 August 2017 Beaming (talk | contribs) New thread created  

Troubles with github hosted bot

Hi mates,

Did anyone noticed problems with rumble clients downloading github hosted bots? For example

https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar

I can download this bot via browser or wget, but the rumble client is failing on it. I get the following error

Could not connect to https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar
Could not download pbg.NinjaX_1.2.jar
Beaming (talk)16:33, 19 August 2017

I find the problem. Looks like github changed the raw download url. Now we have to add to the file name the following suffix

?raw=true

I.e. old github jar urls need to be converted from something like

https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar

to

https://github.com/realr2d2/Bots/blob/gh-pages/pbg.NinjaX_1.2.jar?raw=true
Beaming (talk)16:52, 19 August 2017

Weird part that some github links works as before. For example

https://github.com/aleksey-zhidkov/rc-repo-mirror/raw/master/agrach.Dalek_1.0.jar

What is wrong with github?

Beaming (talk)17:17, 19 August 2017