Skip to content

Releases: redmine-git-hosting/redmine_git_hosting

1.0.2

14 Mar 01:19
Compare
Choose a tag to compare
  • Merge #348 (Use Redmine setting for Git command)
  • Fix #345 (HTTPS Push, Popen : wrong number of arguments, Ruby 1.9 compatibility)
  • Fix #351 (undefined method `split' for nil:NilClass)
  • Fix #354 (Input string is longer than NAMEDATALEN / index too long)
  • Fix #358 (undefined method `join' for nil:NilClass)
  • Fix #364 (Gitolite hook silently fails on HTTP redirect)
  • Fix #368 ("My public keys" link is still missing the subpath)
  • Fix #375 (SmartHTTP link is not properly generated when Redmine is installed in a sub-path)
  • Fix #377 ("Git user is able to sudo to Redmine user?" fails with non-login shell)
  • Fix "undefined method `identifier' for nil:NilClass" when migrating to v1
  • Add Redmine 3.x compatibility
  • Update Redmine installer script for Travis builds
  • Use Redmine Bootstrap Kit - TagIt helper
  • Use Redmine Bootstrap Kit - BootstrapSwitch helper

Notes

  • Depending on your Redmine version (2.x/3.x) you'll have to comment/uncomment the right lines in the plugin's Gemfile

  • Before update Redmine Git Hosting plugin you must update Redmine Bootstrap Kit plugin to version 0.2.2 :

      # Update Redmine Bootstrap Kit
      redmine$ cd REDMINE_ROOT/plugins/redmine_bootstrap_kit
      redmine$ git fetch -p
      redmine$ git checkout 0.2.2
    
      # Cleanup plugins assets dir
      redmine$ cd REDMINE_ROOT/public/plugin_assets
      redmine$ rm -rf *
    
  • Since support of Ruby 1.9.x has ended, we won't support Ruby 1.9.x anymore.
    We highly recommend that you upgrade to Ruby 2.1 or 2.0.0 as soon as possible.

1.0.1

23 Feb 20:05
Compare
Choose a tag to compare
  • Fix archive name in DownloadGitRevision

  • Fix #331 (Internal Server Error on user details)

  • Fix #335 (gitolite-rugged can handle subdirectories for config file, just pass them)

  • Fix #336 (TypeError no implicit conversion of nil into Array, fix 404/500 errors in repository views)

  • Fix #340 (Invalid public key link)

  • Fix #344 (Add a warning if Repository::Xitolite is disabled on repository auto-create)

  • Add link to repositories in Project overview

1.0.0

26 Jan 04:33
Compare
Choose a tag to compare

This new version is the first one of the v1.0 branch!

For this version the major part of the code has be rewritten to be cleaner and easier to debug.
It also brings some new features and fixes a lot of bugs.

There are some major changes that should solve a lot of issues :

  • The plugin doesn't override Repository::Git object anymore. Instead it introduces a new type of repository in Redmine : Gitolite repositories.
    That means that you can have standard Redmine Git repositories as before and Gitolite repositories in the same time.
    Note that only Gitolite repositories have advanced features (mirrors, post urls, etc...).

  • The second major change concerns the Storage strategy already discussed here.
    unique_repo_identifier and hierarchical_organisation are now combined in a single param : hierarchical_organisation.

  • And finally the third major change is the switch to gitolite-rugged thanks to Oliver Günther.

Changes

  • Big refactoring of GitoliteWrapper (thanks Oliver Günther)
  • Switch to Gitlab Grack to provide Git SmartHTTP feature
  • Add SSH key fingerprint field in database

New features

  • Export developer public ssh keys in Redmine REST API
  • Export repository extras (mirrors, post receive urls, etc...) in Redmine REST API
  • Add "go get" support for GoLang
  • GitolitePlugins Sweepers and Extenders : to execute some actions after repository create/update/delete
  • new GitCache adapters : Memcached and Redis (faster than the current database adapter)
  • GitoliteHooks DSL to install your own Gitolite hooks globally
  • Support for GitAnnex repositories
  • Support for branch permission / protected branches
  • Add rake tasks for a fully automated install #303

Fixes

  • Hooks URL should be configurable
  • Fix #223 (fix https:// notifications if TLSvX is mandatory)
  • Fix #240 (Allow modification of the gitolite-admin repository from a different location)
  • Fix #286 (Link to "my public keys" is shown even if right is not granted)
  • Fix #310 (compatibility with redmine_scm_creator plugin)
  • Fix #311 (mirror repository URLs should permit dots in repository path)
  • Purge RecycleBin on fetch_changesets ([Configuration notes]({{ site.baseurl }}/configuration/notes/#empty-recycle-bin-periodically))

Other

  • Bump to last version of Git Multimail hook
  • Bump ZeroClipboard to version v2.1.1
  • Bump Highcharts to version 4.0.3

Notes

Thanks to the work of Oliver Günther (really thank you), the plugin is now a lot more simple in many ways :

  • the plugin is scriptless : no more need of gitolite_scripts_dir and shell scripts to wrap calls to sudo. Now, the only required dir is the gitolite_temp_dir to clone the Gitolite admin repository.
  • SSH keys are stored in Gitolite in a directory tree under ssh_keys. No more need of timestamped key name :)

Example :
gitolite-admin.git/
├── conf
│   └── gitolite.conf
└── keydir
    ├── redmine_git_hosting
    │   ├── redmine_admin_1
    │   │   └── redmine_my_key
    │   │       └── redmine_admin_1.pub
    │   └── redmine_admin_1_deploy_key_1
    │       └── redmine_deploy_key_1
    │           └── redmine_admin_1_deploy_key_1.pub
    └── redmine_gitolite_admin_id_rsa.pub

Release 0.7.10 of Redmine Git Hosting

26 Jan 01:13
Compare
Choose a tag to compare
  • Fix #324 (Unable to flag repository as Main)
  • Fix #326 (Error occurred while loading the routes definition)
  • Fix #329 ("internal Error" when trying to edit a newly created repo)

Notes

Important !

This is the last version of the v0.7 branch. There won't be new releases under this branch.

That means that everyone should migrate to the new 1.0 version :)

