setup/windows-installer: Bump to v0.1 Significant changes: * Convert back from POSIX to Python [1] * Quote $PATH export to account for spaces * Install nano source syntax highlighters * Install the sqlite3 shell * Look for an R bin directory and add it to the PATH * Add a README and COPYING metadata * Add --verbose and --version options [1]: https://github.com/swcarpentry/bc/issues/424
sql: Add a submodule with Greg Wilson's SQL via IPython notebooks We're linking to the novice SQL lessons cherry-picked from swcarpentry/bc's master branch [1]. The usual layout is $subject/$tool, so maybe this should be sql/sqlite? I find it hard to imagine folks teaching SQL to novices without using SQLite though, so I've skilled the per-tool repository. It will be easy to add the $tool directory if we *do* get someone teaching SQL with another tool. [1]: https://github.com/swcarpentry/bc
setup/windows-installer/swc-windows-installer.sh: Install nano source syntax highlighters Make writing Python source code (and a number of other languages) a bit more exciting for the eyes and easier on the brain by coloring strings, comments, and such. We need to install the source tarball because the compiled zip doesn't include the syntax highlighting scripts. To make that easier, I've extracted out the download / hash-check functionality into a new download(), which I use in both the old zip_install() and the new tar_install(). If the user doesn't have an existing ~/.nanorc, we populate it by adding 'include' options for each of the syntax files in the Nano tarball. If they do have an existing ~/.nanorc, I assume they know what they're doing ;).
setup/windows-installer/swc-windows-installer.sh: Convert script from Python to POSIX shell On Mon, Jan 13, 2014 at 05:49:51AM -0800, Aron Ahmadia wrote: > We currently have an installer that handles the issue of installing > `nano` into msysgit for use with Git: ... > > This currently doesn't help for bootcamps where Python is not > installed, so it would be handy to have a version of this that > doesn't rely on a Python install. POSIX shell, because an interpreted language from 1977 [1] is more widely supported than an interpreted language from 1991 [2]. It looks like the default msysGit install sets up the right double-click magic too: On Mon, Jan 13, 2014 at 10:03:24AM -0800, Ethan White wrote: > Will a POSIX version run by simply double clicking the file? On Mon, Jan 13, 2014 at 10:25:33AM -0800, Ethan White wrote: > Just checked this on my Windows machine and it actually seems to > work automatically as long as GitBash is installed and the file has > a .sh extension. So POSIX away. [1]: http://en.wikipedia.org/wiki/Bourne_shell [2]: http://en.wikipedia.org/wiki/Python_language
setup/installation-test/swc-installation-test-2.py: Prefer pip to easy_install For virtual-pypi-installer. easy_install is part of Setuptools [1], which was dead for several years. The Distribute fork took over, but has since been merged back into a revitalized Setuptools (since Setuptools v0.7 [2], tagged on 2013-06-02 [3]). Pip >= v1.4 actually requires a modern Setuptools, not Distribute [4]. Pip also improves on easy_install [5], which does not currently support uninstalling packages [6]. [1]: http://pythonhosted.org/setuptools/ [2]: http://pythonhosted.org/distribute/ [3]: https://bitbucket.org/pypa/setuptools/commits/tag/0.7 [4]: http://www.pip-installer.org/en/latest/installing.html#id6 [5]: http://www.pip-installer.org/en/latest/other-tools.html#easy-install [6]: http://pythonhosted.org/setuptools/easy_install.html#uninstalling-packages
setup/windows-installer: Update to get installation bugfixes This pulls in: * swc-windows-installer.py: Use regular expressions to POSIX-ify paths * swc-windows-installer.py: Only create the python-scripts dir if it doesn't exist * swc-windows-installer.py: Split out zip_install into its own function
version-control/git/README.md: Update link to SWC contributing page Catch up with the swcarpentry/website -> swcarpentry/site transition, specifically 86ba191 (Replaced contributing.html page with contrib/ directory containing separate pages for different ways to contribute, 2013-08-22).
modular/shell/exercises/hearing: Replace 2012-04-uchichicago commit with 2012-02-trieste Replace the copy-paste bf93a25 (added data, 2012-03-20) from the Chicago boot camp with the earlier 3e24204 (Added Da for Shell example, 2012-01-30) from the Trieste boot camp [2]. [1]: https://github.com/thehackerwithin/UofCSCBC2012 [2]: https://github.com/thehackerwithin/PyTrieste