Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

scala-ide/scala-ide.github.com

Repository files navigation

The website is rendered by github.

Testing

To test the website locally, usejekyll v1.0.2

To start the server locally, with automatic refresh on file modification:

jekyll serve --baseurl ""

Prepare Release Notes

Generally, we want to include information about which new features exist, how many bugfixes are there and how many commits were contributed by whom.

The stats about the number of bugfixes can be found on Assembla. We need to download a list of tickets that were closed after the day of the last release. Make sure that the data export includes theAssignedTo and theStatus field. After downloading the data, it can be analyzed with the following Scala program, which shows the author together with the count of rows where they are mentioned:

objectStatsextendsApp {valsrc= io.Source.fromFile("/path/to/fixed-tickets.csv").mkStringval (header, data)= {vald= src.split("\n").map(_.split(","))    (d.head, d.tail)  }valass=for (i<-0 until header.size)yield header(i)-> (for (j<-0 until data.size)yield data(j)(i))// "assigned_to_name" is the name of the datafield of the "AssignedTo" columnvalassignees= ass.find {case (field, _)=> field=="assigned_to_name" }.get._2valnames= assignees.groupBy(identity).map {case (name, ns)=> name-> ns.size  }valsortedNames= names.toList.sortBy(-_._2)  println(s"""|    |As for every release, we'll take a look at some statistics from our bug database.    |    |<pre>    |${data.length} tickets closed:    |${valstrs= sortedNames map {case (name, nr)s"$nr\t${if (name.isEmpty)"(unassigned)"else name}"      }      strs.mkString("\n")    }    |</pre>""".stripMargin)}

This program is not perfect, it assumes that the CSV file doesn't include commas in its data. If you see inconsistencies in the calculated output, its likely that such a comma exist. Either remove it manually from the CSV file or update the parsing to handle CSV correctly.

The stats about the number of contributed commits can be calculated with:

git shortlog -sn --no-merges <prev-release>..<current-release>

Unfortunately, the section about new features can not be automatically generated, but the changelog can, which helps in getting an overview about all changes. In the Scala IDE main repo, there is a script:

./GenChangeLog.bash <prev-release> <current-release>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors12


[8]ページ先頭

©2009-2025 Movatter.jp