-
Notifications
You must be signed in to change notification settings - Fork 497
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
Instructions on how to run manually for private project? #48
Comments
Yes, this should be easy with a small code change. Here is what you'd need to do:
If you try this, let me know if it works. And I'm open to make this whole process as easy as possible. |
One thing I forgot: change the committer name and email in It would be nice if we could at some point configure these with PureConfig. |
There is now a |
I tried this out. By default a fork is made of the project under the specified username, for our setup cloning and then raising the PR directly would be preferred. |
@Philippus Thanks for your feedback! Creating PRs without forking only works if the bot account has write access to the repos it updates, right? So it is unlikely that I'll implement this myself since I'm only operating Scala steward for public repos for which the bot has no write access. |
Note that #148 changed how the GiHub password / access token is passed to Git. The configuration of a token file has been replaced by an askpass program that Git invokes to retrieve the password. |
#161 allows to pass configuration parameters as command-line options. So scala-steward does not need to be recompiled to change the configuration. |
What about just running it on a local project on my laptop? Specifically the logic that modifies the .sbt files. |
scala-steward is not designed to run on single projects. I think the best option here would be to create some kind of sbt-steward plugin that shares the logic for modifying source files with scala-steward. If you'd like to work on this, I could create appropriate repos at https://github.com/scala-steward-org |
How coupled is the code right now? If the code is refactored so that part
is easy to move out, I could see myself doing it one day...
…On Fri, Feb 1, 2019, 3:15 PM Frank S. Thomas ***@***.***> wrote:
scala-steward is not designed to run on single projects. I think the best
option here would be to create some kind of sbt-steward plugin that shares
the logic for modifying source files with scala-steward. If you'd like to
work on this, I could create appropriate repos at
https://github.com/scala-steward-org
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGAUFKoQ-ZGfpQCev1WlLnMVgKojVdXks5vJKBPgaJpZM4W4s4w>
.
|
I'd say it is already easy to move that part out. All the logic that modifies source code is currently in |
It seems as though
is no longer required as well |
I'm starting to attempt to run this against our internal GHE repos -- two issues:
because we're
gets us back to
|
Oh, of course. I missed the leading |
Ah, and the last issue was my |
I believe I'm having the same issue. @blast-hardcheese looking forward to your README update! |
Hi, first thx for this great tool. I would be interested to understand how this would work with private repos, specially how would it fork? Is there any plan so that the PR would be push directly on the original repo (w/ appropriate permissions) ? |
@cchantep You have two options.
|
We use a repo with a git submodule to avoid repo interactions. |
Thx @fthomas, second option seems fine for private enterprise repos. |
Have create a PR with some suggestion for the related documentation. BTW is there any way/plan to support repository where SBT is not setup at the root of the repo? |
Fixed by #683. |
I'd like to use this on my company's codebase to help save maintenance time. Is that possible?
The text was updated successfully, but these errors were encountered: