Possible to download a single file from source tree without svn?

150 views
Skip to first unread message

Newton Allen

unread,
Feb 6, 2014, 3:13:48 PM2/6/14
to Chromium-dev
Hi all,

TL;DR; Is there a way to download a single file from the chromium repository over plain old HTTP, not using svn? ViewVC and gitiles seem like they might provide a way to do this, but I can't find it.

Background:

I'm working on a script to simplify the setup when working remotely on Android development. This allows users to install APKs, run tests, etc on a local device while working on a remote machine. As a result, the script will actually be run from a computer without a chromium checkout. The ideal setup would be: developer copies the script to their laptop once and the script auto-updates itself based on the latest version checked into chromium.

To auto-update, the script needs to download its newest version from chromium. This could be done with svn export; the downside being that svn may not be installed and credentials for chromium.org probably are configured. If there's a lower friction way to do this -- downloading the file with curl over HTTP, for example -- that would be ideal.

Thanks,
Newton

Ryan Sleevi

unread,
Feb 6, 2014, 3:20:32 PM2/6/14
to Newton Allen, Chromium-dev
Integrate the script into depot_tools, which provides enough baseline for getting a checkout and can handle updates, without requiring a 'full' Chromium checkout? 

Scott Graham

unread,
Feb 6, 2014, 3:24:28 PM2/6/14
to Ryan Sleevi, Newton Allen, Chromium-dev
For the immediate question, the download link here suggests a way: http://www.chromium.org/developers/bisect-builds-py .


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Jeremy Roman

unread,
Feb 6, 2014, 3:45:29 PM2/6/14
to sco...@chromium.org, Ryan Sleevi, Newton Allen, Chromium-dev

Newton Allen

unread,
Feb 6, 2014, 4:41:37 PM2/6/14
to Jeremy Roman, sco...@chromium.org, Ryan Sleevi, Chromium-dev
Thanks for all the pointers!  I think I'll use http://src.chromium.org/svn/trunk/src/path/to/file for now and update it to use the chromium.googlesource.com address once https://code.google.com/p/gitiles/issues/detail?id=7 is fixed.
Reply all
Reply to author
Forward
0 new messages