1. 26 Jun, 2015 1 commit
    • Guido Günther's avatar
      Add spec file taken from git-buildpackage-rpm · a331b7f1
      Guido Günther authored
      Minimal changes only to get it to build (like removing the bb package
      and yet missing manpages of the *-rpm tools).
      
      Due to changes in Debian's dist- vs. site-packages you need to do a:
      
      cat <<EOF >> ~/.rpmmacros
      %python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib().replace('dist-', 'site-'))")
      %python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib(1).replace('dist-', 'site-'))")
      EOF
      
      to build the RPMs on Debian.
      a331b7f1
  2. 22 Jun, 2015 2 commits
  3. 12 Jun, 2015 3 commits
    • Guido Günther's avatar
      GitRepository: Use C locale when parsing remote branches · 64e6fff5
      Guido Günther authored
      Otherwise the result can be locale dependent
      64e6fff5
    • Guido Günther's avatar
      doctest: Use C locale when parsing command output · 901581b8
      Guido Günther authored
      Otherwise we fail when run in a non C locale
      901581b8
    • Guido Günther's avatar
      GitRepository: Use C locale when building error messages · 6a5675cb
      Guido Günther authored
      If we use stderr to build the error message we need to use the C locale
      when invoking git commands since otherwise we might end up with non
      ascii characters. Leading to errors like:
      
       gbp:debug: ['git', 'describe', '--match', 'upstream/*', '--abbrev=0',
       u'99b4406e2c43ed1e011239e07f2f809dad4803c0']
       Traceback (most recent call last):
         File "/usr/bin/gbp", line 9, in <module>
           load_entry_point('gbp==0.6.31', 'console_scripts', 'gbp')()
         File "/usr/lib/python2.7/dist-packages/gbp/scripts/supercommand.py",
         line 136, in supercommand
           return module.main(args)
         File "/usr/lib/python2.7/dist-packages/gbp/scripts/dch.py", line
         480, in main
           options.upstream_branch, cp)
         File "/usr/lib/python2.7/dist-packages/gbp/scripts/dch.py", line 48,
         in guess_version_from_upstream
           epoch=cp.epoch)
         File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 83, in
         debian_version_from_upstream
           tag = self.find_branch_tag(commit, upstream_branch,
           pattern=pattern)
         File "/usr/lib/python2.7/dist-packages/gbp/git/repository.py", line
         729, in find_branch_tag
           return self.describe(base_commit, pattern, abbrev=0)
         File "/usr/lib/python2.7/dist-packages/gbp/git/repository.py", line
         700, in describe
           (commitish, err.strip()))
       UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
       19: ordinal not in range(128)
      6a5675cb
  4. 10 Jun, 2015 1 commit
  5. 09 Jun, 2015 1 commit
  6. 05 Jun, 2015 3 commits
  7. 03 Jun, 2015 1 commit
  8. 02 Jun, 2015 4 commits
  9. 30 May, 2015 2 commits
  10. 28 May, 2015 2 commits
  11. 27 May, 2015 2 commits
  12. 26 May, 2015 2 commits
  13. 23 May, 2015 1 commit
  14. 22 May, 2015 2 commits
  15. 05 May, 2015 4 commits
  16. 04 May, 2015 5 commits
  17. 03 May, 2015 1 commit
  18. 27 Apr, 2015 3 commits