Dash in XML tag name? (<like-this>). When fetching simply enclose in curly brackets and quotes like so: {'like-this'}.
Dash in XML tag name? (<like-this>). When fetching simply enclose in curly brackets and quotes like so: {'like-this'}.
Not so easy on a shared host:
First, get bazaar. Because we have no gcc ability, we need to set up a config file to change some values in. First create ~/.pydistutils.cfg. You need to add the lines:
[build_ext] allow-python-fallback=1
This now allows us to build bazaar:
easy_install --prefix=~ bzrWith Bazaar installed fetch the latest version of trac-bzr:
bzr branch lp:trac-bzrYou then need to set it up. Navigate to the trac-bzr folder and run:
python setup.py install --prefix=~
Once installed, you need to add/change some lines in your trac.ini file.
Add tracbzr.* = enabled
To the components section and
Change repository_dir = /your/repository/location repository_type = bzr
Once that is complete, you need to get the stuff into your repository. First run bzr repo-init and then change to your working repository and run bzr push sftp:/location/of/repo.
If key is not named id_rsa need to specify when logging on.
ssh -i ~/.ssh/key_file your@host.name
Host broke, gave us a new server. This however was 64bit and broke Trac. To get it working again:
stdlib_dir = join(prefix, 'lib', py_version)
to
stdlib_dir = join(prefix, 'lib64', py_version)
and run.
All should now be working!
Need to access local server through a VirtualBox virtual machine?
Try 10.0.2.2
Simple:
bzr cat -r 117 path_to_file > path_to_output_location