On Sun, Jan 22, 2012 at 12:22 PM, pub crawler <[email protected]>wrote:

>
> Now, the source I used for this from GIT, using the download of a zip
> file.  Did this today, so current.
>
> Under /admin directory in this zipfile I do see a CTK subdirectory,
> but it is empty...


The empty CTK directory is an issue with how github.com handles git
submodules referenced in a project.  If you checkout the repo directly
using --recursive (or `git submodule update --init` after pulling down the
initial repo) the submodule in question (CTK) will be present and
available. At present time the zip/tarball that's auto-generated by github
doesn't recursively included any of the referenced submodules which is the
reason for the empty directory.

As it relates to direct downloads of the auto-generated zip/tarball, unless
github chooses to recursively include references submodules, this will
continue to be a problem us.  The workaround is to check the CTK folder for
the existence of the source files and, if not present, pull down and
extract the auto-generated zip/tarball for the CTK project from github
before continuing the build process.

This won't work for folks building on machines without Internet access, but
we can provide a developer-friendly error specifying the need to download
and extract the proper CTK archive before continuing the build.

Alvaro: I'll take a look at adding this functionality to the Makefile of
the master branch later this evening. I'll ping back when ready for review.

-- 
/M:D

M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: [email protected]
Voice: (801) 742-1064
http://amp.fm | http://mdavidpeterson.com
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to