CyberShadow / Digger

A tool to build D and bisect old D versions
Other
57 stars 9 forks source link

Add digger:// support #1

Closed ghost closed 1 year ago

ghost commented 10 years ago

I thought it would be cool if we could add a link on each pull request page in the form of digger://pull## (automatically, just like the autotester links). This would allow anyone who has digger installed to simply double-click the link which would invoke digger and build the compiler/libs/etc together with the specific pull request.

This would make it super-easy for anyone to try any specific pull request.

That would mean registering the protocol with digger on the target OS.

CyberShadow commented 10 years ago

Nice idea! Needs some thought though, like do we pop up a console window or browser tab?

ghost commented 10 years ago

I guess it could open that digger web interface? Then this might allow someone to further configure the build?

CyberShadow commented 1 year ago

Today, you can run:

$ dub run -- digger build master+dmd#12345

or even

$ dub run -- digger run master+dmd#12345 -- dmd -run test.d

(to compile test.d with DMD master plus a pull request).

I think that's more explicit / flexible / universal / cross-platform than a semi-opaque link, and does not require prior setup.

I've also ended up removing the web interface in v3, as I don't think anyone was really using it.