Skip to content

Release Notes

kubitron edited this page Jan 14, 2013 · 42 revisions

Current Release 0.5.1x

This is the Redmine_git_hosting plugin. It provides an interface between gitolite and either Redmine or ChiliProject. The latest release of this plugin is version 0.5.1x. It is compatible with Redmine Stable releases 1.1 to 1.4, as well as ChiliProject releases 2.0 to 3.3. The master branch of this plugin has the absolutely latest fixes, while the latest stable release can be gotten via the release tag here: Release 0.5.1x

Release Notes for Post Version 0.5.1x

Release Candidate 0.5.2x: This will be a bug-fix release.

  • Bug Fixes:
    1. Fixed a migration problem with PostGreSQL (for uninstalling).
    2. Fix to allow validations to fail properly on Project creation for Redmine < 1.4
    3. Fix to prevent repository creation from stealing preexisting repositories in gitolite (which could happen under specialized circumstances).
    4. Fix to handle old versions of sudo (< 1.7.3) during repair of the administrative key
    5. Fix to preserve other administrative keys in the gitolite configuration file. Previously, the plugin would delete all but the first one. This fix is useful for people who want to have separate administrative keys for access to the gitolite config file.
    6. Fixed weird behavior on Repository page when using multiple repos/project. Showed up when on non-default repo when trying to switch to branch other than master. Would switch back to default repository.

Release Notes for Version 0.5.1x, Date: October 31, 2012

Release 0.5.1x: This is a bug-fix release.

  • Bug Fixes:
    1. Post-Receive URLs should now work with SSL (i.e. URLs of the form "https://xxx")
    2. Additional patches for backward compatibility with ChiliProject/Redmine < 1.4. In this category was a problem with editing Git repo parameters as well as a minor bug that caused problems with adding members to projects that didn't have a Git repo.
    3. Additional patches to support Ruby 1.9.x. Includes fix to post-receive hook and change in meaning of Module#instance_methods.
    4. Patched installation so that can install Redmine from scratch (i.e. run rake db:migrate on empty DB) with plugin already in place.
    5. Latest migration should now work with PostGreSQL. This was broken in 0.5.0x.

Release Notes for Version 0.5.0x, Date: October 3, 2012

Release 0.5.0x: This is a feature release.

  • New: Compatibility with Redmine 1.4
  • Bug Fixes:
    1. Uninstall of plugin should work properly now.
    2. Problems with patching on some installations should be fixed now (introduced in a recent revision).

Release Notes for Version 0.4.6x, Date: August 22, 2012

