From f6c98f69b9848f7b441fa951c853e5ad1a92faa4 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Wed, 16 Nov 2016 10:52:42 +0000 Subject: [PATCH] Organise contraband descriptor by package name & alphabetically --- .../src/main/datatype/librarymanagement.json | 861 +++++++++--------- 1 file changed, 431 insertions(+), 430 deletions(-) diff --git a/librarymanagement/src/main/datatype/librarymanagement.json b/librarymanagement/src/main/datatype/librarymanagement.json index 940f65d2d..994dba15e 100644 --- a/librarymanagement/src/main/datatype/librarymanagement.json +++ b/librarymanagement/src/main/datatype/librarymanagement.json @@ -2,6 +2,48 @@ "codecNamespace": "sbt.librarymanagement", "fullCodec": "LibraryManagementCodec", "types": [ + { + "name": "Artifact", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "parents": "sbt.librarymanagement.ArtifactExtra", + "fields": [ + { "name": "name", "type": "String" }, + { "name": "type", "type": "String", "default": "Artifact.DefaultType", "since": "0.0.1" }, + { "name": "extension", "type": "String", "default": "Artifact.DefaultExtension", "since": "0.0.1" }, + { "name": "classifier", "type": "String?", "default": "None", "since": "0.0.1" }, + { "name": "configurations", "type": "sbt.librarymanagement.Configuration*", "default": "Vector.empty", "since": "0.0.1" }, + { "name": "url", "type": "java.net.URL?", "default": "None", "since": "0.0.1" }, + { "name": "extraAttributes", "type": "Map[String, String]", "default": "Map.empty", "since": "0.0.1" } + ], + "parentsCompanion": "sbt.librarymanagement.ArtifactFunctions" + }, + { + "name": "ArtifactTypeFilter", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": "Work around the inadequacy of Ivy's ArtifactTypeFilter (that it cannot reverse a filter)", + "parents": "sbt.librarymanagement.ArtifactTypeFilterExtra", + "fields": [ + { + "name": "types", + "doc": [ + "Represents the artifact types that we should try to resolve for (as in the allowed values of", + "`artifact[type]` from a dependency `` section). One can use this to filter", + "source / doc artifacts." + ], + "type": "Set[String]" + }, + { + "name": "inverted", + "doc": [ "Whether to invert the types filter (i.e. allow only types NOT in the set)" ], + "type": "boolean" + } + ], + "parentsCompanion": "sbt.librarymanagement.ArtifactTypeFilterFunctions" + }, { "name": "Caller", "namespace": "sbt.librarymanagement", @@ -18,6 +60,222 @@ ], "toString": "s\"$caller\"" }, + { + "name": "Configuration", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": "Represents an Ivy configuration.", + "parents": "sbt.librarymanagement.ConfigurationExtra", + "fields": [ + { "name": "name", "type": "String" }, + { "name": "description", "type": "String", "default": "\"\"", "since": "0.0.1" }, + { "name": "isPublic", "type": "boolean", "default": "true", "since": "0.0.1" }, + { "name": "extendsConfigs", "type": "sbt.librarymanagement.Configuration*", "default": "Vector.empty", "since": "0.0.1" }, + { "name": "transitive", "type": "boolean", "default": "true", "since": "0.0.1" } + ], + "toString": "name" + }, + { + "name": "ConfigurationReport", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": [ + "Provides information about resolution of a single configuration." + ], + "parents": "sbt.librarymanagement.ConfigurationReportExtra", + "fields": [ + { "name": "configuration", "type": "String", "doc": [ "the configuration this report is for." ] }, + { + "name": "modules", + "type": "sbt.librarymanagement.ModuleReport*", + "doc": [ + "a sequence containing one report for each module resolved for this configuration." + ] + }, + { + "name": "details", + "type": "sbt.librarymanagement.OrganizationArtifactReport*", + "doc": [ "a sequence containing one report for each org/name, which may or may not be part of the final resolution." ] + } + ] + }, + { + "name": "ConflictManager", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": "See http://ant.apache.org/ivy/history/latest-milestone/settings/conflict-managers.html for details of the different conflict managers.", + "fields": [ + { "name": "name", "type": "String" }, + { "name": "organization", "type": "String", "default": "\"*\"", "since": "0.0.1" }, + { "name": "module", "type": "String", "default": "\"*\"", "since": "0.0.1" } + ], + "parentsCompanion": "sbt.librarymanagement.ConflictManagerFunctions" + }, + { + "name": "CrossVersion", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "interface", + "doc": "Configures how a module will be cross-versioned.", + "types": [ + { + "name": "Disabled", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "doc": "Disables cross versioning for a module.", + "type": "record" + }, + { + "name": "Binary", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "doc": [ + "Cross-versions a module using the result of applying `remapVersion` to the binary version.", + "For example, if `remapVersion = v => \"2.10\"` and the binary version is \"2.9.2\" or \"2.10\",", + "the module is cross-versioned with \"2.10\"." + ], + "type": "record" + }, + { + "name": "Full", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": [ + "Cross-versions a module with the result of applying `remapVersion` to the full version.", + "For example, if `remapVersion = v => \"2.10\"` and the full version is \"2.9.2\" or \"2.10.3\",", + "the module is cross-versioned with \"2.10\"." + ] + } + ], + "parentsCompanion": "sbt.librarymanagement.CrossVersionFunctions" + }, + { + "name": "Developer", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "id", "type": "String" }, + { "name": "name", "type": "String" }, + { "name": "email", "type": "String" }, + { "name": "url", "type": "java.net.URL" } + ] + }, + { + "name": "FileConfiguration", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": "Configuration specific to an Ivy filesystem resolver.", + "fields": [ + { "name": "isLocal", "type": "boolean" }, + { "name": "isTransactional", "type": "boolean?" } + ] + }, + { + "name": "InclExclRule", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": [ + "Rule to either:", + "", + "Which one depends on the parameter name which it is passed to, but the filter has the same fields in both cases." + ], + "fields": [ + { "name": "organization", "type": "String", "default": "\"*\"", "since": "0.0.1" }, + { "name": "name", "type": "String", "default": "\"*\"", "since": "0.0.1" }, + { "name": "artifact", "type": "String", "default": "\"*\"", "since": "0.0.1" }, + { "name": "configurations", "type": "String*", "default": "Vector.empty", "since": "0.0.1" } + ], + "parentsCompanion": "sbt.librarymanagement.InclExclRuleFunctions" + }, + { + "name": "IvyScala", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "scalaFullVersion", "type": "String" }, + { "name": "scalaBinaryVersion", "type": "String" }, + { "name": "configurations", "type": "sbt.librarymanagement.Configuration*" }, + { "name": "checkExplicit", "type": "boolean" }, + { "name": "filterImplicit", "type": "boolean" }, + { "name": "overrideScalaVersion", "type": "boolean" }, + { "name": "scalaOrganization", "type": "String", "default": "sbt.librarymanagement.ScalaArtifacts.Organization", "since": "0.0.1" }, + { "name": "scalaArtifacts", "type": "String*", "default": "sbt.librarymanagement.ScalaArtifacts.Artifacts", "since": "0.0.1" } + ], + "parentsCompanion": "sbt.librarymanagement.IvyScalaFunctions" + }, + { + "name": "ModuleConfiguration", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "organization", "type": "String" }, + { "name": "name", "type": "String" }, + { "name": "revision", "type": "String" }, + { "name": "resolver", "type": "sbt.librarymanagement.Resolver" } + ], + "extraCompanion": [ + "def apply(org: String, resolver: sbt.librarymanagement.Resolver): ModuleConfiguration = apply(org, \"*\", \"*\", resolver)", + "def apply(org: String, name: String, resolver: sbt.librarymanagement.Resolver): ModuleConfiguration = ModuleConfiguration(org, name, \"*\", resolver)" + ] + }, + { + "name": "ModuleID", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "parents": "sbt.librarymanagement.ModuleIDExtra", + "fields": [ + { "name": "organization", "type": "String" }, + { "name": "name", "type": "String" }, + { "name": "revision", "type": "String" }, + { "name": "configurations", "type": "String?", "default": "None", "since": "0.0.1" }, + { "name": "isChanging", "type": "boolean", "default": "false", "since": "0.0.1" }, + { "name": "isTransitive", "type": "boolean", "default": "true", "since": "0.0.1" }, + { "name": "isForce", "type": "boolean", "default": "false", "since": "0.0.1" }, + { "name": "explicitArtifacts", "type": "sbt.librarymanagement.Artifact*", "default": "Vector.empty", "since": "0.0.1" }, + { "name": "inclusions", "type": "sbt.librarymanagement.InclExclRule*", "default": "Vector.empty", "since": "0.0.1" }, + { "name": "exclusions", "type": "sbt.librarymanagement.InclExclRule*", "default": "Vector.empty", "since": "0.0.1" }, + { "name": "extraAttributes", "type": "Map[String, String]", "default": "Map.empty", "since": "0.0.1" }, + { "name": "crossVersion", "type": "sbt.librarymanagement.CrossVersion", "default": "sbt.librarymanagement.Disabled()", "since": "0.0.1" }, + { "name": "branchName", "type": "String?", "default": "None", "since": "0.0.1" } + ], + "toString": [ + "organization + \":\" + name + \":\" + revision +", + " (configurations match { case Some(s) => \":\" + s; case None => \"\" }) +", + " (if (extraAttributes.isEmpty) \"\" else \" \" + extraString)" + ], + "parentsCompanion": "sbt.librarymanagement.ModuleIDFunctions" + }, + { + "name": "ModuleInfo", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": "Additional information about a project module", + "fields": [ + { "name": "nameFormal", "type": "String" }, + { "name": "description", "type": "String", "default": "\"\"", "since": "0.0.1" }, + { "name": "homepage", "type": "java.net.URL?", "default": "None", "since": "0.0.1" }, + { "name": "startYear", "type": "int?", "default": "None", "since": "0.0.1" }, + { "name": "licenses", "type": "scala.Tuple2[String, java.net.URL]*", "default": "Vector.empty", "since": "0.0.1" }, + { "name": "organizationName", "type": "String", "default": "\"\"", "since": "0.0.1" }, + { "name": "organizationHomepage", "type": "java.net.URL?", "default": "None", "since": "0.0.1" }, + { "name": "scmInfo", "type": "sbt.librarymanagement.ScmInfo?", "default": "None", "since": "0.0.1" }, + { "name": "developers", "type": "sbt.librarymanagement.Developer*", "default": "Vector.empty", "since": "0.0.1" } + ] + }, { "name": "ModuleReport", "namespace": "sbt.librarymanagement", @@ -53,164 +311,6 @@ "(if (arts.size <= 1) \"\" else \"\\n\\t\\t\\t\") + arts.mkString(\"\\n\\t\\t\\t\") + \"\\n\"" ] }, - { - "name": "OrganizationArtifactReport", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": [ - "OrganizationArtifactReport represents an organization+name entry in Ivy resolution report.", - "In sbt's terminology, \"module\" consists of organization, name, and version.", - "In Ivy's, \"module\" means just organization and name, and the one including version numbers", - "are called revisions.", - "", - "A sequence of OrganizationArtifactReport called details is newly added to ConfigurationReport, replacing evicted.", - "(Note old evicted was just a seq of ModuleIDs).", - "OrganizationArtifactReport groups the ModuleReport of both winners and evicted reports by their organization and name,", - "which can be used to calculate detailed eviction warning etc." - ], - "fields": [ - { "name": "organization", "type": "String" }, - { "name": "name", "type": "String" }, - { "name": "modules", "type": "sbt.librarymanagement.ModuleReport*" } - ] - }, - { - "name": "UpdateStats", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "resolveTime", "type": "long" }, - { "name": "downloadTime", "type": "long" }, - { "name": "downloadSize", "type": "long" }, - { "name": "cached", "type": "boolean" } - ], - "toString": "Seq(\"Resolve time: \" + resolveTime + \" ms\", \"Download time: \" + downloadTime + \" ms\", \"Download size: \" + downloadSize + \" bytes\").mkString(\", \")" - }, - { - "name": "UpdateLogging", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "enumeration", - "doc": [ - "Configures logging during an 'update'. `level` determines the amount of other information logged.", - "`Full` is the default and logs the most.", - "`DownloadOnly` only logs what is downloaded.", - "`Quiet` only displays errors.", - "`Default` uses the current log level of `update` task." - ], - "symbols": [ "Full", "DownloadOnly", "Quiet", "Default" ] - }, - { - "name": "RetrieveConfiguration", - "namespace": "sbt.internal.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "retrieveDirectory", "type": "java.io.File" }, - { "name": "outputPattern", "type": "String" }, - { "name": "sync", "type": "boolean", "default": "false", "since": "0.0.1" }, - { "name": "configurationsToRetrieve", "type": "Set[sbt.librarymanagement.Configuration]?", "default": "None", "since": "0.0.1" } - ] - }, - { - "name": "UpdateConfiguration", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "retrieve", "type": "sbt.internal.librarymanagement.RetrieveConfiguration?" }, - { "name": "missingOk", "type": "boolean" }, - { "name": "logging", "type": "sbt.librarymanagement.UpdateLogging" }, - { "name": "artifactFilter", "type": "sbt.librarymanagement.ArtifactTypeFilter" } - ] - }, - { - "name": "ScmInfo", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": "Basic SCM information for a project module", - "fields": [ - { "name": "browseUrl", "type": "java.net.URL" }, - { "name": "connection", "type": "String" }, - { "name": "devConnection", "type": "String?" } - ] - }, - { - "name": "Developer", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "id", "type": "String" }, - { "name": "name", "type": "String" }, - { "name": "email", "type": "String" }, - { "name": "url", "type": "java.net.URL" } - ] - }, - { - "name": "SbtExclusionRule", - "namespace": "sbt.internal.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "organization", "type": "String" }, - { "name": "name", "type": "String" }, - { "name": "artifact", "type": "String" }, - { "name": "configurations", "type": "String*" }, - { "name": "crossVersion", "type": "sbt.librarymanagement.CrossVersion" } - ] - }, - { - "name": "ModuleInfo", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": "Additional information about a project module", - "fields": [ - { "name": "nameFormal", "type": "String" }, - { "name": "description", "type": "String", "default": "\"\"", "since": "0.0.1" }, - { "name": "homepage", "type": "java.net.URL?", "default": "None", "since": "0.0.1" }, - { "name": "startYear", "type": "int?", "default": "None", "since": "0.0.1" }, - { "name": "licenses", "type": "scala.Tuple2[String, java.net.URL]*", "default": "Vector.empty", "since": "0.0.1" }, - { "name": "organizationName", "type": "String", "default": "\"\"", "since": "0.0.1" }, - { "name": "organizationHomepage", "type": "java.net.URL?", "default": "None", "since": "0.0.1" }, - { "name": "scmInfo", "type": "sbt.librarymanagement.ScmInfo?", "default": "None", "since": "0.0.1" }, - { "name": "developers", "type": "sbt.librarymanagement.Developer*", "default": "Vector.empty", "since": "0.0.1" } - ] - }, - { - "name": "ConflictManager", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": "See http://ant.apache.org/ivy/history/latest-milestone/settings/conflict-managers.html for details of the different conflict managers.", - "fields": [ - { "name": "name", "type": "String" }, - { "name": "organization", "type": "String", "default": "\"*\"", "since": "0.0.1" }, - { "name": "module", "type": "String", "default": "\"*\"", "since": "0.0.1" } - ], - "parentsCompanion": "sbt.librarymanagement.ConflictManagerFunctions" - }, - { - "name": "IvyScala", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "scalaFullVersion", "type": "String" }, - { "name": "scalaBinaryVersion", "type": "String" }, - { "name": "configurations", "type": "sbt.librarymanagement.Configuration*" }, - { "name": "checkExplicit", "type": "boolean" }, - { "name": "filterImplicit", "type": "boolean" }, - { "name": "overrideScalaVersion", "type": "boolean" }, - { "name": "scalaOrganization", "type": "String", "default": "sbt.librarymanagement.ScalaArtifacts.Organization", "since": "0.0.1" }, - { "name": "scalaArtifacts", "type": "String*", "default": "sbt.librarymanagement.ScalaArtifacts.Artifacts", "since": "0.0.1" } - ], - "parentsCompanion": "sbt.librarymanagement.IvyScalaFunctions" - }, { "name": "ModuleSettings", "namespace": "sbt.librarymanagement", @@ -262,157 +362,25 @@ ] }, { - "name": "IvyPaths", - "namespace": "sbt.internal.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "baseDirectory", "type": "java.io.File" }, - { "name": "ivyHome", "type": "java.io.File?" } - ] - }, - { - "name": "InclExclRule", + "name": "OrganizationArtifactReport", "namespace": "sbt.librarymanagement", "target": "Scala", "type": "record", "doc": [ - "Rule to either:", - "", - "Which one depends on the parameter name which it is passed to, but the filter has the same fields in both cases." + "OrganizationArtifactReport represents an organization+name entry in Ivy resolution report.", + "In sbt's terminology, \"module\" consists of organization, name, and version.", + "In Ivy's, \"module\" means just organization and name, and the one including version numbers", + "are called revisions.", + "", + "A sequence of OrganizationArtifactReport called details is newly added to ConfigurationReport, replacing evicted.", + "(Note old evicted was just a seq of ModuleIDs).", + "OrganizationArtifactReport groups the ModuleReport of both winners and evicted reports by their organization and name,", + "which can be used to calculate detailed eviction warning etc." ], "fields": [ - { "name": "organization", "type": "String", "default": "\"*\"", "since": "0.0.1" }, - { "name": "name", "type": "String", "default": "\"*\"", "since": "0.0.1" }, - { "name": "artifact", "type": "String", "default": "\"*\"", "since": "0.0.1" }, - { "name": "configurations", "type": "String*", "default": "Vector.empty", "since": "0.0.1" } - ], - "parentsCompanion": "sbt.librarymanagement.InclExclRuleFunctions" - }, - { - "name": "CrossVersion", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "interface", - "doc": "Configures how a module will be cross-versioned.", - "types": [ - { - "name": "Disabled", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "doc": "Disables cross versioning for a module.", - "type": "record" - }, - { - "name": "Binary", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "doc": [ - "Cross-versions a module using the result of applying `remapVersion` to the binary version.", - "For example, if `remapVersion = v => \"2.10\"` and the binary version is \"2.9.2\" or \"2.10\",", - "the module is cross-versioned with \"2.10\"." - ], - "type": "record" - }, - { - "name": "Full", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": [ - "Cross-versions a module with the result of applying `remapVersion` to the full version.", - "For example, if `remapVersion = v => \"2.10\"` and the full version is \"2.9.2\" or \"2.10.3\",", - "the module is cross-versioned with \"2.10\"." - ] - } - ], - "parentsCompanion": "sbt.librarymanagement.CrossVersionFunctions" - }, - { - "name": "Configuration", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": "Represents an Ivy configuration.", - "parents": "sbt.librarymanagement.ConfigurationExtra", - "fields": [ - { "name": "name", "type": "String" }, - { "name": "description", "type": "String", "default": "\"\"", "since": "0.0.1" }, - { "name": "isPublic", "type": "boolean", "default": "true", "since": "0.0.1" }, - { "name": "extendsConfigs", "type": "sbt.librarymanagement.Configuration*", "default": "Vector.empty", "since": "0.0.1" }, - { "name": "transitive", "type": "boolean", "default": "true", "since": "0.0.1" } - ], - "toString": "name" - }, - { - "name": "Artifact", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "parents": "sbt.librarymanagement.ArtifactExtra", - "fields": [ - { "name": "name", "type": "String" }, - { "name": "type", "type": "String", "default": "Artifact.DefaultType", "since": "0.0.1" }, - { "name": "extension", "type": "String", "default": "Artifact.DefaultExtension", "since": "0.0.1" }, - { "name": "classifier", "type": "String?", "default": "None", "since": "0.0.1" }, - { "name": "configurations", "type": "sbt.librarymanagement.Configuration*", "default": "Vector.empty", "since": "0.0.1" }, - { "name": "url", "type": "java.net.URL?", "default": "None", "since": "0.0.1" }, - { "name": "extraAttributes", "type": "Map[String, String]", "default": "Map.empty", "since": "0.0.1" } - ], - "parentsCompanion": "sbt.librarymanagement.ArtifactFunctions" - }, - { - "name": "SshAuthentication", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "interface", - "types": [ - { - "name": "PasswordAuthentication", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "user", "type": "String" }, - { "name": "password", "type": "String?" } - ] - }, - { - "name": "KeyFileAuthentication", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "user", "type": "String" }, - { "name": "keyfile", "type": "java.io.File" }, - { "name": "password", "type": "String?" } - ] - } - ] - }, - { - "name": "SshConnection", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "authentication", "type": "sbt.librarymanagement.SshAuthentication?" }, - { "name": "hostname", "type": "String?" }, - { "name": "port", "type": "int?" } - ] - }, - { - "name": "FileConfiguration", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": "Configuration specific to an Ivy filesystem resolver.", - "fields": [ - { "name": "isLocal", "type": "boolean" }, - { "name": "isTransactional", "type": "boolean?" } + { "name": "organization", "type": "String" }, + { "name": "name", "type": "String" }, + { "name": "modules", "type": "sbt.librarymanagement.ModuleReport*" } ] }, { @@ -572,19 +540,136 @@ "parentsCompanion": "sbt.librarymanagement.ResolverFunctions" }, { - "name": "ModuleConfiguration", + "name": "ScmInfo", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": "Basic SCM information for a project module", + "fields": [ + { "name": "browseUrl", "type": "java.net.URL" }, + { "name": "connection", "type": "String" }, + { "name": "devConnection", "type": "String?" } + ] + }, + { + "name": "SshAuthentication", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "interface", + "types": [ + { + "name": "PasswordAuthentication", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "user", "type": "String" }, + { "name": "password", "type": "String?" } + ] + }, + { + "name": "KeyFileAuthentication", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "user", "type": "String" }, + { "name": "keyfile", "type": "java.io.File" }, + { "name": "password", "type": "String?" } + ] + } + ] + }, + { + "name": "SshConnection", "namespace": "sbt.librarymanagement", "target": "Scala", "type": "record", "fields": [ - { "name": "organization", "type": "String" }, - { "name": "name", "type": "String" }, - { "name": "revision", "type": "String" }, - { "name": "resolver", "type": "sbt.librarymanagement.Resolver" } + { "name": "authentication", "type": "sbt.librarymanagement.SshAuthentication?" }, + { "name": "hostname", "type": "String?" }, + { "name": "port", "type": "int?" } + ] + }, + { + "name": "UpdateConfiguration", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "retrieve", "type": "sbt.internal.librarymanagement.RetrieveConfiguration?" }, + { "name": "missingOk", "type": "boolean" }, + { "name": "logging", "type": "sbt.librarymanagement.UpdateLogging" }, + { "name": "artifactFilter", "type": "sbt.librarymanagement.ArtifactTypeFilter" } + ] + }, + { + "name": "UpdateLogging", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "enumeration", + "doc": [ + "Configures logging during an 'update'. `level` determines the amount of other information logged.", + "`Full` is the default and logs the most.", + "`DownloadOnly` only logs what is downloaded.", + "`Quiet` only displays errors.", + "`Default` uses the current log level of `update` task." ], - "extraCompanion": [ - "def apply(org: String, resolver: sbt.librarymanagement.Resolver): ModuleConfiguration = apply(org, \"*\", \"*\", resolver)", - "def apply(org: String, name: String, resolver: sbt.librarymanagement.Resolver): ModuleConfiguration = ModuleConfiguration(org, name, \"*\", resolver)" + "symbols": [ "Full", "DownloadOnly", "Quiet", "Default" ] + }, + { + "name": "UpdateReport", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "doc": [ + "Provides information about dependency resolution.", + "It does not include information about evicted modules, only about the modules ultimately selected by the conflict manager.", + "This means that for a given configuration, there should only be one revision for a given organization and module name." + ], + "parents": "sbt.librarymanagement.UpdateReportExtra", + "fields": [ + { + "name": "cachedDescriptor", + "type": "java.io.File", + "doc": [ "the location of the resolved module descriptor in the cache" ] + }, + { + "name": "configurations", + "type": "sbt.librarymanagement.ConfigurationReport*", + "doc": [ "a sequence containing one report for each configuration resolved." ] + }, + { + "name": "stats", + "type": "sbt.librarymanagement.UpdateStats", + "doc": [ "stats information about the update that produced this report" ] + }, + { "name": "stamps", "type": "Map[java.io.File, Long]" } + ], + "toString": "\"Update report:\\n\\t\" + stats + \"\\n\" + configurations.mkString" + }, + { + "name": "UpdateStats", + "namespace": "sbt.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "resolveTime", "type": "long" }, + { "name": "downloadTime", "type": "long" }, + { "name": "downloadSize", "type": "long" }, + { "name": "cached", "type": "boolean" } + ], + "toString": "Seq(\"Resolve time: \" + resolveTime + \" ms\", \"Download time: \" + downloadTime + \" ms\", \"Download size: \" + downloadSize + \" bytes\").mkString(\", \")" + }, + + { + "name": "ConfigurationReportLite", + "namespace": "sbt.internal.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "configuration", "type": "String" }, + { "name": "details", "type": "sbt.librarymanagement.OrganizationArtifactReport*" } ] }, { @@ -642,6 +727,41 @@ } ] }, + { + "name": "IvyPaths", + "namespace": "sbt.internal.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "baseDirectory", "type": "java.io.File" }, + { "name": "ivyHome", "type": "java.io.File?" } + ] + }, + { + "name": "RetrieveConfiguration", + "namespace": "sbt.internal.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "retrieveDirectory", "type": "java.io.File" }, + { "name": "outputPattern", "type": "String" }, + { "name": "sync", "type": "boolean", "default": "false", "since": "0.0.1" }, + { "name": "configurationsToRetrieve", "type": "Set[sbt.librarymanagement.Configuration]?", "default": "None", "since": "0.0.1" } + ] + }, + { + "name": "SbtExclusionRule", + "namespace": "sbt.internal.librarymanagement", + "target": "Scala", + "type": "record", + "fields": [ + { "name": "organization", "type": "String" }, + { "name": "name", "type": "String" }, + { "name": "artifact", "type": "String" }, + { "name": "configurations", "type": "String*" }, + { "name": "crossVersion", "type": "sbt.librarymanagement.CrossVersion" } + ] + }, { "name": "UpdateReportLite", "namespace": "sbt.internal.librarymanagement", @@ -650,125 +770,6 @@ "fields": [ { "name": "configurations", "type": "sbt.internal.librarymanagement.ConfigurationReportLite*" } ] - }, - { - "name": "ConfigurationReportLite", - "namespace": "sbt.internal.librarymanagement", - "target": "Scala", - "type": "record", - "fields": [ - { "name": "configuration", "type": "String" }, - { "name": "details", "type": "sbt.librarymanagement.OrganizationArtifactReport*" } - ] - }, - { - "name": "ModuleID", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "parents": "sbt.librarymanagement.ModuleIDExtra", - "fields": [ - { "name": "organization", "type": "String" }, - { "name": "name", "type": "String" }, - { "name": "revision", "type": "String" }, - { "name": "configurations", "type": "String?", "default": "None", "since": "0.0.1" }, - { "name": "isChanging", "type": "boolean", "default": "false", "since": "0.0.1" }, - { "name": "isTransitive", "type": "boolean", "default": "true", "since": "0.0.1" }, - { "name": "isForce", "type": "boolean", "default": "false", "since": "0.0.1" }, - { "name": "explicitArtifacts", "type": "sbt.librarymanagement.Artifact*", "default": "Vector.empty", "since": "0.0.1" }, - { "name": "inclusions", "type": "sbt.librarymanagement.InclExclRule*", "default": "Vector.empty", "since": "0.0.1" }, - { "name": "exclusions", "type": "sbt.librarymanagement.InclExclRule*", "default": "Vector.empty", "since": "0.0.1" }, - { "name": "extraAttributes", "type": "Map[String, String]", "default": "Map.empty", "since": "0.0.1" }, - { "name": "crossVersion", "type": "sbt.librarymanagement.CrossVersion", "default": "sbt.librarymanagement.Disabled()", "since": "0.0.1" }, - { "name": "branchName", "type": "String?", "default": "None", "since": "0.0.1" } - ], - "toString": [ - "organization + \":\" + name + \":\" + revision +", - " (configurations match { case Some(s) => \":\" + s; case None => \"\" }) +", - " (if (extraAttributes.isEmpty) \"\" else \" \" + extraString)" - ], - "parentsCompanion": "sbt.librarymanagement.ModuleIDFunctions" - }, - { - "name": "ArtifactTypeFilter", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": "Work around the inadequacy of Ivy's ArtifactTypeFilter (that it cannot reverse a filter)", - "parents": "sbt.librarymanagement.ArtifactTypeFilterExtra", - "fields": [ - { - "name": "types", - "doc": [ - "Represents the artifact types that we should try to resolve for (as in the allowed values of", - "`artifact[type]` from a dependency `` section). One can use this to filter", - "source / doc artifacts." - ], - "type": "Set[String]" - }, - { - "name": "inverted", - "doc": [ "Whether to invert the types filter (i.e. allow only types NOT in the set)" ], - "type": "boolean" - } - ], - "parentsCompanion": "sbt.librarymanagement.ArtifactTypeFilterFunctions" - }, - { - "name": "UpdateReport", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": [ - "Provides information about dependency resolution.", - "It does not include information about evicted modules, only about the modules ultimately selected by the conflict manager.", - "This means that for a given configuration, there should only be one revision for a given organization and module name." - ], - "parents": "sbt.librarymanagement.UpdateReportExtra", - "fields": [ - { - "name": "cachedDescriptor", - "type": "java.io.File", - "doc": [ "the location of the resolved module descriptor in the cache" ] - }, - { - "name": "configurations", - "type": "sbt.librarymanagement.ConfigurationReport*", - "doc": [ "a sequence containing one report for each configuration resolved." ] - }, - { - "name": "stats", - "type": "sbt.librarymanagement.UpdateStats", - "doc": [ "stats information about the update that produced this report" ] - }, - { "name": "stamps", "type": "Map[java.io.File, Long]" } - ], - "toString": "\"Update report:\\n\\t\" + stats + \"\\n\" + configurations.mkString" - }, - { - "name": "ConfigurationReport", - "namespace": "sbt.librarymanagement", - "target": "Scala", - "type": "record", - "doc": [ - "Provides information about resolution of a single configuration." - ], - "parents": "sbt.librarymanagement.ConfigurationReportExtra", - "fields": [ - { "name": "configuration", "type": "String", "doc": [ "the configuration this report is for." ] }, - { - "name": "modules", - "type": "sbt.librarymanagement.ModuleReport*", - "doc": [ - "a sequence containing one report for each module resolved for this configuration." - ] - }, - { - "name": "details", - "type": "sbt.librarymanagement.OrganizationArtifactReport*", - "doc": [ "a sequence containing one report for each org/name, which may or may not be part of the final resolution." ] - } - ] } ] }