redmine_with_git 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0febda365f7df94934022a90dc6bab77c0dfc06a3911ea5ae2bd27f6b79b68e0
4
- data.tar.gz: 731e3008a701a17eeea1fb131143ae612155d6853c12a1de3d439120149546d1
3
+ metadata.gz: 6f3e0e1b33ddb8a2aacf89e2f9cda8dc920fa104a1f30b44b36b3ad8fb712b77
4
+ data.tar.gz: 5027e58b2d22bde3d0041616cd4d67b81365e6ff7ee9f7f16e6f2b223ef8a200
5
5
  SHA512:
6
- metadata.gz: 0d809dbf07fa8b5bf7bbac6e0f21508a9f64bd7d619c1a9088594318a9493223aabcd321c900c099ef1432d5e25c66dc7c21d4edc020fa757cfd33b12ab39b30
7
- data.tar.gz: 1dba139b5d14e6041821ca72fca79584ed8a27595e8e2632a36ffd3ce62c4f93250a8b7e45a1b50627b9d8e796b4db070e59dcf083a2623987afe2acad76b481
6
+ metadata.gz: 398703449480c9bec9ca04f2ab41e4a5b203644ac6ae8ae863626e9dce61a7ffe929076fecaf04644b3425710796f688edadd96b4a057c90462d24b5ab0e337c
7
+ data.tar.gz: 2a1322e8c79db485a40233b55d6ec3fa8d0326ca993b71146b3de7dbc2c3734f1ef7236509d691f4b842b8f8270d6a81da9ebe25b018f0325e05b43cf0b00438
@@ -20,6 +20,6 @@ Redmine::Plugin.post_register :redmine_with_git do
20
20
 
21
21
  # Source: https://github.com/esquilo-azul/redmine_installer
22
22
  if ::Redmine::Plugin.registered_plugins.keys.include?(:redmine_installer)
23
- requires_redmine_plugin(:redmine_installer, version_or_higher: '0.17.0')
23
+ requires_redmine_plugin(:redmine_installer, version_or_higher: '0.18.0')
24
24
  end
25
25
  end
@@ -6,7 +6,7 @@ set -e
6
6
  gitolite_rc_file="$gitolite_user_home/.gitolite.rc"
7
7
 
8
8
  function gitolite_rc_template {
9
- programeiro /template/apply "${REDMINE_WITH_GIT_TEMPLATE_ROOT}/gitolite.rc"
9
+ template_apply "${REDMINE_WITH_GIT_TEMPLATE_ROOT}/gitolite.rc"
10
10
  }
11
11
 
