Project

General

Profile

Actions

task #6006

closed

setup automatic refresh of repositories in Redmine

Added by Andreas Kohlbecker almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
New
Category:
devOps
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Tags:

Description

This needs to be done for all repos in redmine:

http://www.redmine.org/projects/redmine/wiki/HowTo_setup_automatic_refresh_of_repositories_in_Redmine_on_commit

done for all existing subprojects of EDIT:

  • edit svn with /var/svn/edit/hooks/user-post-commit - no longer needed -
  • cdm-dataportal.git
  • cdmlib-apps
  • cdmlib
  • taxeditor
Actions #1

Updated by Andreas Kohlbecker almost 8 years ago

  • Description updated (diff)
  • % Done changed from 0 to 20
Actions #2

Updated by Andreas Kohlbecker almost 8 years ago

  • Description updated (diff)
Actions #3

Updated by Andreas Müller over 7 years ago

Andreas Kohlbecker wrote:

done for:

  • edit svn with /var/svn/edit/hooks/user-post-commit

Seems like it didn't work. I had to update manually again

Actions #4

Updated by Andreas Müller over 7 years ago

  • Category set to devOps
Actions #5

Updated by Andreas Müller over 7 years ago

  • Assignee set to Andreas Kohlbecker
Actions #6

Updated by Andreas Kohlbecker over 7 years ago

  • Description updated (diff)
  • % Done changed from 20 to 30

Andreas Müller wrote:

Andreas Kohlbecker wrote:

done for:

  • edit svn with /var/svn/edit/hooks/user-post-commit

Seems like it didn't work. I had to update manually again

There was a permission problem with the post commit hook

Actions #7

Updated by Andreas Kohlbecker over 7 years ago

  • Description updated (diff)

the SVN is no longer synced with the git repositories. The svn repos which have been migrated to git are only archives and have readonly access. The refresh must therefore only configured in git.

I created a generic post-receive hook which can be configured individually for the specific git repos:

/var/git/.hooks
Actions #8

Updated by Andreas Kohlbecker over 7 years ago

  • Description updated (diff)

I tested the hook, it works!

Actions #9

Updated by Andreas Kohlbecker over 7 years ago

  • Status changed from New to Closed
  • Keywords set to redmine, git

No problems so far, the refresh works for all configured repos.

Actions #10

Updated by Andreas Kohlbecker over 7 years ago

  • % Done changed from 30 to 100
Actions

Also available in: Atom PDF