Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:35
    codecov[bot] commented #1050
  • 11:34
    codecov[bot] commented #1050
  • 11:28
    codecov[bot] commented #1050
  • 11:28
    codecov[bot] commented #1050
  • 11:28
    manuelcueto synchronize #1050
  • 11:23
  • 11:22
    codecov[bot] commented #1050
  • 11:22
    codecov[bot] commented #1050
  • 11:22
    manuelcueto synchronize #1050
  • 10:08

    fthomas on master

    Use blue for informational badg… (compare)

  • Oct 18 21:41
    danbim starred fthomas/scala-steward
  • Oct 18 20:27

    fthomas on master

    Update README.md (compare)

  • Oct 18 20:14

    fthomas on master

    Update README.md (compare)

  • Oct 18 20:13

    fthomas on master

    Update README.md (compare)

  • Oct 18 19:29
    fthomas closed #1048
  • Oct 18 19:27
    fthomas milestoned #793
  • Oct 18 19:26

    fthomas on erroneous-cats-update

    (compare)

  • Oct 18 19:25
    fthomas closed #864
  • Oct 18 19:25

    fthomas on master

    Add 'moduleId' UpdateHeuristic … (compare)

  • Oct 18 19:25
    fthomas closed #793
Christopher Davenport
@ChristopherDavenport
However we use them to automate merging
Manu Zhang
@manuzhang
@fthomas https://github.com/gearpump/gearpump hasn't received update for a while. Could you please check ?
Torkel Rogstad
@torkelrogstad

It can’t due to api access to the remote repositories.

Dependabot by GitHub can do this: Suredbits/sb-api#23. Would something similar be possible here?

Frank S. Thomas
@fthomas
@torkelrogstad Dependabot can do this because it is a GitHub App and you've granted it permissions to do this. @scala-steward is not an app, but a regular GH user
Frank S. Thomas
@fthomas

@manuzhang It failed to update that repo with the following error:

2019-09-02 14:27:35,452 INFO  Process update com.github.ghik:{silencer-lib, silencer-plugin} : 1.3.1 -> 1.3.4 -> 1.4.2
2019-09-02 14:27:36,190 INFO  Found PR https://github.com/gearpump/gearpump/pull/2153
2019-09-02 14:27:36,225 ERROR ──────────── Nurture gearpump/gearpump ──────────── failed
java.io.IOException: 'git checkout update/silencer-lib-1.3.4' exited with code 1
error: pathspec 'update/silencer-lib-1.3.4' did not match any file(s) known to git.

The problem here is that the update/silencer-lib-1.3.4 branch was created in the upstream repo after the Scala Steward created its PR and it (currently) can't cope with that.

nafg
@nafg
Incidentally git has a concept "trailers" which IIUC is such key-value notation at the end of a commit message.
Frank S. Thomas
@fthomas
TIL
Pierre Ricadat
@ghostdogpr
@fthomas today there finally was some PRs from scala-steward for https://github.com/zio/zio-sqs, but still nothing for https://github.com/zio/zio-akka-cluster. Any chance you could have a look? Thanks!
Frank S. Thomas
@fthomas
@ghostdogpr I see that you already merged zio/zio-akka-cluster#18. Are you missing other updates?
Pierre Ricadat
@ghostdogpr
@fthomas yeah it came after my message. Nothing missing now, I don’t know why it didn’t send anything for 2 weeks
Pierre Ricadat
@ghostdogpr
I just got another PR so it looks ok 👌 Thanks for checking and for this nice tool (and also Refined, which is awesome)!
Frank S. Thomas
@fthomas
:+1: Thanks!
Manu Zhang
@manuzhang
@fthomas That was me testing with scala-steward. I've deleted all those branches. Will things start to work automatically ?
Frank S. Thomas
@fthomas
@manuzhang It seems it did.
Frank S. Thomas
@fthomas
Today is Scala Steward's first birthday: https://twitter.com/fst9000/status/1169525720516874240 :confetti_ball:
Andriy Plokhotnyuk
@plokhotnyuk
:birthday:
TATSUNO Yasuhiro
@exoego

I am buliding and running my own instance of Scala Steward for private repositories for 5-6 weeks.
From previous week, it started to fail with coursier.ResolutionException regarding org.scala-sbt:global-plugins.
My private project don't use it and it seems come from scala-steward.sbt.

[info] Loading settings for project global-plugins from scala-steward.sbt ...

Any ideas ?

2019-09-09 14:40:27,400 INFO  ──────────── Nurture my-company/some-project ────────────
2019-09-09 14:40:27,405 INFO  Clone and synchronize my-company/some-project 
2019-09-09 14:40:40,130 INFO  Find updates for my-company/some-project 
2019-09-09 14:40:40,266 INFO  Parsed RepoConfig(UpdatesConfig(List(),List(UpdatePattern(org.scala-js,Some(scalajs-stubs),None))),true)
2019-09-09 14:41:20,669 ERROR ──────────── Nurture my-company/some-project  ──────────── failed
java.io.IOException: 'sbt -batch -no-colors ;set every credentials := Nil;dependencyUpdates;reload plugins;dependencyUpdates' exited with code 1
[info] Loading settings for project global-plugins from scala-steward.sbt ...
[info] Loading global plugins from /home/vagrant/.sbt/1.0/plugins
[info] Compiling 1 Scala source to /home/vagrant/.sbt/1.0/plugins/target/scala-2.12/sbt-1.0/classes ...
[info] Done compiling.
[info] Loading settings for project some-project-build-build from plugins.sbt ...
[info] Loading project definition from /home/vagrant/workspace/repos/my-company/some-project/project/project
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
[info] Loading settings for project some-project-build from tmp-sbt-dep.sbt,build.sbt,plugins.sbt ...
[info] Loading project definition from /home/vagrant/workspace/repos/my-company/some-project/project
Downloading https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom.sha1
Downloading https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
...
[error] (coursierResolutions) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scala-sbt:global-plugins;sbtVersion=1.0;scalaVersion=2.12:0.0:
[error]         not found:
[error]             https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             /home/vagrant/.ivy2/local/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
Frank S. Thomas
@fthomas
@exoego scala-steward.sbt only contains sbt-updates and that didn't change last week. Could it be tmp-sbt-dep.sbt which now contains sbt 1.3.0 as dependency?
TATSUNO Yasuhiro
@exoego