Release 0.4.6x: This is a feature release.

  • New: Added Deployment Credentials, which are public keys associated directly with a repository rather than through a user. These credentials can be created directly from the repository settings page. Since they are named (like other public keys), they can be reused for other repositories, if desired. Note that only managers (or administrators) can create deployment credentials (or deployment keys). Further, deployment keys and credentials are owned by the original creator and appear in their "my account" page.

  • New: Key validation and uniqueness. The format, properties, and uniqueness of keys are validated before allowing them to be saved. Note that actual keys must be unique across a whole gitolite installation (otherwise the access control mechanism doesn't work). At the moment, this validation allows keys of type "ssh-rsa" and "ssh-dss".

  • New: Ability to utilize alternate gitolite configuration file.

  • New: handle archiving of projects. Archived projects stay in the gitolite repository but are deactivated in the gitolite config file. All Redmine keys are removed and replaced with a token key called "redmine_archived_project".

  • New: Post-receive URLs configured from a repository settings page. When commits occur, configured URLs will be POSTed with json information about the commit, roughly in the same format as github commits. The POSTed payload is described here: http://help.github.com/post-receive-hooks/.

  • New: Repository mirrors have more configuration options. Rather than forcing the remote repository to be a complete mirror of the local repository (i.e. --mirror), repository mirrors can now specific an explicit reference specification for which branches to update and/or select whether to force update or require nothing more than a fast-forward.

  • Bug Fixes:

    1. Change in login name on User settings screen properly changes keys in keydir.
    2. Fixed cases in which delete of user from project ACL and delete of user didn't clean up gitolite.conf
    3. Fixed problem with failed validation in user settings screen.
    4. Remove extra control characters (such as line breaks) as well as leading and trailing whitespace in public keys
    5. Validations for public keys now reflected back to the user interface.
    6. Deselection of repository module now has same effect as archiving project. The repository is marked in gitolite.conf as "redmine_disabled_project". When project repository module is re-enabled, the repository is reconnected automatically.

Prior to this, repository module deselection was treated inconsistently.

Release Notes for Version 0.4.5x, Date: April 23, 2012

Release 0.4.5x: This is a bug-fix release.

  • Fixed missed case for compatibility with Redmine 1.1-Stable. This patch allows the mirror functionality to work.

  • Fixed bad interaction between cron cleanup of /tmp and access to gitolite-admin repository in /tmp. Behavior could cause user keys to appear to be deleted, even though they remain in the redmine database. This behavior has likely been a part of this plugin since before this branch was forked (pre 0.4.2).

Release Notes for Version 0.4.4x, Date: April 1, 2012

Release 0.4.4x: This release includes feature enhancements and bug fixes.

  • Compatibility with Redmine 1.1-Stable. A couple of patches were included to permit this plugin to work with older Redmine releases

  • Better configurability:

    1. New settings to configure the /tmp and /bin directories (gitTemporaryDir and gitScriptDir respectively).
    2. New settings for the default "Daemon Mode" (gitDaemonDefault), "SmartHTTP mode" (*gitHttpDefault), and "Notify CIA mode" (gitNotifyCIADefault) for new repositories.
    3. Better script support for installing scripts in the /bin directory.
    4. Updated installation instructions in the README.
  • Better recovery from loss of administrative key in gitolite -- assuming use of gitolite version >= 2.0.3.

  • Other bug fixes:

    1. Improvements to repository mirror support.
    2. Support '@' in user names for http access (externally converted to '%40').
    3. Syntax fixes to allow use of Ruby 1.9.
    4. Support for git-daemon now working correctly. The "daemon" key was not being removed correctly and projectgs with "daemon" support were not being deleted.
    5. Better handling of null-buffer condition in smart-http.
    6. Fixed language tags in localization files.

Release Notes for Version 0.4.3x, Date: February 1, 2012

Release 0.4.3x: This release includes feature enhancements and bug fixes.

  • This release includes a complete rewrite of the update_repository() functionality with an eye toward better resilience. This code will automatically recover from a variety of weird failure modes which originally could occur. Further, execution of fetch_changesets will resynchronize the gitolite.conf file, fixing any inconsistencies that might have crept into this file. Co-existence of Redmine-managed and non-redmine-managed repositories in the gitolite.conf file is supported. Some specific things that will be resynched:

    1. Missing keys will be added and unused keys will be removed from the keydir directory.
    2. Entries in gitolite.conf will be updated with new path information as necessary.
    3. If proper setting is selected, orphan repo entries will be removed from gitolite.conf file, and the repositories themselves will be moved to the new recycle bin in the gitolite homedirectory.
    4. Hooks will be checked and repaired as necessary.
  • This code is now explicitly compatible with Redmine 1.3-stable.

  • Added user-edit screen to allow administrator to examine and edit users keys.

  • Git Server parameter now supports a port specification.

  • Other bug fuxes: mirrors now report status properly.

Release Notes for Version 0.4.2x, Date: December 1, 2011

Release 0.4.2x: This release includes feature enhancements and bug fixes.

  • One of the most important aspects of this release is a fix for the performance problems that plagued earlier versions of the plugin for post 1.2 Redmine. Fetch_changesets operations should now be possible.
  • A second aspect is support for selinux. Scripts have been placed into a separate /bin directory which is placed at the root of the plugin (i.e. REDMINE_ROOT/vendor/plugins/redmine_git_hosting/bin). A set of rake tasks have been added to assist in installing selinux tags and pre-building scripts in the bin directory.