12
12
  function task_dependencies {
@@ -5,7 +5,7 @@ set -e
5
5
 
6
6
  function redmine_git_hosting_setting_template {
7
7
  export redmine_git_hosting_ssh_key=$(programeiro /redmine_git_hosting/ssh_key)
8
- programeiro /template/apply "${REDMINE_WITH_GIT_TEMPLATE_ROOT}/redmine_git_hosting_setting_value.sql" -
8
+ template_apply "${REDMINE_WITH_GIT_TEMPLATE_ROOT}/redmine_git_hosting_setting_value.sql" -
9
9
  }
10
10
  export -f redmine_git_hosting_setting_template
11
11
 
@@ -29,7 +29,7 @@ function task_condition {
29
29
  fi
30
30
  export rails_user="$(programeiro /rails/user)"
31
31
  SUDOERS_FILE_COPY="$(sudoers_file_copy_file)"
32
- result=$(programeiro /template/apply "${REDMINE_WITH_GIT_TEMPLATE_ROOT}/redmine_user_sudoer" | programeiro /text/diff_stdin_file "$SUDOERS_FILE_COPY")
32
+ result=$(template_apply "${REDMINE_WITH_GIT_TEMPLATE_ROOT}/redmine_user_sudoer" | programeiro /text/diff_stdin_file "$SUDOERS_FILE_COPY")
33
33
  sudo rm -f "$SUDOERS_FILE_COPY"
34
34
  if [ "$result" != '0' ]; then
35
35
  return 1
@@ -44,7 +44,7 @@ function task_fix {
44
44
  set -u
45
45
  set -e
46
46
  export rails_user="$(programeiro /rails/user)"
47
- programeiro /template/apply "$REDMINE_WITH_GIT_TEMPLATE_ROOT/redmine_user_sudoer" | \
47
+ template_apply "$REDMINE_WITH_GIT_TEMPLATE_ROOT/redmine_user_sudoer" | \
48
48
  programeiro /linux/sudo_write "$SUDOER_FILE"
49
49
  }
50
50
  export -f task_fix
@@ -4,7 +4,7 @@ set -u
4
4
  set -e
5
5
 
6
6
  REDMINE_WITH_GIT_PACKAGES=(build-essential libcurl4-openssl-dev libssh2-1 libssh2-1-dev cmake \
7
- libgpg-error-dev)
7
+ libgpg-error-dev libssl-dev)
8
8
 
9
9
  function task_condition {
10
10
  package_installed apt "${REDMINE_WITH_GIT_PACKAGES[@]}"
@@ -15,7 +15,7 @@ gitolite_flush_cache: 'false'
15
15
  gitolite_global_storage_dir: repositories/
16
16
  gitolite_hooks_are_asynchronous: 'false'
17
17
  gitolite_hooks_debug: 'false'
18
- gitolite_hooks_url: "${address_scheme}://${address_authority}${address_path}"
18
+ gitolite_hooks_url: "%%address_scheme%%://%%address_authority%%%%address_path%%"
19
19
  gitolite_http_by_default: '1'
20
20
  gitolite_identifier_prefix: redmine_
21
21
  gitolite_identifier_strip_user_id: 'false'
@@ -36,18 +36,18 @@ gitolite_resync_all_ssh_keys: 'false'
36
36
  gitolite_scripts_dir: ''
37
37
  gitolite_server_host: 127.0.0.1
38
38
  gitolite_server_port: '22'
39
- gitolite_ssh_private_key: "${redmine_git_hosting_ssh_key}"
40
- gitolite_ssh_public_key: "${redmine_git_hosting_ssh_key}.pub"
41
- gitolite_temp_dir: "/tmp/redmine_git_hosting_${gitolite_user}/"
39
+ gitolite_ssh_private_key: "%%redmine_git_hosting_ssh_key%%"
40
+ gitolite_ssh_public_key: "%%redmine_git_hosting_ssh_key%%.pub"
41
+ gitolite_temp_dir: "/tmp/redmine_git_hosting_%%gitolite_user%%/"
42
42
  gitolite_timeout: '10'
43
- gitolite_user: ${gitolite_user}
43
+ gitolite_user: %%gitolite_user%%
44
44
  gitolite_use_sidekiq: 'false'
45
- hierarchical_organisation: '${git_repositories_hierarchical_organisation}'
46
- http_server_domain: ${address_authority}
45
+ hierarchical_organisation: '%%git_repositories_hierarchical_organisation%%'
46
+ http_server_domain: %%address_authority%%
47
47
  http_server_subdir: ''
48
- https_server_domain: ${address_authority}
48
+ https_server_domain: %%address_authority%%
49
49
  init_repositories_on_create: 'false'
50
50
  redmine_has_rw_access_on_all_repos: 'true'
51
51
  show_repositories_url: 'true'
52
- ssh_server_domain: ${address_host}
53
- unique_repo_identifier: '${git_repositories_unique_repo_identifier}'
52
+ ssh_server_domain: %%address_host%%
53
+ unique_repo_identifier: '%%git_repositories_unique_repo_identifier%%'
@@ -1,6 +1,6 @@
1
1
  Defaults:redmine !requiretty
2
- ${rails_user} ALL=(${gitolite_user}) NOPASSWD:ALL
3
- ${rails_user} ALL=(root) NOPASSWD:/usr/bin/stat
4
- ${rails_user} ALL=(root) NOPASSWD:/bin/cp ${SUDOER_FILE} ${SUDOER_TMP_FILE}
5
- ${rails_user} ALL=(root) NOPASSWD:/bin/chmod og+r ${SUDOER_TMP_FILE}
6
- ${rails_user} ALL=(root) NOPASSWD:/bin/rm -f ${SUDOER_TMP_FILE}
2
+ %%rails_user%% ALL=(%%gitolite_user%%) NOPASSWD:ALL
3
+ %%rails_user%% ALL=(root) NOPASSWD:/usr/bin/stat
4
+ %%rails_user%% ALL=(root) NOPASSWD:/bin/cp %%SUDOER_FILE%% %%SUDOER_TMP_FILE%%
5
+ %%rails_user%% ALL=(root) NOPASSWD:/bin/chmod og+r %%SUDOER_TMP_FILE%%
6
+ %%rails_user%% ALL=(root) NOPASSWD:/bin/rm -f %%SUDOER_TMP_FILE%%
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RedmineWithGit
4
- VERSION = '0.7.5'
4
+ VERSION = '0.7.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_with_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-13 00:00:00.000000000 Z
11
+ date: 2023-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avm