Skip to content

HBASE-22853 Git/Jira Release Audit Tool - #1088

Merged
ndimiduk merged 2 commits into
apache:masterfrom
ndimiduk:22853-git-jira-release-audit-tool
Jan 27, 2020
Merged

HBASE-22853 Git/Jira Release Audit Tool#1088
ndimiduk merged 2 commits into
apache:masterfrom
ndimiduk:22853-git-jira-release-audit-tool

Conversation

@ndimiduk

Copy link
Copy Markdown
Member

This is an application for performing an audit between the histories on our git branches and the fixVersion field set on issues in JIRA. It does this by building a Sqlite database from the commits found on each git branch, identifying Jira IDs and release tags, and then requesting information about those issues from Jira. Once both sources have been collected, queries can be performed against the database to look for discrepancies between the sources of truth (and, possibly, bugs in this script).

This is an application for performing an audit between the histories
on our git branches and the `fixVersion` field set on issues in
JIRA. It does this by building a Sqlite database from the commits
found on each git branch, identifying Jira IDs and release tags, and
then requesting information about those issues from Jira. Once both
sources have been collected, queries can be performed against the
database to look for discrepancies between the sources of truth (and,
possibly, bugs in this script).
@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Heads up release managers/Jira janitors -- @infraio@Apache9@busbey@apurtell@saintstack@joshelser

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 33sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗markdownlint0m 0smarkdownlint was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
_ Patch Compile Tests _
-1 ❌pylint0m 1sError running pylint. Please check pylint stderr files.
+1 💚pylint0m 1sThere were no new pylint issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+1 💚asflicense0m 20sThe patch does not generate ASF License warnings.
2m 6s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1088/1/artifact/out/Dockerfile
GITHUB PR#1088
Optional Testsdupname asflicense markdownlint pylint
unameLinux f59b29dd88c7 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1088/out/precommit/personality/provided.sh
git revisionmaster / eda5df7
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1088/1/artifact/out/patch-pylint-stderr.txt
Max. process+thread count51 (vs. ulimit of 10000)
modulesC: . U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1088/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) pylint=1.6.5
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@busbey

Copy link
Copy Markdown
Contributor

long term, this would make a nice contribution to Apache Yetus.

@busbeybusbey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one doc gap. looks great, let's give it a go.

Comment threaddev-support/git-jira-release-audit/README.md
@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Huh so the usage of pylint is broken in our personality?

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

long term, this would make a nice contribution to Apache Yetus.

I generally agree, but I wonder how much of this branching style is hbase-specific.

@joshelserjoshelser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor docs questions, but this looks great!

Comment threaddev-support/git-jira-release-audit/README.md
Comment threaddev-support/git-jira-release-audit/README.md

@virajjasanivirajjasani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool, +1 overall :)

@busbey

busbey commented Jan 27, 2020

Copy link
Copy Markdown
Contributor

long term, this would make a nice contribution to Apache Yetus.

I generally agree, but I wonder how much of this branching style is hbase-specific.

yeah, I'm totally on board with us using it locally here first and then seeing if it's suitable for others later.

Huh so the usage of pylint is broken in our personality?

shoot, is it? I wonder how long ago that happened. can someone get up a jira with a description and I'll try to find someone to chase it down?

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

Address PR feedback, burn down the pylint complaints.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

shoot, is it? I wonder how long ago that happened. can someone get up a jira with a description and I'll try to find someone to chase it down?

https://issues.apache.org/jira/browse/HBASE-23745

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 32sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗markdownlint0m 0smarkdownlint was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
_ Patch Compile Tests _
-1 ❌pylint0m 0sError running pylint. Please check pylint stderr files.
+1 💚pylint0m 0sThere were no new pylint issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+1 💚asflicense0m 18sThe patch does not generate ASF License warnings.
1m 51s
SubsystemReport/Notes
DockerClient=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1088/2/artifact/out/Dockerfile
GITHUB PR#1088
Optional Testsdupname asflicense markdownlint pylint
unameLinux abb235115cfb 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1088/out/precommit/personality/provided.sh
git revisionmaster / 375e01d
pylinthttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1088/2/artifact/out/patch-pylint-stderr.txt
Max. process+thread count51 (vs. ulimit of 10000)
modulesC: . U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1088/2/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) pylint=1.6.5
Powered byApache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@ndimiduk
ndimiduk merged commit 5bada0b into apache:masterJan 27, 2020
@ndimiduk
ndimiduk deleted the 22853-git-jira-release-audit-tool branch January 27, 2020 18:28
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
* HBASE-22853 Git/Jira Release Audit Tool
This is an application for performing an audit between the histories
on our git branches and the `fixVersion` field set on issues in
JIRA. It does this by building a Sqlite database from the commits
found on each git branch, identifying Jira IDs and release tags, and
then requesting information about those issues from Jira. Once both
sources have been collected, queries can be performed against the
database to look for discrepancies between the sources of truth (and,
possibly, bugs in this script).
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
thangTang pushed a commit to thangTang/hbase that referenced this pull request Apr 16, 2020
* HBASE-22853 Git/Jira Release Audit Tool
This is an application for performing an audit between the histories
on our git branches and the `fixVersion` field set on issues in
JIRA. It does this by building a Sqlite database from the commits
found on each git branch, identifying Jira IDs and release tags, and
then requesting information about those issues from Jira. Once both
sources have been collected, queries can be performed against the
database to look for discrepancies between the sources of truth (and,
possibly, bugs in this script).
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ndimiduk@Apache-HBase@busbey@joshelser@virajjasani