dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
richiardiandrea 2017-06-21T22:33:14.443963Z

@darwin so is it you maintaining <https://omahaproxy.appspot.com>

2017-06-21T22:41:09.537384Z

@richiardiandrea no, thats from chrome devs

richiardiandrea 2017-06-21T22:47:58.614539Z

oh ok

richiardiandrea 2017-06-21T23:37:12.122122Z

this part here does not really work in (my) script https://github.com/binaryage/dirac/blob/master/scripts/lookup-chromium-link.sh#L27

richiardiandrea 2017-06-21T23:37:34.125670Z

is it supposed to launch 100 curl queries?

2017-06-21T23:38:25.133594Z

yes

2017-06-21T23:38:41.136171Z

but in sequence, it returns first successful hit

2017-06-21T23:39:08.140402Z

not all positions have correct binary built, e.g. due to compilation errors

richiardiandrea 2017-06-21T23:39:31.143930Z

uhm, the seq does not work +++ seq 478483 478383 seems upside down...I am not familiar with it...debugging now

2017-06-21T23:40:04.148945Z

I’m sorry I’m not a bash guy, probably copy&pasted this from SO

richiardiandrea 2017-06-21T23:40:10.149813Z

kk

richiardiandrea 2017-06-21T23:40:33.153548Z

yeah there is a bug there

richiardiandrea 2017-06-21T23:40:50.156156Z

this works: seq 478383 1 478483

2017-06-21T23:41:41.163619Z

ok, I guess I’m missing -1 arg as increment (decrement)

2017-06-21T23:42:12.168186Z

I wanted to go from current position down, to test last 100 recent builds

richiardiandrea 2017-06-21T23:42:18.169183Z

yep with -1 it works as well

2017-06-21T23:42:53.174535Z

well what is your system?

2017-06-21T23:43:10.177192Z

on my mac: `

2017-06-21T23:43:12.177432Z

> seq 3 1 3 2 1

richiardiandrea 2017-06-21T23:43:30.180154Z

ubuntu Linux EP-LL-10020 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

richiardiandrea 2017-06-21T23:43:47.182758Z

uhm there is some bash difference in there then 😉

2017-06-21T23:43:55.183922Z

bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)

richiardiandrea 2017-06-21T23:44:07.185580Z

GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)

richiardiandrea 2017-06-21T23:44:30.189057Z

good to know, because I'll need to support Osx

2017-06-21T23:44:38.190355Z

let’s add that -1 arg

2017-06-21T23:44:42.190985Z

that will work everywhere

2017-06-21T23:46:14.204837Z

do you want me to do that right now?

richiardiandrea 2017-06-21T23:47:10.213308Z

yep I was also checking this: https://stackoverflow.com/questions/40373278/how-to-have-2-variables-with-2-different-seq-bash-linux

richiardiandrea 2017-06-21T23:49:34.235613Z

actually this one might be better: https://stackoverflow.com/a/6191382/1888507

2017-06-21T23:50:06.240561Z

hmm, let’s just fix the seq

richiardiandrea 2017-06-21T23:52:49.265781Z

ok things work

2017-06-21T23:56:44.301013Z

hmm, why don’t you just scrape the links from release notes? https://github.com/binaryage/dirac/releases/tag/v1.2.10

2017-06-21T23:57:08.304670Z

this would be more flexible, because I could change it ad-hoc just by editing release notes

2017-06-21T23:59:15.324213Z

the problem is that those links are not 100% guaranteed to work, it is just a best guess

2017-06-21T23:59:27.326054Z

so I could go in and move them by hand

2017-06-21T23:59:34.327018Z

in case of some issues

richiardiandrea 2017-06-21T23:59:40.327867Z

well I like this check, I did not notice the links there lol