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

1.1.x keeps disabling global repository access #465

Closed
mnencia opened this issue Jun 24, 2015 · 3 comments
Closed

1.1.x keeps disabling global repository access #465

mnencia opened this issue Jun 24, 2015 · 3 comments
Assignees
Milestone

Comments

@mnencia
Copy link

mnencia commented Jun 24, 2015

My use case is simple:

  • I don't want to create a repository for every project.
  • I don't want to create a README for every repository.
  • I want to be able to choose to create a README when I create a repository.

The documentation says that I can do it by manually adding the following line to gitolite.conf

repo    @all
  RW+                            = redmine_gitolite_admin_id_rsa

but unfortunately, redmine_git_hosting removes them the next time I touch the configuration, unless I set both :init_repositories_on_create and :all_projects_use_git to true.

I think that these should be unrelated things, and I'd like to have an option to enable global access rights for redmine_gitolite_admin_id_rsa user.

@mnencia
Copy link
Author

mnencia commented Jun 25, 2015

Moreover, at the moment :init_repositories_on_create is disabled if :all_projects_use_git is set to false. I think that these two settings should not be related at all, and :init_repositories_on_create should only depend on the eventual new setting to enable global access rights for redmine_gitolite_admin_id_rsa user.

@n-rodriguez n-rodriguez added this to the v1.2.0 milestone Jun 29, 2015
@n-rodriguez
Copy link
Contributor

Moreover, at the moment :init_repositories_on_create is disabled if :all_projects_use_git is set to false. I think that these two settings should not be related at all

They must be related otherwise how can you git init a repo if it doesn't exist in Gitolite ;)

:init_repositories_on_create should only depend on the eventual new setting to enable global access rights for redmine_gitolite_admin_id_rsa user.

I think it should depend on both (see above).

n-rodriguez pushed a commit that referenced this issue Jun 30, 2015
@n-rodriguez
Copy link
Contributor

The setting name is :redmine_has_rw_access_on_all_repos and is enabled by default so it can fill your use case :

  • I don't want to create a repository for every project.
  • I don't want to create a README for every repository.
  • I want to be able to choose to create a README when I create a repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants