Uwe Schindler
0b517573a4
LUCENE-10342: Add logging to static initializers to warn users if unmapping or object size calculation does not work ( #572 )
...
Co-authored-by: Tomoko Uchida <tomoko.uchida.1111@gmail.com>
2021-12-29 18:18:21 +01:00
Dawid Weiss
5912e65434
LUCENE-9974: The test-framework module should apply the test ruleset for forbidden APIs. ( #153 )
2021-05-26 10:19:55 +02:00
Dawid Weiss
fd685682be
This removes the last of ant-compatibility hacks - cross-project dependency on test classes. Replaced with gradle's test fixture artifact sharing. Cleaned up spatial3d classes a bit too.
2021-03-30 12:35:33 +02:00
Dawid Weiss
53bea54669
LUCENE-9375: cleaning up post-split conditional build logic and solr refs. ( #22 )
2021-03-18 11:04:45 +01:00
Dawid Weiss
f7e42bdb35
LUCENE-9768: Add source sets for src/tools, clean up forbidden API and formatting errors ( #2361 )
2021-02-12 17:03:54 +01:00
Mike Drob
b335034615
Require Thread Names in Solr ( #2264 )
...
When we are creating a new thread we should give it a descriptive name and enforce this via ForbiddenAPIs. This doesn't apply to Runnable or Callable objects that we pass to an executor, since those should be getting named by the executor itself.
We don't require this in tests because the tests should be more self contained and there is less benefit in descriptive names. If somebody is already profiling a test, then they likely have the context to understand what the unnamed threads are doing, whereas a thread dump from a running Solr instance should have good thread names for everything. This is especially helpful when doing profiling, otherwise we end up with a bunch of Thread-# that are hard to tell apart and search on.
2021-01-28 15:04:15 -06:00
Uwe Schindler
469d742384
Remove the explicit dependency to "check", as fobiddenapis installs it automatically (especially for all source sets; if we want this explicit dependency, it should depend on 'forbiddenApis' not each task). In addition precommit, also adds it.
2020-09-03 17:50:57 +02:00
Dawid Weiss
3e47bfb7b4
Cleanup remaining scripts to use script-relative resource location.
2020-08-31 15:35:14 +02:00
Dawid Weiss
def82ab556
LUCENE-9435: Clean up ant compatability remnants in Gradle build
...
* Removing ant-only unused tasks.
* Correct message in TestVersion.java
* Remove unused file.
* Removing forbidden API rules for ant.
* Remove 'resolve' emulation.
* Move ecj-lint to task-definition-relative folder.
* Remove 'packaging' specification. It'll have to wait until proper new packaging is implemented for Solr distribution.
* Move render-javadoc tasks's files to task-relative location.
* Moved security manager policies and default JDK logging file to gradle's task relative locations.
* Removing obsolete ant tools. Moving check source patterns under gradle's folder.
* Correct paths.
* Correct property name in task selector.
2020-08-30 14:01:04 +02:00
Uwe Schindler
6abce32a3e
LUCENE-9479: Forbiddenapis & Gradle: Add commons-io bundled signatures ( #1780 )
2020-08-25 09:05:06 +02:00
Robert Muir
975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task
2020-01-27 12:05:34 -05:00
Robert Muir
8e357b167b
LUCENE-9180: dos2unix files that don't need dos line endings
2020-01-27 11:29:59 -05:00
Dawid Weiss
7a12c89ce6
Move precommit dependencies to precommit for clarity.
2020-01-08 14:20:16 +01:00
Dawid Weiss
797f571fc3
Hook up forbidden apis to precommit.
2020-01-03 15:35:15 +01:00
Dawid Weiss
85e0e4fb75
Add a workaround for the problem of forbiddenApis not running upon changing just the rules/ rulesets.
2019-12-03 18:41:11 +01:00
Dawid Weiss
6461909129
Port forbidden APIs. See gradlew :helpForbiddenApis to see how rules are applied automatically based on the set of dependencies of a project.
2019-12-03 14:40:35 +01:00