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

Comments

Projects
None yet
2 participants
@mnencia

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.

@n-rodriguez n-rodriguez self-assigned this Jun 24, 2015

@mnencia

This comment has been minimized.

Show comment
Hide comment
@mnencia

mnencia 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.

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

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Jun 30, 2015

Member

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).

Member

n-rodriguez commented Jun 30, 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

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 added a commit that referenced this issue Jun 30, 2015

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Jun 30, 2015

Member

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.
Member

n-rodriguez commented Jun 30, 2015

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