Important !

Before migrating to the new 1.0 you MUST migrate to this version (0.7.10).

It includes a Rake task that prepare the migration to 1.0, so don't miss that step!

0.7.9

07 Jan 21:05
Compare
Choose a tag to compare
  • Fix #218 (I18n warnings)
  • Fix #288 (wrong deployment key identifier attribution that may lead to a security issue)
  • Fix #317 (inconsistent url's of hierarchical repositories in sub-projects)
  • gitolite-admin is a forbiden repository identifier
  • Fix ActiveRecord translations
  • Better handling of errors on git commit
  • Add Rake task to prepare migration to V1.0

Release 0.7.8 of Redmine Git Hosting

08 Nov 13:11
Compare
Choose a tag to compare
  • Fix collision in method name with Redmine Jenkins Plugin
  • Backport patch from pull #266
  • Fix #246 (init.rb - config values not taken)
  • Fix #258 (wrong hook installation place on gitolite 3.x)
  • Fix #289 (url to wiki goes nowhere)

Notes

Important !

As explained in Gitolite documentation hooks should be installed in a separate directory.
This new version fixes Gitolite hooks install path for Gitolite v3.

Hooks are now stored by default in <gitolite user home dir>/local. You can override this in the plugin settings.

Note that the directory must be a relative path to the Gitolite user home directory.

You'll also have to update your .gitolite.rc accordingly :

LOCAL_CODE  =>  "$ENV{HOME}/local"

0.7.7

10 Sep 19:48
Compare
Choose a tag to compare
  • Merge #259 (Some (very old) repositories have been indentified as empty)
  • Merge #223 (Fix https:// notifications if TLSvX is mandatory #223)
  • Bump to jbox-gitolite 1.2.6 which depends on gitlab-grit 2.7.1

Notes :

Until this version, the plugin silently failed when pushing data to Gitolite Admin. Now when an error happens on push, you should get this in the log :

2014-09-10 19:02:25 +0200 INFO [GitHosting] User 'admin' created a new repository 'test/blof'
2014-09-10 19:02:25 +0200 INFO [GitWorker] Using Gitolite configuration file : 'gitolite.conf'
2014-09-10 19:02:26 +0200 INFO [GitWorker] add_repository : repository 'test/blof' does not exist in Gitolite, create it ...
2014-09-10 19:02:26 +0200 INFO [GitWorker] add_repository : commiting to Gitolite...
2014-09-10 19:02:26 +0200 INFO [GitWorker] add_repository : let Gitolite create empty repository 'repositories/test/blof.git'
2014-09-10 19:02:26 +0200 INFO [GitWorker] add_repository : pushing to Gitolite...
2014-09-10 19:02:26 +0200 ERROR [GitWorker] Command failed [1]: /usr/bin/git --git-dir=/tmp/redmine_git_hosting/git/gitolite-admin.git/.git --work-tree=/tmp/redmine_git_hosting/git/gitolite-admin.git push origin master
[GitWorker]
[GitWorker]To ssh://git@localhost:22/gitolite-admin.git
[GitWorker] ! [rejected]        master -> master (fetch first)
[GitWorker]error: failed to push some refs to 'ssh://git@localhost:22/gitolite-admin.git'
[GitWorker]hint: Updates were rejected because the remote contains work that you do
[GitWorker]hint: not have locally. This is usually caused by another repository pushing
[GitWorker]hint: to the same ref. You may want to first integrate the remote changes
[GitWorker]hint: (e.g., 'git pull ...') before pushing again.
[GitWorker]hint: See the 'Note about fast-forwards' in 'git push --help' for details.
[GitWorker]

0.7.6

16 Jul 23:55
Compare
Choose a tag to compare
  • Bump to jbox-gitolite 1.2.3 which depends on gitlab-grit 2.7.0
  • Fix #207 (gitolite-admin does not sync anymore) and his brothers

0.7.5

14 Jul 16:04
Compare
Choose a tag to compare
  • Fix #226 (unable to download revision if branch has a '/' in the name)
  • Fix #230 (Unwanted access to gitolite-admin repository)

0.7.4

03 Jul 22:32
Compare
Choose a tag to compare
  • Fix #184 (truncated Bootstrap Switches)
  • Fix #211 (mixed up dates in contributors statistics graph)
  • Fix #215 (application.css conflicts)
  • Fix #225 (unable to set new repository deployment credentials)
  • Set extra_info field when auto-creating repo with project