Sam's notebook

Composer repository URLs can't use UNC paths? April 8th, 2014, 7PM

Programming

It would seem that when using Composer on Windows, one cannot use UNC paths as repository URLs. That is to say, the following doesn’t work: { “repositories”: [ { “type”: “vcs”, “url”: “//SERVER/Share/project.git” }, ] } Instead, the share must be mapped and the mapped drive letter used: “url”: “G:/project.git” This does, of course, have […]

[One comment] [Keywords: , , , , , , , , , ] [Permanent link]

Contributing to Github-hosted projects May 7th, 2012, 8AM

Programming

Some projects provide information about how people should fork and contribute to them. This is my general approach (included here, obviously, for my own edification): Fork a project: Github clickity-click Clone it locally: git clone git@github.com:username/project.git Add the upstream project: git remote add upstream git@github.com:upstream/project.git Do not commit to the master branch; it is to […]

[No comments] [Keywords: , , , , , ] [Permanent link]

Switching an SVN directory to and from an 'externals' definition December 28th, 2011, 7AM

Programming

There seems to be quite a few posts out there about how to replace Subversion externals definitions with local directories, but not so much for going the other way. I’m not sure why; it seems to me more likely that one would start off with some small module as part of a bigger repository, and […]

[4 comments] [Keywords: , , , , ] [Permanent link]