Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:03
    fthomas commented #2957
  • 10:55
    blue-tachikoma commented #2957
  • 06:44
    fthomas commented #2957
  • 01:11
    egaxhaj closed #2952
  • 01:10
    egaxhaj commented #2952
  • Feb 05 22:51
    blue-tachikoma opened #2957
  • Feb 05 11:34
    fthomas synchronize #2758
  • Feb 05 09:52
    codecov[bot] commented #2953
  • Feb 05 09:49
    codecov[bot] commented #2953
  • Feb 04 21:33
    danielleontiev commented #2953
  • Feb 04 21:33
    codecov[bot] commented #2953
  • Feb 04 21:33
    codecov[bot] commented #2953
  • Feb 04 21:33
    danielleontiev synchronize #2953
  • Feb 04 21:26
    fthomas synchronize #2065
  • Feb 04 21:26

    fthomas on scala3

    crossScalaVersions needs to be … (compare)

  • Feb 04 21:22
    fthomas synchronize #2065
  • Feb 04 21:22

    fthomas on scala3

    Remove duplicated setting (compare)

  • Feb 04 21:21
    fthomas synchronize #2065
  • Feb 04 20:44
    fthomas commented #2953
  • Feb 04 13:14
    danielleontiev commented #2953
Tobias Roeser
@lefou
@fthomas Sounds good.
Denis Mikhaylov
@notxcain
Hey! Do you know any reason why Scala Steward doesn't close open PR when a new version of dependency is available? We run scala steward using GH Actions.
Milan van der Meer
@milanvdm_hopper
Is there a way to 'reset' Scala Steward? As in, I would like to reopen PRs that have been closed manually and not merged.
1 reply
Declan
@d-g-n

afternoon all, been poking around a bit but couldn't find an answer to it so apologies if i've just missed it. i'm running a local copy of scala-steward periodically on AWS Codebuild against a range of private projects, all of these projects depend on one or more other libraries, problem being is that these libraries are deployed to an internal artifactory only accessible behind a certificate. normally we can just provide these certs via SBT_OPTS and a local run of sbt can find it just fine.

however, even with running scala-steward in TRACE mode and ensuring the correct SBT_OPTS are being passed through, i can't see a reference to these private dependencies nor any PR's raised for these dependencies anywhere, am i just missing something obvious here?

thanks

3 replies
Matthew de Detrich
@mdedetrich

I seem to be having an odd issue with scala-steward. I have just integrated it with an open source project and I am getting pull requests as you can see here aiven/guardian-for-apache-kafka#115 however it seems that any PR's created by scala-steward are failing github action's CI runs

I think the issue is that for some reason, githuba actions triggered by PR's created specifically by scala-steward don't seem to have access to secrets stored in environment variables (see https://github.com/aiven/guardian-for-apache-kafka/blob/main/.github/workflows/ci.yml#L17-L22)

2 replies
Sébastien Boulet
@gontard
Hello @fthomas, would it possible to release scala-steward:0.15.0? I would like to use the granular frequency control introduced in scala-steward-org/scala-steward#2515
Matthew de Detrich
@mdedetrich
Question, how often is Scala steward meant to update PR's if the main/master branch is updated? Scala Steward has opened a PR at aiven/guardian-for-apache-kafka#140 however I noticed that it hasn't updated the PR even though the branch is out of date with the main branch.
Naftoli Gugenheim
@nafg
It doesn't unless there's a merge conflict, IIUC
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
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