Skip to content
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

Questions around Contributing to the Repo #2132

Closed
Bartleby2718 opened this issue Feb 27, 2024 · 5 comments
Closed

Questions around Contributing to the Repo #2132

Bartleby2718 opened this issue Feb 27, 2024 · 5 comments
Assignees
Labels
Question This issue is requesting information about dotnet-format

Comments

@Bartleby2718
Copy link

I just encountered the same bug as in #2125. Given that VS is able to fix it, I don't think it's a Roslyn issue. I'd like to reproduce this by adding a test to this solution and hopefully fix it, but I'm having trouble setting this repo up locally.

The first thing I had to fix after cloning the repo locally was updating global.json to match my local .NET SDK version. The second thing was not being able to find Microsoft.DotNet.Arcade.Sdk, which I think will be fixed by following https://stackoverflow.com/a/65337211. Apparently I haven't spent too much time on this yet, but these issues make me wonder if there's any documentation on local dev setup.

Hence my questions:

  1. Do you have any documentation on local dev setup?
  2. Is there a list of issues that should be prioritized?
  3. How do you deploy/publish the changes? Is it automatically published upon merge to main?
  4. Are there any notes for contributors besides the Code of Conduct? For example, should the destination branch be main or some other release branch?

Thanks in advance!

@Bartleby2718
Copy link
Author

Some things I've done after posting:

At this point I think I was able to run tests, although one of them was failing.

@Bartleby2718
Copy link
Author

@sharwell @arkalyanms @JoeRobich?

@arunchndr arunchndr added the Question This issue is requesting information about dotnet-format label Mar 15, 2024
@arunchndr
Copy link
Member

@sharwell would you advise @Bartleby2718 on issue priority for contributions.

@Bartleby2718 main is the branch to target, but @Cosifne is moving this repo into the SDK repo as a part of dotnet/sdk#38857. So we are holding off on merging fixes until that PR lands.

@sharwell
Copy link
Member

@Bartleby2718 you shouldn't need to make any changes to the repository in order to build it. You will need to manually install the version of the .NET SDK listed in global.json for the commit you check out locally:

"version": "9.0.100-preview.1.24101.2",

If you cannot install that version, the repository should still build from the command line. It may not be possible to use the solution inside Visual Studio prior to dotnet/designs#303 being approved, implemented, and delivered.

.\Restore.cmd
.\Build.cmd
.\Test.cmd

@RussKie
Copy link
Member

RussKie commented May 6, 2024

You will need to manually install the version of the .NET SDK listed in global.json for the commit you check out locally:

@sharwell this is not true.
This repo is using the Arcade SDK, with that restore.cmd is downloading the required version of the SDK.
image

It may not be possible to use the solution inside Visual Studio prior to dotnet/designs#303 being approved, implemented, and delivered.

This is not entirely correct either.
You will need to add helper scripts (like many other dotnet repos have done) to launch both VS and VS Code with the repo's SDK. E.g.:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This issue is requesting information about dotnet-format
Projects
None yet
Development

No branches or pull requests

4 participants