Could it be tmp-sbt-dep.sbt which now contains sbt 1.3.0 as dependency?

It could be.
I have no idea what is org.scala-sbt:global-plugins things...

TATSUNO Yasuhiro
@exoego
BTW
The issue fixed somehow...
miguelpuyol
@miguelpuyol

Hi! First of all I wanted to thank you for the amazing tool!

After a few weeks trying to find time to test scala-steward at work, I finally got the time. However, we use Bitbucket Cloud and the documentation on how to run it is not there yet. Has anyone found how to set it up with private repos? I am trying with my individual repos as I do not want to mess with the company ones yet.

Thanks in advance!

I have something like this:

docker run -v $PWD:/opt/scala-steward -it fthomas/scala-steward:latest \
    --disable-sandbox \
    --env-var LOG_LEVEL=TRACE \
    --do-not-fork \
    --workspace "/opt/scala-steward/workspace" \
    --repos-file "/opt/scala-steward/repos.md" \
    --git-ask-pass "/opt/scala-steward/pass.sh" \
    --git-author-email "myemail@company.xyz" \
    --vcs-type "bitbucket" \
    --vcs-api-host "https://api.bitbucket.org/2.0" \
    --vcs-login "scala-steward"

And I have a repos.md with one repo listed and a pass.sh file that echoes the password of the scala-steward Bitbucket app password that I just created.

When I rut it the logs just say this:

2019-09-10 13:50:11,216 INFO  Add global sbt plugins
2019-09-10 13:50:11,257 INFO  Clean workspace /opt/scala-steward/workspace
2019-09-10 13:50:11,283 INFO  ──────────── Total time: run: 66ms ────────────

But nothing happens

Frank S. Thomas
@fthomas
@miguelpuyol My guess is that your repos file is not properly formatted.
miguelpuyol
@miguelpuyol
@fthomas Thanks for the tip. I forgot to add the organization! Thanks for the support! Awesome stuff
Frank S. Thomas
@fthomas
:+1:
Gavin Bisesi
@Daenyth

:wave:

What does steward do when you "request changes" on a PR? I've seen people do that but I haven't been able to find documentation about what it means

Frank S. Thomas
@fthomas
@Daenyth It doesn't do anything. I guess it is used as a signal for other maintainers that a PR can't be be merged as-is
Gavin Bisesi
@Daenyth
ahh ok
is there a way to make it re-push a PR? I had a mistake in my circleci config (not running for forks) and now I can't figure out how to manually trigger the build, since the PR branches aren't showing up in the dashboard.
not a /steward/ problem, but if I could make it update the commit then it would solve my issue
nafg
@nafg
@Daenyth try closing and reopening it
Frank S. Thomas
@fthomas
it won't update the PR unless there is a merge conflict
nafg
@nafg
How does it know there's a merge conflict, and will closing/reopening prevent it from detecting it?
Frank S. Thomas
@fthomas
it doesn't care if the PR is closed and reopened. Here is the code for detecting merge conflicts
Gavin Bisesi
@Daenyth
@nafg that might trigger circle.. hmm
let me see
hmm nope, needs a push
it's fine, I can just make a branch locally and push it
nafg
@nafg
oh well. It works for travis
when I had to update .travis.yml that made it pick it up too
I'm not sure how that's possible unless closing/reopening causes a potential rebase
Actually I think it's because travis tests the result of merging the branch, not the branch itself
@Daenyth does Circle do that? Because it's pretty important
Just because the branch passes CI doesn't mean that it will when merged, necessarily
Gavin Bisesi
@Daenyth
By default it tests the branch itself
Jeferson David Ossa
@jedossa

Hi everyone, I'm trying to run steward from a private repository in gitlab and I'm getting java.lang.Throwable: Unrecognized argument: -c just wondering if I'm missing something ... this is my gitlab-ci.yml

image: fthomas/scala-steward:latest

build:
  stage: build
  script:
    - docker run -it fthomas/scala-steward:latest \
      --disable-sandbox \
      --do-not-fork \
      --workspace "/workspace" \
      --repos-file "/repos.md" \
      --git-author-name "Scala Steward"
      --git-author-email my@email.com \
      --vcs-type "gitlab" \
      --vcs-api-host "https://gitlab.com/api/v4/" \
      --vcs-login "myUser" \
      --git-ask-pass "pass.sh"

Thanks in advance for any insights !

Frank S. Thomas
@fthomas
Hi @jedossa, a backslash is missing at the end of the --git-author-name line but I've no idea how this would lead to the Unrecognized argument: -c error. Can you paste the complete stack strace?
nafg
@nafg
I didn't know backslack was a YAML line continuation character