-
Notifications
You must be signed in to change notification settings - Fork 4
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
IA-1790 add list to GoogleTopicAdmin #377
Conversation
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.
Looks good overall. A few questions/comments/suggestions inline.
# If set to true, Scala Steward will attempt to update the scala version | ||
# Since this feature is experimental, the default is set to false | ||
# Default: false | ||
updates.includeScala = true |
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.
Do we really want Steward to PR Scala version updates?
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.
I think it'd be helpful. we can always revert if it becomes too much
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.
okay
google2/src/main/scala/org/broadinstitute/dsde/workbench/google2/GoogleSubscriptionAdmin.scala
Outdated
Show resolved
Hide resolved
# The dependencies which match the given version pattern are updated. | ||
# Dependencies that are not listed will be updated. |
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.
What does this comment correspond to?
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 file is copied from https://github.com/scala-steward-org/scala-steward/blob/04b9d423d4830f1fd86d680ecef2d6372c8ec937/docs/repo-specific-configuration.md.... I think the line is explaining about the attribute below, no?
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.
ah I see - the empty line (37) threw me off
# Default: @asap | ||
# | ||
#pullRequests.frequency = "0 0 ? * 3" # every thursday on midnight | ||
pullRequests.frequency = "15 days" |
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.
Does this mean we'll get PRs every 15 days? If so, I wonder if that'd increase the number of PRs we'll get at once, which may not be desirable since they may launch several integration test runs. It'd be nice to tell Steward to make a single PR with all version changes from the past n days but I couldn't see anything like that in the config.
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 wb-libs, hence no automation test involved...I think it's nice to have PRs at once so that someone can dedicate some time go through them all, and do a git shortlog --no-merges hash1..hash2
to collect all bumps in changelog
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.
ah right 👍
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.
👍 with one Scala Steward config line commenting question inline
# Default: @asap | ||
# | ||
#pullRequests.frequency = "0 0 ? * 3" # every thursday on midnight | ||
pullRequests.frequency = "15 days" |
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.
ah right 👍
.scala-steward.conf
Outdated
# | ||
# Each pattern must have `groupId`, and may have `artifactId` and `version`. | ||
# Defaults to empty `[]` which mean Scala Steward will update all dependencies. | ||
//updates.allow = [ { groupId = "com.example" } ] |
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.
Is commenting supposed to be via #
instead of //
?
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.
ooops...thanks!
# The dependencies which match the given version pattern are updated. | ||
# Dependencies that are not listed will be updated. |
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.
ah I see - the empty line (37) threw me off
# If set to true, Scala Steward will attempt to update the scala version | ||
# Since this feature is experimental, the default is set to false | ||
# Default: false | ||
updates.includeScala = true |
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.
okay
8620ec5
to
95e4a7a
Compare
b7c9eb9
to
8db0ebd
Compare
Codecov Report
@@ Coverage Diff @@
## develop #377 +/- ##
==========================================
Coverage ? 22.68%
==========================================
Files ? 76
Lines ? 1772
Branches ? 38
==========================================
Hits ? 402
Misses ? 1370
Partials ? 0 Continue to review full report at Codecov.
|
https://broadworkbench.atlassian.net/browse/IA-1790
Add steward config to control PR frequency
PR checklist
If you're doing a major or minor version bump to any libraries:
project/Settings.scala
createVersion()
CHANGELOG.md
for those libraries@deprecated
instead of deleting code where possibleIn all cases:
README.md
and theCHANGELOG.md
for any libs you changed withTRAVIS-REPLACE-ME
to auto-update the version string