Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 08 18:45
    fthomas milestoned #2758
  • Feb 08 18:45
    fthomas milestoned #2758
  • Feb 08 15:00
    fthomas commented #2065
  • Feb 08 15:00
    mergify[bot] closed #2962
  • Feb 08 15:00

    mergify[bot] on main

    Update fs2-core, fs2-io to 3.6.… (compare)

  • Feb 08 14:58
    codecov[bot] commented #2962
  • Feb 08 14:52
    fthomas synchronize #2065
  • Feb 08 14:52

    fthomas on scala3

    Add sbt-circe-org to the list o… Merge pull request #2958 from s… Update circe-config to 0.9.0 (#… and 3 more (compare)

  • Feb 08 14:52
    fthomas milestoned #2962
  • Feb 08 14:52
    fthomas milestoned #2962
  • Feb 08 14:51
    mergify[bot] labeled #2962
  • Feb 08 14:51
    scala-steward opened #2962
  • Feb 08 07:57
    fthomas ready_for_review #2758
  • Feb 08 07:52
    codecov[bot] commented #2758
  • Feb 08 07:50
    codecov[bot] commented #2758
  • Feb 08 07:43
    fthomas synchronize #2758
  • Feb 08 07:05

    mergify[bot] on main

    Update better-files to 3.9.2 (#… (compare)

  • Feb 08 07:05
    mergify[bot] closed #2960
  • Feb 08 07:04

    mergify[bot] on main

    Update circe-config to 0.10.0 (… (compare)

  • Feb 08 07:04
    mergify[bot] closed #2961
Naftoli Gugenheim
@nafg
Just closing and reopening a PR also updates it -- it will trigger CI to run with the updated future merge commit
Matthew de Detrich
@mdedetrich

I think github recently got a button to rebase a PR (without merging it in). If not and you have Mergify you can command it with a comment

Unfortunately I cannot do this because we have a rule on repository to only allow signed commits and rebasing someone else's PR removes the signing of the commit

I will see if closing and reopening the PR will work but there are going to be merge conflicts unless the branch that scala-steward created gets updated

Hmm wait, in my case there isn't any conflict
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