GitHub user conniey opened a pull request:
https://github.com/apache/lucenenet/pull/191
[WIP] Migrating Lucene.Net to .NET Core
There are a some changes I need to make/verify before this can be properly
merged.
- [ ] Verify all existing test suites
- [ ] Verify that existing Lucene.Net.sln builds (Alternative would be to
multi-target the .NET Core xproj to build .NET 451)
Migrate projects that were added since the migration effort started:
- [ ] Lucene.Net.Memory
- [ ] Lucene.Net.Misc
- [ ] Lucene.Net.QueryParser
- [ ] Lucene.Net.Suggest
- [ ] Lucene.Net.Tests.Memory
- [ ] Lucene.Net.Tests.Misc
- [ ] Lucene.Net.Tests.QueryParser
- [ ] Lucene.Net.Tests.Suggest
This can be built/tested `dotnet restore` at the repository level and then
building the solution Lucene.Net.Portable.sln. It requires .NET Core SDK 1.0.1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/conniey/lucenenet netcoremigration
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucenenet/pull/191.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #191
----
commit 25accbf944c78b3bfe96dfa6c71927cbc4c498b4
Author: Connie Yau <[email protected]>
Date: 2016-10-31T17:22:52Z
Adding migration to .NET Core
commit 9a40f92dbe8c6222a4267dc7145ac3909c86fa5e
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:46:10Z
Replace Thread.CurrentThread.CurrentCulture with CultureInfo.CurrentCulture
since gets the culture per thread, too
commit 2f61c01d65778ca3b93d728b9c834048e3a3e682
Author: Connie Yau <[email protected]>
Date: 2016-10-26T03:47:30Z
Changing Lucene.Net.Portable project.json to use NETstandard1.5 compatible
Microsoft.Extensions.DependencyModel
commit 9b8038a68555756231e577381c8ab73123ee032c
Author: Connie Yau <[email protected]>
Date: 2016-10-24T15:12:07Z
Lucene.Net.Core: Fixing merge errors
commit fb67155a875efe4093f444ba2054b6ed39e82f1d
Author: Connie Yau <[email protected]>
Date: 2016-10-20T17:07:05Z
Fixing errors when using ToString or Equals with InvariantCulture
commit cf0d0f5ab2157cd6dcaab83c677c081221af52d4
Author: Connie Yau <[email protected]>
Date: 2016-10-20T17:13:36Z
Using compiler preprocessors for ICloneable
commit 2dce8d92180076c2ada62bf304b8a65b17331c15
Author: Connie Yau <[email protected]>
Date: 2016-10-20T17:14:24Z
Changing ICU4NET usage to Icu
commit 330e091bbdb6cef1c1627029081532b5f969f133
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:28:21Z
Analysis.Common: Adding NETSTANDARD compiler preprocessor because
DesignerSerializationVisibility and Browsable are not supported
commit a615de2a1a52fd7d501cee4c9a0c934f583cc148
Author: Connie Yau <[email protected]>
Date: 2016-10-21T06:45:16Z
Analysis.Common: Close -> Dispose()
commit de816727c631c96866542ce4feab6ffc5e1de73c
Author: Connie Yau <[email protected]>
Date: 2016-10-21T06:46:22Z
Using compiler preprocessors for [Serializable]
commit eacf8fae016c3d2faad74eceaed4ce3fff67eb82
Author: Connie Yau <[email protected]>
Date: 2016-10-21T07:23:05Z
Analysis.Common: Removing ToString(InvariantCulture) for methods where it
does not change behaviour
commit dcc806d6b1621dbc0d659c5ff574e487b1012dc9
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:18:35Z
Adding compiler preprocessor FEATURE_XML_RESOLVER
commit 1082c170cb5a8ff223724df02f3c0c90f44457be
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:29:08Z
Analysis.Common: Adding NETSTANDARD compiler preprocessor
commit 1b49544046a3666dfa35accbdd564c13ef5fca6c
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:29:35Z
Analysis.Common: Fixing ToUpper/ToLower(CultureInfo) issues
commit d8ab744176dfcef72ed1ee78162db938ee26e58d
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:36:53Z
Analysis.Common: Fixing Reflection errors with GetTypeInfo
commit d069e040e291052bb785b6068daddb949a84a5a6
Author: Connie Yau <[email protected]>
Date: 2016-10-21T16:39:22Z
Analysis.Common: Fixing GetUnicodeCategory issues with CharUnicodeInfo
commit 2a1275513ef0d304c3ff048d8478dc256df66327
Author: Connie Yau <[email protected]>
Date: 2016-10-21T18:41:21Z
Lucene.Net.TestFramework: TimeZone -> TimeZoneInfo
commit 812a24da36797a6b73451fef1e9992815a034055
Author: Connie Yau <[email protected]>
Date: 2016-10-21T18:42:42Z
Lucene.Net.TestFramework: Switching from [Timeout] to [MaxTime]
commit 0f95ad3b00f228a413e28b2e7f5ae802b4fa0c1a
Author: Connie Yau <[email protected]>
Date: 2016-10-21T18:44:18Z
Lucene.Net.TestFramework: [Serializable] using .netstandard compiler
preprocessor
commit c38df152ab43477a8c884aac49822bc1243af698
Author: Connie Yau <[email protected]>
Date: 2016-10-23T21:31:52Z
Lucene.Net.TestFramework: Fixing merge conflicts
commit 46915060cf2b9eb617a9915501ad9150dda46e7e
Author: Connie Yau <[email protected]>
Date: 2016-10-23T21:40:26Z
Lucene.Net.TestFramework: Changing from StreamReader to StringReader
commit 7a080f97f925ef4f6280f05062f4334df18a83e5
Author: Connie Yau <[email protected]>
Date: 2016-10-23T21:41:14Z
Lucene.Net.TestFramework: Changing to use GetTypeInfo()
commit 0c869d3aad0c069f5a844b16942642cce9e2673a
Author: Connie Yau <[email protected]>
Date: 2016-10-23T21:43:20Z
Lucene.Net.Tests: Changing from NUnit's Timeout to MaxTime
commit f59e9379f545ec4d638d588d0dcefe2e7b6aa3d8
Author: Connie Yau <[email protected]>
Date: 2016-10-24T15:05:55Z
Lucene.Net.Tests: Fixing build failures from merge
commit e1cf43d98c0a66c0c21a3a08ab92a6b065e1a08f
Author: Connie Yau <[email protected]>
Date: 2016-10-24T20:46:51Z
Lucene.Net.Tests: Fixing #NETCORE -> NETSTANDARD
commit b694f653beb936079b8e73eda1377d0e52cc57ff
Author: Connie Yau <[email protected]>
Date: 2016-10-25T15:30:09Z
Lucene.Net.Tests: Adding NETSTANDARD compiler preprocessor
commit 530a4a55191c60d7e36f03fb91dde61214d2f022
Author: Connie Yau <[email protected]>
Date: 2016-10-26T03:05:52Z
Lucene.Net.Tests: Using PInvoke to fetch all cultures
commit efe2cd317bf2f87baaf73a63fd0b433dbe218b4d
Author: Connie Yau <[email protected]>
Date: 2016-10-26T03:09:09Z
Lucene.Net.Tests: Small merge fixes
commit 9b2acbf319f7f9d3794f608d3b707de5bf5a755e
Author: Connie Yau <[email protected]>
Date: 2016-10-26T03:18:50Z
Reverting all projects to netstandard1.5
commit 1eef1a31066f2cfd627478c70ec204af717f4cb8
Author: Connie Yau <[email protected]>
Date: 2016-10-26T03:19:31Z
Lucene.Net.Tests.Facet: Using NETSTANDARD compiler preprocessor
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---