Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9587022

Browse files
authored
Merge pull requestfsharp#809 from fsharp/dsyme-patch-1
Update README.md
2 parents63db27c +da32195 commit9587022

File tree

1 file changed

+68
-14
lines changed

1 file changed

+68
-14
lines changed

‎README.md‎

Lines changed: 68 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -194,21 +194,75 @@ If a strong-name signed FSharp.Core.dll is needed then use the one in
194194

195195
###Integrating changes from 'visualfsharp'
196196

197-
To integrate latest changes fromhttps://github.com/Microsoft/visualfsharp, use
198-
```
199-
git checkout -b integrate
200-
git remote add visualfsharp https://github.com/Microsoft/visualfsharp
201-
git pull visualfsharp master
202-
git rm -fr vsintegration
203-
git rm -fr setup
204-
git rm -fr tests/fsharpqa
205-
```
197+
To integrate latest changes fromhttps://github.com/Microsoft/visualfsharp, first understand that this repo is
198+
basically a cut-down version of "visualfsharp" with these (and other) files striped out:
199+
*`fcs`: these files are specific to the F# compiler service
200+
*`vsintegration` : this repos does not contain any of the Visual Studio IDE tooling
201+
*`tests/fsharpqa` : this repo does not undergo the full QA test process, so tests that are not run are stripped
202+
*`tests/service` : this repo does not run the FSharp.Compiler.Service tests
203+
*`setup`: these files are specific to the VS packaging of F#
204+
*`src/buildfromsource`: support for the .NET SDK build-from-source, not needed in this repo
205+
*`TESTGUIDE.md`: support for the .NET SDK build-from-source, not needed in this repo
206+
207+
To integrate latest changes fromhttps://github.com/Microsoft/visualfsharp, first fork + clone, then use
208+
209+
git checkout master
210+
git pull https://github.com/fsharp/fsharp master
211+
git checkout -b NAMEOFBRANCH
212+
213+
Choose a different branch name as necessary. Then choose a visualfsharp commit to integrate up to. Normally just try:
214+
215+
git pull https://github.com/Microsoft/visualfsharp master
216+
217+
but if you run into trouble reset and try again at a specific hash. Then remove stripped files:
218+
219+
git rm -fr vsintegration setup tests/fsharpqa tests/service TESTGUIDE.md src/buildfromsource*
220+
221+
then
222+
223+
git status
224+
225+
and resolve any remaining conflicts. Resolving conflicts should normally be easy, but anything in``Unmerged paths`` may need attention:
226+
* Files "deleted by us" indicate a stripped file has been changed. We don't care about those, so generally add them to the``git rm -fr`` line above, or``git rm -f`` them one by one.
227+
* Outright conflicts will need work and may indicate some change in this repository hasn't yet gone back to``visualfsharp``
228+
229+
One you're happy, commit any changes you needed to make
230+
231+
git commit -a -m "integration from visualfsharp master"
232+
git push origin NAMEOFBRANCH
233+
234+
then submit the PR to this repo calling it "integration from visualfsharp master" and wait until it's green.
235+
236+
**Tagging a release**
237+
238+
Add a tag by updating the version number in
239+
240+
mono\appveyor.ps1
241+
242+
and editing the release notes in
243+
244+
CHANGELOG-fsharp.md
245+
246+
either by a new PR or as part of the integration PR. Then apply the tag as follows (if you have push permission)
247+
248+
git tag YOURTAG
249+
git push https://github.com/fsharp/fsharp --tags
250+
251+
252+
**Releasing FSharp.Compiler.Tools nuget**
253+
254+
After the AppVeyor CI for the tag is green the Artifacts folder of the CI will contain the FSharp.Compiler.Tools nuget package release. You can download and push this package to nuget manually.
255+
256+
set APIKEY=...
257+
.nuget\nuget.exe push Downloads\FSharp.Compiler.Tools...nupkg %APIKEY% -Source https://nuget.org
258+
259+
We only generally push packages coming from AppVeyor CI and not locally built packages.
260+
261+
**Improving this**
206262

207-
There are certain guidelines that need to be followed when integrating changes from upstream:
208-
* this repository does not undergo the QA test process that upstream does, so the`tests/fsharpqa` folder and all files within should be removed when merging
209-
* this repository does not contain any of the Visual Studio tooling or integrations, so the`vsintegration` directory and all files within should be removed when merging
210-
* anything referencing`FSharp.LaunguageService.Compiler` is a Microsoft-internal version of the open FSharp.Compiler.Service repository, and should be removed when merging
211-
* Windows-specific scripts like`update.cmd` and`runtests.cmd` aren't used in this repository, and so should be removed when merging
263+
1. Work out how to fully automate easy integrations?
264+
2. Work out how to pick up the version tag rather than having it in`appveyor.ps1`?
265+
3. Automate more of the release process?
212266

213267
###Continuous Integration Build
214268

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp