Skip to content

Releases: jboss-set/bug-clerk

When the Water Breaks

14 Jan 14:47
Compare
Choose a tag to compare

Main Feature

  • expose processEntriesAndReportViolations and allow to only process issue entries
  • Upgrade drools to 7.15.0 to resolve issue DROOLS-3181

Liquid Tension Experiment - "When the Water Breaks" Live 2008

Another Dimension

29 May 14:34
Compare
Choose a tag to compare

Project build, dependency and documentation enhancements

  • Update to Aphrodite 0.7.4
  • Fix incosistent version in pom.xml
  • Add handy script to update version in all pom.xml consistently
  • Update jacoco to 0.8.1
  • Update update-rules script broken since refactoring introduced core and dist module
  • Update links to rule on README.md

Main Features

  • Check Request #41 - not allow multiple PRs against different repos.
  • Update Jacoco to 0.8.0
  • Bump threshold of HighPriorityIssueNotAssigned to higher than Major
  • Bump down BZShouldHaveTimeEstimate to TRIVIAL
  • Rework StringReportEngine to ignore TRIVIAL violation
  • Check Request - cross checks PR branch vs issue.tr+stream.component.branch
  • Check Request - check if stream status match between blocked/incorporated issues and parent.

Code enhancements and minor fixes

  • [#108] Simplified comment message to make the main issue more visible
  • [ISSUE_94] - fix mocks to test properly
  • Fix HighPriorityIssueNotAssigned format
  • Add constructor to allow building RuleEngine without an Aphrodite instance
  • Rename getPullRequests to avoid ambiguity
  • Adding missing test to TestSuite
  • Removes syserr statement
  • Don't null check Optional variable
  • Fix compilation error in Mockutils

Liquid Tension Experiment - Another Dimension

Chris and Kevin's Excellent Adventure

29 May 14:25
Compare
Choose a tag to compare

Tiny release (hence the rather ridiculous song to go along with it):

  • Update update-rules script broken since refactoring introduced core and dist module
  • Update links to rule on README.md
  • Refactor mockBug into MockBzIssue for clarity purpose

Another Dimension - Liquid Tension Experiment

Paradigm Shift

21 Dec 10:28
Compare
Choose a tag to compare

New checks and features

  • Check Request #29 - ComponentUpgrade ReadyForQA should only have JBEAP issue is the same state linked to it
  • Check Request #30 - Component Upgrade being modified after being set to ReadyForQE + refactor
  • Check Request #31 - A component upgrade issue is attached to the JBEAP issues associated to resolved issue with Fix Version
  • Check Request #32 - All issues on payload should have 3 acks
  • Check Request #33 - Only issues with QA ack can be worked on
  • Check Request #36 - Identify JBEAP issue with a PR not matching Target Release
  • Check Request #37 - Check if stream status match between blocked/incorporated issues and parent
  • Check Request #38 - Issue attached to payload but not assigned to anybody
  • Check Request #39 - Issue state is either MODIFIED or ASSIGNED after PR was closed
  • Check Request #40 - Issue in on the payload but is missing some acks
  • Bump down BZShouldHaveTimeEstimate to TRIVIAL
  • Rework StringReportEngine to ignore TRIVIAL violation
  • External Checks Loading
    ** Refactor RuleEngine into RulesEngine
    ** Add a test to ensure that external rule can be loaded
    ** Add --rules to pass checknames to Bugclerk

Code Clean and internals

  • Add constructor to allow building RuleEngine without an Aphrodite instance
  • Adding missing test to TestSuite
  • Rename getPullRequests to avoid ambiguity
  • Refactor mockBug into MockBzIssue for clarity purpose
  • Fix order of enums value in Severity
  • Refactoring code to build a small internal API about filtering issue based on event in their history. (Work in progress)
  • Refactor JiraChangelogHelpers - generify code and to allow reuse of methods isChangedAfterResolved with a different status
  • Code clean and refactor of RulesEngine
  • Misc code clean - init ArrayList to 0
  • Enhance how StringReportEngine format empty report
  • Ensure any Aphrodite based Exception is being catched and wrapped as IllegalState
  • Fix wrong nbViolation found output on sysout
  • Code clean: Refactor isReportToBz() to isReportViolation()
  • Bump drools to latest (community) BRMS release, plus switching Aphrodite to 0.7.2-SNAPSHOT
  • Refactor rule's helper method in separate class for cleaniness purpose

Build and dependencies

  • Enable enforcer plugin and fix dependencies management accordingly
  • Add .checkstyle file to .gitignore
  • Upgrade drools from 6.5 to 7.4.1
  • README & bash script fixes
  • Rollback Aphrodite to 0.7.0.Final due to unexplained issue at init
  • Change PMD config to be centralized into parent pom
  • Reorganised folders for submodules
  • Spitting pom into submodules
  • Move scripts to dist/ submodule

Paradigm Shift - Liquid Tension Experiment

Enter Sandman

17 Jul 14:07
Compare
Choose a tag to compare

Main Features

  • Check fix version changes once the sprint is up.
  • RFE - Allows Checks to load "on demand" issue (when analyzing one issue dependency)
  • Use repositories info from streams during PR links checks.
  • Check differences in sprint and fix versions between upgrade issue and its incorporates issues.
  • Detect fix version changes during sprint
  • Issue #43: Detect changes in issue once it is in resolved state.
  • Check Request #28 - check PR details with streams
  • Check if the PR urls are really correct PRs.
  • Add check to ensure upstream issue has the downstream_dependency.
  • Hang due to JSONException until Jenkins fixed

Code enhancements

  • Fix PMD violations.
  • Use optional instead of returning null and use collect in streams.
  • misc: fixup invalid position of 'static' keyword
  • Add the simpleContainer usage and add mocking of the issue.getProduct().
  • Move the getUpstreamReferences() to aphrodite.
  • Use minor severity for violation.
  • Fix checkstyle issues.

Project build and documentation enhancements

  • Update readme - fix markdown of the release process.
  • add .metadata to .gitignore
  • Update rules on readme.
  • Add more details to the release process
  • Update examples of usage in readme.
  • Add copyright to the FixVersionChangesDuringSprint.drl.
  • .gitignore: ignore *.json
  • Update checks list on README.md

Motörhead - Enter Sandman (Metallica Cover)

Sad But True

03 Feb 11:56
Compare
Choose a tag to compare

Main Changes

  • Extends AphroditeClient
    ** to provide access to JBoss Streams,
    ** but also to Pull Requests
    ** align behavior to BZ, pass Id, build URL from there
  • Pass Aphrodite as Drools globals
    ** allow rule to retrieve the AphroditeClient and perform data lookup
  • Use Aphrodite config file for authentification
    ** remove credentials (no more username/password)
    ** changed scripts to pass Aphrodite config instead

Refactoring and code enhancement

  • Refactor Violation to remove dependency to Candidate
  • Refactor Level into Severity plus add more levels
  • Rework Jira Test API
  • Removes sysout statement in test
  • Fix false+ on SummaryContainsPatchButTypeIsNotSupportPatch
  • Disable ComponentUpgradeTargetReleaseMismatch - too much false+
  • Do not use toString on FlagStatus, fixes #49
  • Attach the shaded jar as an extra artifact, fixes #47

Misc

  • Reduce Aphrodite page size as JIRA is often disconnecting when requesting more than 400 issues at once, sadly this change has no effect has Aphrodite is currently not using this setting.
  • Fix scripts to add '-shaded' to jarname
  • Update filter default it - current filter has been removed

Sad But True - Metallica

Overkill

03 Feb 11:49
Compare
Choose a tag to compare

New Features (Checks, fixes and enhancements)

  • Check Request #18: High Priority should not stay unassigned for too long
  • Check Request #19 - Payload upgrade issue should be linked to component fix
  • Check Request #20 - Milestone Sanity Checks
  • Check Request #27 - Component Upgrade Target Release Does Not Match Issue
  • Check Request #22 - If Issue has no upstream link this should be justified
  • Check Request #23 - SprintVersionMismatch, sprint guard against release version
  • Check Request #24 - Fix version and Sprint must match between siblings(Upgrade-component fixes)
  • Filter JIRAs issue that are resolved with:
    • CANNOT_REPRODUCE
    • REJECTED
    • DEFERRED
  • Fix BugClerkCLI (add missing aphrodite.close() causing it to hang)
  • Fix False+ in ReleaseVersionMismatch
  • Enhance ReleaseVersionMismatch to reduce False+
  • Enhance txt report display by adding issue summary
  • remove any character strings (such as EAP) from the release version to ensure it matches on numeric version (such as 6.4.0)
  • RFE#37 - disable some rule checking as per issue state

BUILD CHANGES

  • Update jboss-parent to latest
  • Fix url to project
  • Bump Aphrodite to 0.5.2.Final
  • Bump project version to 0.9.0-SNAPSHOT
  • Update Drools to 6.4.0.Final

REFACTORING AND INTERNAL CODE CHANGES

  • Small refactoring of unit test Mock API, to suppport better JIRA issue
  • move commodity method to CollectionUtils
  • Replace Collections.emptyList() with new ArrayList() as the later makes drools breaks unit test randomly
  • Add a releasesStreamMismatch method to RuleHelper
  • Add a commidity method asList to CollectionUtils
  • Modify mockBug to allow passing the URL directly, instead of the bugId
  • Index issue by URLs and Payload Tracker issue on import
  • allows checks to access other issue, to resolve or detect dependency consistency issue
  • add a lastWeek() method along with some code cleaning
  • Misc:
    • Removed unused local variable
    • Remove duplicate boolean stmt in ReleaseVersionMismatch check
    • Fix Javadoc syntax
    • Remove unused import

Scripts fixes

  • Fixes on run-on-bugid script:
    • add missing parameters for tracker creds
    • checks that BUGCLERK_HOME and BUGCLERK_VERSION have been defined
    • removed unused var
  • Fixes on filter-based-run:
    • Allows to override FILTER_ID in fi
    • Checks that BUGCLERK_VERSION has been set (filter-based-run)
    • Update default filter in filter-based-run.sh

Motörhead - Overkill

I Know You're ...

13 Apr 17:25
Compare
Choose a tag to compare
  • Fix message in BZDepsShouldAlsoHaveFlags checks
  • Bump to Aphrodite 0.4.1 to fix issues with missing comments with JIRA filter
  • Add unit test for the ViolationsReportAsCommentBuilder logic
  • makes addViolationToReportIfNotAlreadyReported() - mostly to allow unit testing
  • Add commodities method to MockUtils, along with switching default violation level to Error
  • Add commodity occurencesInString() to StringUtils
  • Add a jvm property to prevent updating the issue, to allow ease debugging against live trackers

Type O Negative - I Know You're...

Christian Woman

12 Apr 11:30
Compare
Choose a tag to compare

The main changes of this release is the update to Aphrodite 0.4.0, and thus providing a better support for JIRA issues. Complete list of changes below:

  • Update scripts to use JIRA by default
  • Replace "BZ" by "Issue" is check's message
  • Aphrodite API Changes
  • adding TrackerType to Issue
    • on handling releases
    • on estimation
    • reporter/assignee emails field
  • Fix issue in StringReports handling of StringBuffer leading to multiple occurences of the same issue
  • Ensure PostMissingPR ignores JBEAP issue (JIRA) issue
  • Fix MockUtils methods to follow Aphrodite API changes:
    • reporter and assignee are now User object, not just an email address
    • release has been changed to a List
  • Ensures Aphrodite resources are closed after retrieving payload
  • Ensure drools env is destroy once analysis finished - not just shelved
  • Bump Aphrodite to 0.4.0.FInal
  • Add tracker type param to script parameters

Type O Negative - Christian Woman

Green Man

12 Apr 12:04
Compare
Choose a tag to compare

Fixes comment report on issue being garbled and with each violation being reported several times.