Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues/47 multiple repos #74

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Issues/47 multiple repos #74

wants to merge 12 commits into from

Commits on May 7, 2023

  1. Allow using several git repos

    Fixes #47
    ochurlaud authored and mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    d3a61cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8574d38 View commit details
    Browse the repository at this point in the history
  3. Allow using several git repos

    - improvements due to code review:
      - changed config 'initRepo' -> 'autoDetermineRepos' to leverage self explanation
      - added missing language description for this config
    
    Fixes #47
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    8be0bb0 View commit details
    Browse the repository at this point in the history
  4. Allow using several git repos

    - fix for auto determining the next parent repo path:
      - Git.php:
        - fixed type declaration of $plugin for null initialization
        - replaced method is_in_git_repo($path) by absolute_git_dir($path)
        - added method get_repo_path()
      - editcommit.php:
        - clear repoWorkDir in case of auto determined repo_path
        - add --work-tree option only, if repoWorkDir is not empty
    
    Fixes #47
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    5e54101 View commit details
    Browse the repository at this point in the history
  5. Allow using several git repos

    - editcommit.php:
      - streamlined the code of initRepo to improve readability
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    634ce79 View commit details
    Browse the repository at this point in the history
  6. Allow using several git repos

    - editcommit.php:
      - another simplification of the code
      - made ->initRepo(...) work for both: a file path name as well as a directory path name
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    718bdcd View commit details
    Browse the repository at this point in the history
  7. Allow using several git repos

    - editcommit.php, Git.php:
      - fixed issue for non git repo related paths in case of auto determining repos
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    dbee1e7 View commit details
    Browse the repository at this point in the history
  8. Allow using several git repos

    - editcommit.php:
      - added a restriction not to use auto determined git repos found in directories above the DokuWiki configured $conf['savedir'].
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    ff5ae89 View commit details
    Browse the repository at this point in the history
  9. Allow using several git repos

    - Git.php:
      - in case of auto determined repos:
        - use git rev-parse --git-dir option rather than --absolute-git-dir to support a maximum range of git versions
        - function absolute_git_dir($path):
          - extended the logic to ensure to return an absolute repo_path in any case
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    ee6827c View commit details
    Browse the repository at this point in the history
  10. Allow using several git repos

    - editcommit.php:
      - improved to be backward compatible with existing single repo path configured installations
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    8e783f4 View commit details
    Browse the repository at this point in the history
  11. Allow using several git repos

    - improved description of config settings
    - set default value to empty string for $conf['repoPath'] and $conf['repoWorkDir']
    - changed position of config setting 'autoDetermineRepos' to be listed before 'repoPath'
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    d2a66e7 View commit details
    Browse the repository at this point in the history
  12. Allow using several git repos

    - improved German description of config settings
    mhoffrog committed May 7, 2023
    Configuration menu
    Copy the full SHA
    57bb453 View commit details
    Browse the repository at this point in the history