Maintenance

  • Home
  • Log in
  • « Building Stolo tiles
  • TEI Jenkins server build script »

A technique for partial checkouts of github repos

Posted by mholmes on 14 Apr 2016 in Servers, R & D, Activity log, Activity log, Documentation, Documentation

For the TCCD project, I really would like to get a Jenkins job building things, but the problem is that everything is on GitHub and the repo is enormous due to the huge number of images. Partial checkouts with git are tricky. However, by looking at this documentation, I've figured out and tested a way to script a partial checkout using svn instead.

Say you want only the [proj]/level1/level2/level3 directory:

svn co -N https://github.com/[proj] proj
cd proj
svn up -N trunk
svn up -N trunk/level1
svn up -N trunk/level1/level2
svn up -N trunk/level1/level2/level3

That will get you a sparse checkout down to the contents of the level3 directory.

This entry was posted by Martin and filed under Servers, R & D, Activity log, Activity log, Documentation, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2025 by admin • Help • Complete website engine