Skip to content

Commit 60e8fce

Browse files
authored
[GW-5650] Remove text mentioning JIRA (#5672)
1 parent af823cd commit 60e8fce

File tree

5 files changed

+8
-121
lines changed

5 files changed

+8
-121
lines changed

README.rst

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -171,52 +171,13 @@ an example application `here <https://github.com/h2oai/h2o-droplets/tree/master/
171171
Contributing
172172
~~~~~~~~~~~~
173173

174-
Look at our `list of JIRA
175-
tasks <https://0xdata.atlassian.net/projects/SW/issues>`__ or send your idea to [email protected].
174+
Just drop us a PR!
175+
For inspiration look at our `list of issues <https://github.com/h2oai/sparkling-water/issues/new/choose>`__, feel free to create one.
176176

177177
Filing Bug Reports and Feature Requests
178178
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
179179

180-
You can file a bug report of feature request directly in the Sparkling Water JIRA page at `http://jira.h2o.ai/ <https://0xdata.atlassian.net/projects/SW/issues>`__.
181-
182-
1. Log in to the Sparkling Water JIRA tracking system. (Create an account if necessary.)
183-
184-
2. Once inside the home page, click the **Create** button.
185-
186-
.. figure:: /doc/src/site/sphinx/images/jira_create.png
187-
:alt: center
188-
189-
3. A form will display allowing you to enter information about the bug or feature request.
190-
191-
.. figure:: /doc/src/site/sphinx/images/jira_new_issue.png
192-
:alt: center
193-
194-
Enter the following on the form:
195-
196-
- Select the Project that you want to file the issue under. For example, if this is an open source public bug, you should file it under **SW (SW)**.
197-
- Specify the Issue Type. For example, if you believe you've found a bug, then select **Bug**, or if you want to request a new feature, then select **New Feature**.
198-
- Provide a short but concise summary about the issue. The summary will be shown when engineers organize, filter, and search for Jira tickets.
199-
- Specify the urgency of the issue using the Priority dropdown menu.
200-
- If there is a due date specify it with the Due Date.
201-
- The Components drop down refers to the API or language that the issue relates to. (See the drop down menu for available options.)
202-
- You can leave Affects Version/s, Fix Version\s, and Assignee fields blank. Our engineering team will fill this in.
203-
- Add a detailed description of your bug in the Description section. Best practice for descriptions include:
204-
205-
- A summary of what the issue is
206-
- What you think is causing the issue
207-
- Reproducible code that can be run end to end without requiring an engineer to edit your code. Use {code} {code} around your code to make it appear in code format.
208-
- Any scripts or necessary documents. Add by dragging and dropping your files into the create issue dialogue box.
209-
210-
You can be able to leave the rest of the ticket blank.
211-
212-
4. When you are done with your ticket, simply click on the **Create** button at the bottom of the page.
213-
214-
.. figure:: /doc/src/site/sphinx/images/jira_finished_create.png
215-
:alt: center
216-
217-
After you click **Create**, a pop up will appear on the right side of your screen with a link to your Jira ticket. It will have the form `https://0xdata.atlassian.net/browse/SW-####`. You can use this link to later edit your ticket.
218-
219-
Please note that your Jira ticket number along with its summary will appear in one of the Jira ticket slack channels, and anytime you update the ticket anyone associated with that ticket, whether as the assignee or a watcher will receive an email with your changes.
180+
You can file a bug report of feature request directly in Github Issues `Github Issues <https://github.com/h2oai/sparkling-water/issues/new/choose>`__.
220181

221182
Have Questions?
222183
~~~~~~~~~~~~~~~

ci/Jenkinsfile-release

Lines changed: 1 addition & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -109,88 +109,14 @@ String getPatchVersion(params) {
109109
return "${split[1]}".toString()
110110
}
111111

112-
def getJIRAsForReleaseNotes(versionNoSparkSuffix) {
113-
def hideInReleaseNotesField = "customfield_12621"
114-
def rawJson = "https://0xdata.atlassian.net/rest/api/2/search?jql=fixVersion=${versionNoSparkSuffix}".toURL().text
115-
def jsonSlurper = new JsonSlurperClassic()
116-
def json = jsonSlurper.parseText(rawJson)
117-
def filtered = json.issues.findAll { issue ->
118-
issue.fields[hideInReleaseNotesField] == null
119-
}
120-
def issueMap = [:]
121-
filtered.each { issue ->
122-
def issueType = issue.fields["issuetype"].name
123-
if (!issueMap.containsKey(issueType)) {
124-
issueMap.put(issueType, [])
125-
}
126-
def summary = issue.fields["summary"]
127-
def key = issue.key
128-
issueMap.get(issueType).add(new groovy.lang.Tuple2(key, summary))
129-
}
130-
return issueMap
131-
}
132-
133-
def releasedJIRAsToString(versionNoSparkSuffix) {
134-
def issueMap = getJIRAsForReleaseNotes(versionNoSparkSuffix)
135-
issueMap.keySet().collect { issueType ->
136-
def header = "\n- ${issueType}\n"
137-
def issues = issueMap.get(issueType)
138-
def issueLines = issues.collect { issue ->
139-
def key = issue.get(0)
140-
def summary = issue.get(1)
141-
" - `${key} <https://0xdata.atlassian.net/browse/${key}>`__ - ${summary}"
142-
}
143-
([header] + issueLines).join("\n")
144-
}.join("\n") + "\n\n"
145-
}
146-
147112
def currentDate() {
148113
def date = new Date()
149114
def sdf = new SimpleDateFormat("yyyy-MM-dd")
150115
return sdf.format(date)
151116
}
152117

153118
def prepareReleaseNotes(sparkMajorVersions, commons) {
154-
def versionNoSparkSuffix = getVersionNoSuffix()
155-
def path = getS3Path()
156-
def links = sparkMajorVersions.collect { majorVersion ->
157-
" - for Spark ${majorVersion}: `http://h2o-release.s3.amazonaws.com/sparkling-water/spark-${majorVersion}/${path}${versionNoSparkSuffix}-${majorVersion}/index.html <http://h2o-release.s3.amazonaws.com/sparkling-water/spark-${majorVersion}/${path}${versionNoSparkSuffix}-${majorVersion}/index.html>`__"
158-
}
159-
def versionLine = "v${versionNoSparkSuffix} (${currentDate()})"
160-
def underscores = "-".multiply(versionLine.length())
161-
def newReleaseNotes =
162-
[versionLine, underscores, "Downloads:\n", links.join("\n"), releasedJIRAsToString(versionNoSparkSuffix)].join("\n")
163-
commons.withGitPushCredentials {
164-
dir("doc/") {
165-
writeFile file: "release_notes", text: newReleaseNotes
166-
sh """
167-
# Insert the release notes
168-
sed -i "3r release_notes" CHANGELOG.rst
169-
rm -rf release_notes
170-
171-
git add CHANGELOG.rst
172-
git config remote.origin.url "https://${GITHUB_TOKEN}@github.com/h2oai/sparkling-water.git"
173-
git commit -m "Release notes for ${versionNoSparkSuffix}"
174-
git push --set-upstream origin ${BRANCH_NAME}
175-
176-
# Update MASTER as well
177-
LAST_COMMIT=`git rev-parse HEAD`
178-
git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
179-
git fetch --no-tags
180-
git checkout master
181-
git pull
182-
git checkout -b "master-changelog-${versionNoSparkSuffix}-\${LAST_COMMIT}"
183-
git cherry-pick -n \$LAST_COMMIT
184-
git commit -m "Update ChangeLog"
185-
git push --set-upstream origin master-changelog-${versionNoSparkSuffix}-\${LAST_COMMIT}
186-
187-
wget https://github.com/github/hub/releases/download/v2.5.1/hub-linux-amd64-2.5.1.tgz
188-
tar -xvf hub-linux-amd64-2.5.1.tgz
189-
./hub-linux-amd64-2.5.1/bin/hub pull-request -m "Update ChangeLog"
190-
git checkout ${env.BRANCH_NAME}
191-
"""
192-
}
193-
}
119+
// TODO https://github.com/h2oai/sparkling-water/issues/5650
194120
}
195121

196122
def updateNexRelVersion(params, commons) {

gradle/publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def getPomSpecification() {
3131
developerConnection = 'scm:git:[email protected]:h2oai/sparkling-water.git'
3232
}
3333
issueManagement {
34-
system = 'Jira'
35-
url = 'http://jira.h2o.ai'
34+
system = 'Github'
35+
url = 'https://github.com/h2oai/sparkling-water/issues/new/choose'
3636
}
3737
developers {
3838
developer {

r-cran/src/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LazyData: true
3030
NeedsCompilation: no
3131
SystemRequirements: Java (>6)
3232
URL: https://github.com/h2oai/sparkling-water/tree/master/r
33-
BugReports: http://jira.h2o.ai
33+
BugReports: https://github.com/h2oai/sparkling-water/issues/new/choose
3434
RoxygenNote: 7.0.2
3535
Depends:
3636
R (>= 2.10)

r/src/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ LazyData: true
3030
NeedsCompilation: no
3131
SystemRequirements: Java (>6)
3232
URL: https://github.com/h2oai/sparkling-water/tree/master/r
33-
BugReports: http://jira.h2o.ai
33+
BugReports: https://github.com/h2oai/sparkling-water/issues/new/choose
3434
RoxygenNote: 7.0.2
3535
Depends:
3636
R (>= 2.10)

0 commit comments

Comments
 (0)