zoukankan      html  css  js  c++  java
  • redmine问题

    问题1: 404 版本库中不存在该条目和(或)其修订版本。

    1.1 GIT库:

    参考:http://stackoverflow.com/questions/13000247/redmine-gitolite-issue-with-repository-permissions-and-more

    I managed to get it working pointing the original repo to Redmine, since both sit on the same machine, by following some simple steps:

    1. Add a repository on Redmine with the original repo of gitolite's repository. The path would be something like /home/git/repositories/my-repo.git.

    2, Initially, Redmine doesn't have any permissions to read the repository, so we fix the problem by adding the Redmine user (usually www-data or apache) to the git group by running usermod -a -G git www-data (be aware of your server's configuration, because that can be a little different, according to how you configurated gitolite.

    3. Change the UMASK property on the .gitolite.rc file, from the default value of 0077 to 0022, the equivalent of 755 (rwxr-xr-x) for directories and 644 (rw-r--r--) for files.

    4. For existing repos, you might need to run a chmod -R g+rX

    If you still experience the permissions trouble with Redmine, where it opens a 404instead of the repo on the repository tab, you might have to run a chmod -R g+rX on the whole /home/git/repositories, in order to make sure the Redmine user can read all the way through the repos.

    1.2 SVN库

    1.2.1 此时product.log报异常:

    Error parsing svn output: #<REXML::ParseException: No close tag for /lists/list>

    1. 确保版本库的SVN中,使用正确的SVN 用户名和密码

    如不能解决,2. 在redmine服务器执行:
    svn list --xml "https://22.222.111.222:8443/svn/myproject/"@HEAD --username "myname" --password "mypasswd" --no-auth-cache --non-interactive
    如果不行,后面再加上--trust-server-cert

  • 相关阅读:
    jdk .tar.gz 包安装 inAction
    Consistent Hashing原理与实现
    开放GitHub的理由
    dll signing issue
    Regular expression cheat sheet
    DOMElement之Offset
    扫码支付测试点
    SQL注入是什么?如何防止?
    什么是接口测试?为什么要做接口测试?如何开展接口测试?
    软件测试的常识
  • 原文地址:https://www.cnblogs.com/myibm/p/5939604.html
Copyright © 2011-2022 走看看