Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:36
    armanbilge commented #2948
  • 03:32
    armanbilge opened #2948
  • Jan 28 21:34

    fthomas on bsp

    Ensure that we always use the l… (compare)

  • Jan 28 20:31

    fthomas on bsp

    Check if BSP server is a depend… (compare)

  • Jan 28 15:45

    fthomas on bsp

    Extract new method getBspDepend… (compare)

  • Jan 28 12:02

    fthomas on bsp

    Add BspServerType.ScalaCli (compare)

  • Jan 28 11:49

    fthomas on bsp

    Add BspServerType.Bazel (compare)

  • Jan 28 11:48
    fthomas commented #2640
  • Jan 27 19:54
    fthomas commented #2640
  • Jan 27 19:30

    fthomas on bsp

    WIP (compare)

  • Jan 27 19:28

    fthomas on bsp

    Disable BSP (compare)

  • Jan 27 19:22

    fthomas on bsp

    WIP 8 (compare)

  • Jan 27 19:18

    fthomas on bsp

    WIP 7 (compare)

  • Jan 27 15:11

    fthomas on bsp

    WIP5 WIP 6 (compare)

  • Jan 27 07:44
    fthomas labeled #2947
  • Jan 27 07:44
    fthomas opened #2947
  • Jan 27 07:12
    fthomas commented #2355
  • Jan 27 07:06
    fthomas commented #2355
  • Jan 27 06:14
    Javakky-pxv closed #2789
  • Jan 26 21:38

    fthomas on bsp

    WIP WIP2 WIP 3 and 2 more (compare)

Tobias Roeser
@lefou
You can add updatePullRequests = "always" to your .scala-steward.conf
Other valid settings are "on-conflicts" (the default) and "never"
Matthew de Detrich
@mdedetrich
OOh thanks, let me do that
Naftoli Gugenheim
@nafg
TIL :)
QuadStingray
@QuadStingray
Hi,
is it possible to define a branch like ‚dependencyUpdates‘ were every Update is pushed to?
2 replies
Amaal Ali
@amaalali

Hi Scala Steward team,

I'm looking at developing a version of Scala Steward that is run on a local repo and will create the PR with updates.

The use case that's motivating this is to solve the problem when an organisation doesn't want to use the
community Scala Steward and doesn't have the capacity or resources to run a self hosted version.

Is this something that a contribution that would be accepted?

blast_hardcheese
@blast_hardcheese:matrix.org
[m]
@amaalali: you can do this today, scala-steward runs in Docker, and if you supply your own credentials and a limited set of repos to run on, you could do this from your laptop with little to no effort
msolomon-ck
@msolomon-ck
Does anyone know how to set log level to DEBUG when using docker run? I have something like this which does not seem to be working, I'm still only seeing INFO level logs
#!/bin/sh

export STEWARD_DIR=~/sandbox/scala-steward
export LOGIN="xxx"
export EMAIL="xxx"

docker run -v $STEWARD_DIR:/opt/scala-steward -it fthomas/scala-steward:latest \
  --workspace  "/opt/scala-steward/workspace" \
  --repos-file "/opt/scala-steward/repos.md" \
  --repo-config "/opt/scala-steward/default.scala-steward.conf" \
  --git-author-email ${EMAIL} \
  --vcs-api-host "https://api.code.corp.xxx.com/" \
  --vcs-login ${LOGIN} \
  --git-ask-pass "/opt/scala-steward/.github/askpass/$LOGIN.sh" \
  --env-var "SBT_OPTS=-Xmx7168m -Xss1024m -XX:MaxMetaspaceSize=512m" \
  --env-var "JAVA_OPTS=-DLOG_LEVEL=DEBUG" \
  --do-not-fork \
  --disable-sandbox
