Conversation
src/fsharp/FSharp.Core/Linq.fs
Outdated
There was a problem hiding this comment.
Why is there a difference here?
There was a problem hiding this comment.
you should download fsharp/fsharp#385 and do a file compare of src directory.
That change make easier to diff codebase, is harmless, i can remove it if not usefull enough
There was a problem hiding this comment.
We are happy to accept sensible whitespace cleanup, but if this type annotation isn't needed, the open repo should remove it.
|
btw, some files differ only because of encoding ( UTF-8 vs UTF-8 with bom, etc ), usually app.config or .resx files is this a good way to start merge some part of openfsharp repo? i think we can start diff files, split by features ( + test ) and send pr here, right? |
|
I am okay with pulling this request. Although I notice we have foo and bar in the test code. I will add an issue to remove those. I also wonder why it was necessary to modify the signature of EvaluateQuotation in fsharp/fsharp. |
There was a problem hiding this comment.
We can't change this back, as it introduces the string "barf" to the codebase. 😆 We had to change this prior to open sourcing on Codeplex because internal code scrub tools complained. Would recommend open edition repo accepts our version.
There was a problem hiding this comment.
@forki we ship products around the globe and have developed processes to protect us against inadvertently offending the sensibilities of our customers. Foo + Bar is one of the more minor examples of things we look for. Because it represents curse-words that some although not all may find offensive.
There was a problem hiding this comment.
I understand that, but this is a false positive. Changing code because a false positive of a tool is [insert curse-word] ;-)
There was a problem hiding this comment.
This particular one is about "barf", not foo+bar. IIRC, a surprisingly wide array of accidental bodily fluid references had to be removed... 💦
There was a problem hiding this comment.
but it's not "barf". it's "barfoobaz" ;-)
I don't thing this word exists at all. If your tool is complaining about infixes with barf then the german word "barfrau" (female barkeeper) would never be used inside of MS!?
There was a problem hiding this comment.
@latkin Am I right in assuming that e.g. isPermanent posed a problem? ;)
|
Seems like sensible cleanup for the most part. Only objections are the test string change and the type annotation - the version here should be ported to the open repo for those (unless the annotation is somehow required for mono?) @KevinRansom "foo" and "bar" are fine with PoliCheck, as long as they aren't together to make "foobar". No need to remove them AFAIK. |
|
Ok, i'll remove them from there and push it to open fsharp pr |
|
So I am seeing these 4 failures testing this PR that I don't recognize when I run the tests on the fsharp4 branch you can repro this by: cd tests and |
|
What does the failure log say? (in |
|
Hmm now they pass, I must have had a slight configuration issue: Sorry for the randomization |
|
@enricosada - good to have this, thanks |
|
Just a general Q, why not merge fharp/fsharp and Microsoft/visualfsharp together right now (other than barf and other profanities 😆)? It just seems like overhead? |
|
We will do what we can to align visualfsharp with the fsharp\fsharp repo, so long as it does not destabilize our process. Making the delta as small as possible seems like a good plan. I will leave maintenance or otherwise of the fsharp\fsharp repo to it's owners to decide about. However, I note that it has been a significant repo in the F# ecosystem and has served as the root of the cross platform development effort. It does not seem to me that it needs to go away, and the overhead of maintaining it can be made very small. |
|
i want to merge the two repo. this is the preliminary work, to easier understand the differences (to me and others). i'll add an issue with summary of all the differences, so we can split, review and import them one by one (easier iterative than big bang) |
0d40b70 to
ae8fd8d
Compare
|
fixed as comments (farbazz and useless signature) |
@KevinRansom see #90 , the |
|
Aligning the repos as closely as possible is very important and valuable work. I don't expect the repos to be fully merged any time soon. For starters, it is in the mission statement of the FSSF to maintain the fsharp/fsharp repo, and it is one way that the organization commits to the permanent open, cross-platform existence of F#. Also, the MS repo is just under different constraints - e.g. requiring a CLA. Finally, the fsharp/fsharp repo has traditionally done a few more things that VF# - e.g. cross-platform compiler and the FSharp.Core nuget packages are there. These technical things can gradually converge however. Cheers |
|
This is applied (GH doesn't auto-close until fix commit is merged to "primary" branch). |
|
@dsyme yes, maybe converge/align is better at explain what i am doing, instead of merge I dont want to discuss/change the current fork of repos, only port all (often small or cosmetics) changes so it is easier to diff repos |
this merge some changes from openfsharp repo
the whitespace cleanup is done to make easier to compare files of the openfsharp repo
now all differences with the src directory are pretty much bugfix, features or infrastructure
There is also the parallel pr fsharp/fsharp#385 to openfsharp repo