diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ef56053a6..bd6ceb194b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased +### Added +- Extension point to add links to the repository cards from plug ins ([#1041](https://github.com/scm-manager/scm-manager/pull/1041)) + ## 2.0.0-rc5 - 2020-03-12 ### Added - Added footer extension points for links and avatar diff --git a/docs/v2/Release process.md b/docs/v2/Release process.md index 39c1e47298..3ebf091572 100644 --- a/docs/v2/Release process.md +++ b/docs/v2/Release process.md @@ -1,69 +1,42 @@ # How to release SCM-Manager v2 core -To release a new version of SCM-Manager v2 you have to do the following steps (replace placeholders `` and `` accordingly, eg. with `2.1.0` and `2.2.0-SNAPSHOT`): +To release a new version of SCM-Manager v2 you have to do the following steps (replace placeholders `` accordingly, eg. with `2.1.0`): ## Check out default branch -`hg checkout default` +Make sure you have no changes you want to keep! -## Set release version for maven artefacts: - -`mvn versions:set -DnewVersion= -DgenerateBackupPoms=false` - -## Set release version for Javascript artefacts: - -`yarn run set-version ` +``` +git fetch && git checkout default && git reset --hard origin/default +``` ## Modify Changelog Change "Unreleased" header in `CHANGELOG.md` to ` - ` +## Create release branch: + +`git checkout -b release/` + ## Commit version changes -`hg commit -m "Release version "` +``` +git add CHANGELOG.md +git commit -m "Adjust changelog for release " +``` -## Run last test locally +## Push release branch -`mvn clean install -Pit -DClassLoaderLeakPreventor.threadWaitMs=10` - -## Create tag - -`hg tag ""` - -## Push - -`hg push -b .` +`git push origin release/` ## Wait for Jenkins build -## Deploy release version +Jenkins will -This only works with OpenJDK 8! - -`mvn clean deploy -DperformRelease` - -# Release docker image - -``` -docker build . -t scmmanager/scm-manager: -docker push scmmanager/scm-manager: -``` - -## Set next development version for maven artefacts: - -`mvn versions:set -DnewVersion= -DgenerateBackupPoms=false` - -## Set next development version for Javascript artefacts: - -`yarn run set-version ` - -## Commit version changes - -`hg commit -m "Prepare for next development iteration"` - -## Push - -`hg push -b .` +- update `pom.xml` and `package.json` +- merge with master branch +- build and deploy everything +- set the new development version for the develop branch ## Make a party @@ -71,17 +44,27 @@ docker push scmmanager/scm-manager: To release a new version of a Plugin for SCM-Manager v2 you have to do the following steps (replace placeholder `` accordingly, eg. with `2.1.0`): +## Update to latest version + +Make sure you have no changes you want to keep! + +``` +git fetch && git checkout develop && git reset --hard origin/develop +``` + ## Set new version Edit `pom.xml`: - `version` and `scm.tag` have to be set to the new version. - ensure that all dependencies to other scm resources have released versions +- ensure `parent.version` points to stable release Edit `package.json`: - `version` has to be set to the new version. - ensure that all dependencies to other scm resources have released versions +- ensure the version of `@scm-manager/ui-plugins` points to the same version as `parent.version` in the `pom.xml` ## Modify Changelog @@ -104,11 +87,10 @@ git push origin develop ## Merge with master branch +The merge should be possible with a fast forward. If this fails, check for changes on the `master` branch that are not present on the `develop` branch. Merge these changes into the `develop` branch, first! + ``` -git checkout master -git pull -git merge develop -git push origin master +git checkout master && git pull && git merge develop --ff-only && git push origin master ``` ## Create and push tag @@ -131,4 +113,4 @@ Edit `package.json`: `version` has to be set to the new development version. ``` git commit -am "Prepare for next development iteration" git push origin develop -``` \ No newline at end of file +``` diff --git a/pom.xml b/pom.xml index a6a28ca542..d3301168cb 100644 --- a/pom.xml +++ b/pom.xml @@ -831,15 +831,15 @@ 5.2.0 - 1.7.25 + 1.7.30 1.2.3 3.0.1 2.1.1 - 4.4.1.Final + 4.4.2.Final 1.19.4 2.10.0 - 4.0 + 4.2.2 2.3.0 6.1.0.Final @@ -847,7 +847,7 @@ 1.6.2 - 9.4.22.v20191022 + 9.4.26.v20200117 9.4.22.v20191022 @@ -870,7 +870,7 @@ 8 UTF-8 SCM-BSD - + 1.2.0.Final diff --git a/scm-ui/ui-webapp/src/repos/components/list/RepositoryEntry.tsx b/scm-ui/ui-webapp/src/repos/components/list/RepositoryEntry.tsx index b0aba7cfb3..8f4f0c295a 100644 --- a/scm-ui/ui-webapp/src/repos/components/list/RepositoryEntry.tsx +++ b/scm-ui/ui-webapp/src/repos/components/list/RepositoryEntry.tsx @@ -3,6 +3,7 @@ import { Repository } from "@scm-manager/ui-types"; import { CardColumn, DateFromNow } from "@scm-manager/ui-components"; import RepositoryEntryLink from "./RepositoryEntryLink"; import RepositoryAvatar from "./RepositoryAvatar"; +import { ExtensionPoint } from "@scm-manager/ui-extensions"; type Props = { repository: Repository; @@ -47,6 +48,7 @@ class RepositoryEntry extends React.Component { {this.renderBranchesLink(repository, repositoryLink)} {this.renderChangesetsLink(repository, repositoryLink)} {this.renderSourcesLink(repository, repositoryLink)} + {this.renderModifyLink(repository, repositoryLink)} );