1 reply
I'm definitely happy to make a PR to clarify this FAQ question when using docker run if needed https://github.com/scala-steward-org/scala-steward/blob/main/docs/faq.md#how-can-i-change-log-levels
Jeff May
@jeffmay
I have a workflow on my repo that is triggered by a push event to any branch. For some reason, one of the pull requests created by a scala-steward-action run did not automatically kick off my github workflows. Has this happened to anyone else? Is this a fluke? Or do I need to listen to pull_request events as well for scala-steward?
Kilic Ali-Firat
@alifirat
Hey the Steward community ! I would like to know if it's possible to express with the configuration file a rule like "only create PR when the patch version is bumped" with one line instead to do it by dependency ?
Filip Zybała
@pikinier20
Hello, how should I install GPG key to sign commits when using docker container?
Naftoli Gugenheim
@nafg
Hi, can anyone tell me why nafg/css-dsl#190 did not run sbt githubWorkflowGenerate?
Naftoli Gugenheim
@nafg
Also, since https://github.com/scala-steward-org/repos is archived, what does the VirtusLab instance use? Can OSS projects be added to it?
Naftoli Gugenheim
@nafg
This is even more mystifying: nafg/mergify-yaml#48
Khal!l
@redkhalil
image.png
I'm getting the above error using the default configuration specified at https://github.com/scala-steward-org/scala-steward-action#updating-multiple-repositories
Does anybody know how to fix this?
Naftoli Gugenheim
@nafg
Is there any way to get Scala Steward to redo an open PR, other than creating a merge conflict?
2 replies
For example, if something changed on master that would change the result of sbt githubWorkflowGenerate
Dave Kichler
@dkichler
Hi there, curious if there is any way to configure Scala Steward to revert an upgrade? or to effectively perform a downgrade?
Naftoli Gugenheim
@nafg
@dkichler just revert the PR on github
Dave Kichler
@dkichler
I wouldn't be using Scala Steward if I wanted to do all this myself ;P
(the operation in question needs to be applied to ~40+ repos)
Naftoli Gugenheim
@nafg
Ouch
Still, can you script it with the github CLI?
@dkichler
Markus Appel
@markusa380
I'm probably far from the first to ask this, but how can I troubleshoot a dependency update not getting picked up by Scala Steward?
Naftoli Gugenheim
@nafg
@markusa380 either open issue and they can check the logs, or try to run your own instance
Of course, first make sure that a clean clone of your repo loads.
Arunav Sanyal
@Khalian
How do I stop scala-steward updates of random github repositories show up in my main github page. Context: I added my project into scala steward repos and now my page is inundated with all sorts of dependency version updates to projects I have never even heard off. The only options I seem to have are "Block User" and "Report Abuse" neither of which I want to use.
Naftoli Gugenheim
@nafg
@Khalian not sure what you mean, can you share a link or a screenshot?
Arunav Sanyal
@Khalian
Screen Shot 2022-09-19 at 11.19.59 PM.png
Thats just one. My github page is flooded by these. I dunno if github is doing this or scala steward. The three dots on the side suggest either flagging scala steward for abuse or blocking the user entirely from contributing, neither of which I want.
Naftoli Gugenheim
@nafg
it's github
You're on the "For you (beta)" tab?
Arunav Sanyal
@Khalian
Yea I am. I presume that's gonna be completely cluttered with scala steward updates then?
Naftoli Gugenheim
@nafg
Click Filter at the top
Also Send feedback ;)
under Filter turn of Repositories seems to work for me
(I never use the main github page though)
Arunav Sanyal
@Khalian
@nafg Thanks. I think I am going to drop an issue somewhere for github for this.
Naftoli Gugenheim
@nafg
Or just don't use the "For you" tab
Click Send feedback ;)
It is Beta after all
But also, maybe scala steward could identify itself as a bot somehow
Markus Appel
@markusa380
So after looking at the code of Scala Steward, it looks like all it does is get libraryDependencies of the root project to look at - how can I make it update a subproject that the root project .dependsOn?
Naftoli Gugenheim
@nafg
@markusa380 that doesn't sound right
Markus Appel
@markusa380
@nafg I have a subproject that is only referenced through a .dependsOn in the root project. And it's dependency is not updated. And looking at the code I see no reason for it to be updated. I would like to be proven wrong of course.