wiki:KalliServer

Version 9 (modified by admin, 4 years ago) (diff)

--

Installing Kallithea on Debian 8

  • git clone git://anonscm.debian.org/collab-maint/kallithea.git
  • wget https://pypi.python.org/packages/source/K/Kallithea/Kallithea-0.2.2.tgz
  • ln -s Kallithea-0.2.2.tgz kallithea_0.2.2.orig.tar.gz
  • cd kallithea
  • DEB_BUILD_OPTIONS=nocheck debuild

upgrade python-dulwich to unstable.

  • cd ..
  • sudo dpkg -i kallithea_0.2.2-1_all.deb

Setup

  • cd /var/lib/kallithea
  • sudo paster make-config Kallithea my.ini
  • edit my.ini as root.
  • sudo mkdir repos
  • paster setup-db my.ini
    • The script will ask if you're OK blowing away the current database. say yes.
    • The script will ask for the absolute path to the repositories. use '/var/lib/kallithea/repos/'
    • The script will ask you for the admin username, password, and email.
20:18 < andrewsh> oh, right, if you want .orig.tar.gz you also do `uscan`
20:18 < juri_> except that isn't working. debuild doesn't like not having a .orig.tar.gz.
20:18 < andrewsh> git clone …
20:18 < andrewsh> uscan --verbose
20:18 < andrewsh> dpkg-buildpackage
20:19 < andrewsh> or if you really want, I can check in tarballs as well using pristine-tar
20:19 < andrewsh> but then you'd need git-buildpackage to build it
20:20 < andrewsh> uscan reads debian/watch and downloads the latest tarball
20:20 < andrewsh> right, there may be one more trouble
20:21 < andrewsh> kiilerix said 0.2.2 is available as zip only (?!)
20:22 < andrewsh> but maybe uscan repacks it, I need to check
20:22 < andrewsh> right, there's a need in --force-download
20:22 < andrewsh> without it uscan thinks there's nothing to be done
20:23 < andrewsh> but when it downloads a zipball, it repacks it as targz automatically