Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
More trace.

Add trace for test.

Add trace for test.

Revert "Remove old entries with same port in daemon registry"

This reverts commit d32d0b7e33660dfb1a94ae9eea8238c793a4243e.

This was supposed to be done on master.

  1. … 1 more file in changeset.
Remove old entries with same port in daemon registry

This fixes https://github.com/gradle/gradle/issues/12530

Previously, when two daemons happen to allocate the same port, they

will both exist in daemon registry file, and client might connect

to the wrong one. By default, MultiChoiceAddress doesn't equal to

each other even with same port. This PR removes the old entry by

port.

  1. … 1 more file in changeset.
Remove old entries with same port in daemon registry

This fixes https://github.com/gradle/gradle/issues/12530

Previously, when two daemons happen to allocate the same port, they

will both exist in daemon registry file, and client might connect

to the wrong one. By default, MultiChoiceAddress doesn't equal to

each other even with same port. This PR removes the old entry by

port.

  1. … 1 more file in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 664 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 906 more files in changeset.
Move Stat and Chmod to :files

  1. … 37 more files in changeset.
Move Stat and Chmod to :files

  1. … 37 more files in changeset.
Simplify launcher project structure

  1. … 568 more files in changeset.
Simplify launcher project structure

  1. … 568 more files in changeset.
Simplify launcher project structure

  1. … 566 more files in changeset.
Simplify launcher project structure

    • -0
    • +160
    ./DaemonInfo.java
    • -0
    • +53
    ./DaemonRegistry.java
    • -0
    • +217
    ./DaemonRegistryContent.java
    • -0
    • +68
    ./DaemonRegistryServices.java
    • -0
    • +132
    ./DaemonStopEvent.java
    • -0
    • +71
    ./DaemonStopEvents.java
    • -0
    • +251
    ./PersistentDaemonRegistry.java
  1. … 551 more files in changeset.
Simplify launcher project structure

  1. … 568 more files in changeset.
Simplify launcher project structure

  1. … 568 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 537 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

Let split launcher projects code be shipped in a fat jar

for backwards compatibility

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 541 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

Let split launcher projects code be shipped in a fat jar

for backwards compatibility

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 541 more files in changeset.
Convert net.jcip.annotations to javax.annotation.concurrent annotations

  1. … 67 more files in changeset.
Spelling (#8147)

Misspellings make it harder to search for things; they make it harder for people to understand code and descriptions; and sometimes they result in bugs.

This PR fixes quite a few typos.

  1. … 15 more files in changeset.
Simplify DaemonRegistryServices

  1. … 2 more files in changeset.
Simplify time handling internally and for build scans (#2857)

* Don't make TimeProvider Serializable.

This isn't safe and generally doesn't make sense.

* Extract and promote the concept of a build timer.

This was previously not well defined and being overlaid with the concept of when a user/tool requested something, which is not always the same thing.

* Pare down the deprecated org.gradle.util.Clock down to the minimum required.

Internal usage is replaced by a `getStartTime()` directly on BuildRequestContext.

What is left is only kept for backwards compatibility with scans.

* Rename TimeProvider to Clock.

* Move BuildExecutionTimer out of baseServices into core, and into a better package.

* Remove unused.

* Simplify the time package by merging types.

* Prevent the client's build started timestamp from being later than when the provider received the build request.

* Provide a dedicated mechanism for conveying the build start time to build scans.

* Consolidate the ways of formatting durations.

  1. … 179 more files in changeset.
Make observed wall clock timestamps monotonic and provide clock view for scans plugin (#2806)

Make Gradle's clock suitable for use by build scans.

- Guarantee that timestamps issued by the build runtime are monotonic

- Provide a dedicated view of the clock for build scans, allowing the name/shape of the internal clock to change later

  1. … 23 more files in changeset.
Move org.gradle.api.internal.cache to persistent-cache project

+review REVIEW-6562

  1. … 85 more files in changeset.
Move some of persistent-cache out of core

+review REVIEW-6562

  1. … 126 more files in changeset.
Removed `TimeProvider.getCurrentTimeForDuration()`

The `ReliableTimeProvider` now produces a ms timestamp that is usable

for durations, and `Timers.startTimer()` is best for calculating

relative times.

  1. … 12 more files in changeset.
Replace usages of org.gradle.api.Nullable

With javax.annotation.Nullable.

  1. … 460 more files in changeset.
Avoid creating unused output streams

IDs are advertised for [build invocation, workspace, user] to allow cross referencing invocations and linking invocations of the same user and workspace (#1963)

This commit also adds TaskStateInternal.getOriginBuildId() that advertises the ID of the build that produced the outputs that will be reused for the UP_TO_DATE and FROM_CACHE outcomes.

  1. … 68 more files in changeset.