Skip to content

How to use auto create repository  #59

@ocean73717

Description

@ocean73717

I see code def have clone command ,but It seems not when I create new repository used git not auto create new repository
As below is /opt/redmine-4.1.0-9/apps/redmine/htdocs/log

Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"test08", "repository_id"=>"test08"}
Current user: admin (id=1)
Rendering common/error.html.erb within layouts/base
Rendered common/error.html.erb within layouts/base (0.2ms)
Completed 404 Not Found in 102ms (Views: 29.0ms | ActiveRecord: 15.3ms)

As below is /opt/redmine-4.1.0-9/apache2/logs

App 1934 output: "#<Repository::Git id: 19, project_id: 9, url: "/data/test08.git", login: "", password: "", root_url: "/data/test08.git", type: "Repository::Git", path_encoding: "UTF-8", log_encoding: nil, extra_info: {"extra_report_last_commit"=>"1"}, identifier: "test08", is_default: true, created_on: "2023-11-08 08:03:58">"
App 1934 output: fatal: not a git repository: '/data/test08.git'
App 1934 output: fatal: not a git repository: '/data/test08.git'
App 1934 output: fatal: not a git repository: '/data/test08.git'
App 1934 output: fatal: not a git repository: '/data/test08.git'
App 1934 output: fatal: not a git repository: '/data/test08.git'

4
3
2
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions