New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show git trailer #1169
Show git trailer #1169
Conversation
282d5f3
to
0a1cc29
Compare
992fedf
to
6fee31b
Compare
refactor ChangesetAuthor.tsx get interfaces right / fix unit test / cleanup fix table layout use Set constructor injection to bind the implementation for the new changesetTrailers API cleanup / update CHANGELOG.md cleanup fix formatting
Trailes are no persons, they have a person.
Doing so, the trailers are available for other plugins inspecting changesets, not only for the frontend.
The detection of trailers and removing them from the message should be in one place, not divided between classes.
7374fce
to
9af2bed
Compare
9af2bed
to
587345b
Compare
8b836dd
to
79c1057
Compare
We have to use a dedicated component because we have to use the translations from 'plugins', so that other plugins can contribute their own trailer types with their own descriptions.
Doing so will prevent empty collections being added to the trailers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scm-plugins/scm-git-plugin/src/main/java/sonia/scm/repository/GitChangesetConverter.java
Outdated
Show resolved
Hide resolved
scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx
Outdated
Show resolved
Hide resolved
scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx
Outdated
Show resolved
Hide resolved
scm-ui/ui-webapp/src/repos/components/changesets/ContributorTable.tsx
Outdated
Show resolved
Hide resolved
scm-webapp/src/main/java/sonia/scm/repository/ChangesetDescriptionTrailerProvider.java
Outdated
Show resolved
Hide resolved
One processor can be used to process multiple chagesets of one repository. Therefore each processing needs a new clean working environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not working when there are not trailers at all.
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
…-manager into feature/show-git-trailer
SonarCloud Quality Gate failed. 0 Bugs |
Proposed changes
Create changeset trailer from description and "committed by" tag from git. Show trailers on changeset details view in a table.
Your checklist for this pull request
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Checklist for branch merge request (not required for forks)