Check out single file from GitHub at suite run time?

Hi there

I have a Python postprocessing script on GitHub which I’d like to check out into a suite at run time.

Is there a standard way of doing this?

Thanks a lot

Jonny

Got it.

You can get the absolute path from the raw feature on Github and then use wget

wget https://raw.githubusercontent.com/...

FYI, the answer to this question would usually be the git archive command however extracting files from repositories is not supported by GitHub: https://twitter.com/GitHubHelp/status/322818593748303873

With rose you can (ab)use svn scheme for that (github supports svn interface):

[]
schemes=https://github.com/*=svn
[file:path/to/destination]
source=https://github.com/<githubuser>/<repo>/trunk/path/to/source
4 Likes