mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
IJPL-149028 don't use commons-codec for base64
GitOrigin-RevId: ec8364e0e9b6420177438d21ec7945e9ddd5952b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
18e028cf90
commit
80bc00604d
10
.idea/libraries/commons_cli.xml
generated
10
.idea/libraries/commons_cli.xml
generated
@@ -1,9 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="commons-cli" type="repository">
|
||||
<properties maven-id="commons-cli:commons-cli:1.6.0">
|
||||
<properties maven-id="commons-cli:commons-cli:1.7.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.6.0/commons-cli-1.6.0.jar">
|
||||
<sha256sum>69e1237059acd56f0f8654dcde09d8a1412eee82918bef5564d51f8fb275711b</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.7.0/commons-cli-1.7.0.jar">
|
||||
<sha256sum>ef990c7522ed6caa06265e24317f29ce839f7702938e1aebe8187a0bac19c0d7</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
@@ -11,11 +11,11 @@
|
||||
<root url="file://$PROJECT_DIR$/lib/annotations/commons-cli" />
|
||||
</ANNOTATIONS>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.6.0/commons-cli-1.6.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.7.0/commons-cli-1.7.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.6.0/commons-cli-1.6.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-cli/commons-cli/1.7.0/commons-cli-1.7.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
10
.idea/libraries/commons_codec.xml
generated
10
.idea/libraries/commons_codec.xml
generated
@@ -1,18 +1,18 @@
|
||||
<component name="libraryTable">
|
||||
<library name="commons-codec" type="repository">
|
||||
<properties maven-id="commons-codec:commons-codec:1.16.1">
|
||||
<properties maven-id="commons-codec:commons-codec:1.17.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar">
|
||||
<sha256sum>ec87bfb55f22cbd1b21e2190eeda28b2b312ed2a431ee49fbdcc01812d04a5e4</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.17.0/commons-codec-1.17.0.jar">
|
||||
<sha256sum>f700de80ac270d0344fdea7468201d8b9c805e5c648331c3619f2ee067ccfc59</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.17.0/commons-codec-1.17.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.17.0/commons-codec-1.17.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
12
.idea/libraries/commons_compress.xml
generated
12
.idea/libraries/commons_compress.xml
generated
@@ -5,27 +5,19 @@
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/org/apache/commons/commons-compress/1.26.1/commons-compress-1.26.1.jar">
|
||||
<sha256sum>27bb5d40f37c3bb7205b4a0540247df057715e9f6cbbd97d626ab8b50318bb04</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar">
|
||||
<sha256sum>ec87bfb55f22cbd1b21e2190eeda28b2b312ed2a431ee49fbdcc01812d04a5e4</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/commons-io/commons-io/2.15.1/commons-io-2.15.1.jar">
|
||||
<sha256sum>a58af12ee1b68cfd2ebb0c27caef164f084381a00ec81a48cc275fd7ea54e154</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
<exclude>
|
||||
<dependency maven-id="commons-codec:commons-codec" />
|
||||
<dependency maven-id="commons-io:commons-io" />
|
||||
<dependency maven-id="org.apache.commons:commons-lang3" />
|
||||
</exclude>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-compress/1.26.1/commons-compress-1.26.1.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.15.1/commons-io-2.15.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-compress/1.26.1/commons-compress-1.26.1-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.15.1/commons-io-2.15.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
10
.idea/libraries/commons_text.xml
generated
10
.idea/libraries/commons_text.xml
generated
@@ -1,18 +1,18 @@
|
||||
<component name="libraryTable">
|
||||
<library name="commons-text" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.apache.commons:commons-text:1.11.0">
|
||||
<properties include-transitive-deps="false" maven-id="org.apache.commons:commons-text:1.12.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.11.0/commons-text-1.11.0.jar">
|
||||
<sha256sum>2acf30a070b19163d5a480eae411a281341e870020e3534c6d5d4c8472739e30</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.12.0/commons-text-1.12.0.jar">
|
||||
<sha256sum>de023257ff166044a56bd1aa9124e843cd05dac5806cc705a9311f3556d5a15f</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.11.0/commons-text-1.11.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.12.0/commons-text-1.12.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.11.0/commons-text-1.11.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.12.0/commons-text-1.12.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
10
.idea/libraries/grpc_stub.xml
generated
10
.idea/libraries/grpc_stub.xml
generated
@@ -1,18 +1,18 @@
|
||||
<component name="libraryTable">
|
||||
<library name="grpc-stub" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="io.grpc:grpc-stub:1.61.0">
|
||||
<properties include-transitive-deps="false" maven-id="io.grpc:grpc-stub:1.63.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/grpc/grpc-stub/1.61.0/grpc-stub-1.61.0.jar">
|
||||
<sha256sum>72098cc69a1c786b707a697ceb2a82b45c624add09e78900ec4a5990a594f586</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/grpc/grpc-stub/1.63.0/grpc-stub-1.63.0.jar">
|
||||
<sha256sum>a92fc7c7f1ac9d580c5e3df5825b977c842f442874794663b78db22b27d649e0</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/grpc/grpc-stub/1.61.0/grpc-stub-1.61.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/grpc/grpc-stub/1.63.0/grpc-stub-1.63.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/grpc/grpc-stub/1.61.0/grpc-stub-1.61.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/grpc/grpc-stub/1.63.0/grpc-stub-1.63.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
71
.idea/libraries/opentelemetry.xml
generated
71
.idea/libraries/opentelemetry.xml
generated
@@ -1,58 +1,53 @@
|
||||
<component name="libraryTable">
|
||||
<library name="opentelemetry" type="repository">
|
||||
<properties maven-id="io.opentelemetry:opentelemetry-sdk:1.35.0">
|
||||
<properties maven-id="io.opentelemetry:opentelemetry-sdk:1.37.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk/1.35.0/opentelemetry-sdk-1.35.0.jar">
|
||||
<sha256sum>e045c5f881a3f40d80ef336ce2e482609a7877109b480a97e755ab7ac711835c</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk/1.37.0/opentelemetry-sdk-1.37.0.jar">
|
||||
<sha256sum>937c7cb743dab7aa566949166462493323683c188e2201a66aa6c2c59bf7dc23</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api/1.35.0/opentelemetry-api-1.35.0.jar">
|
||||
<sha256sum>829fb1414188d1b7ecccc6d3fb0f42629f76c6b5019f7f219c0ef31d5a7c540f</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api/1.37.0/opentelemetry-api-1.37.0.jar">
|
||||
<sha256sum>35976d45acb98fb3fb527c3aced3e3398443e8664fccd069ea4bd2eca0c294ed</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-context/1.35.0/opentelemetry-context-1.35.0.jar">
|
||||
<sha256sum>6a11b6639e48515ae78e010292758cbcd2467023b564465aa5a96c1501731464</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-context/1.37.0/opentelemetry-context-1.37.0.jar">
|
||||
<sha256sum>98071a718fdb48a493460685660ba92074e0dcea01c545109894d3137df3b6f0</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-common/1.35.0/opentelemetry-sdk-common-1.35.0.jar">
|
||||
<sha256sum>9290ccec42fe696ab0dba44d44996fcc3d978dbbb0d8f9f97e3778844a767c69</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-common/1.37.0/opentelemetry-sdk-common-1.37.0.jar">
|
||||
<sha256sum>1f28165898fecdba9ff9534b86a4ac6da2faa731bc0a59f1e40c116b72c90bd7</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-trace/1.35.0/opentelemetry-sdk-trace-1.35.0.jar">
|
||||
<sha256sum>0c3715deed39924d0d4e67e74e43c25745b77ff27d3e15d548fa8729dab14ab6</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-trace/1.37.0/opentelemetry-sdk-trace-1.37.0.jar">
|
||||
<sha256sum>5743bc33f9f046a86c8d827e4c4e321c2224ec69f72e09153232148186f2c77b</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-incubator/1.35.0-alpha/opentelemetry-extension-incubator-1.35.0-alpha.jar">
|
||||
<sha256sum>5ca38a9ecdf2c93183069dae1d7d76ec12e9cf4feb3c2209d04566e82fc4df3c</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-metrics/1.37.0/opentelemetry-sdk-metrics-1.37.0.jar">
|
||||
<sha256sum>50d129d9a15b691f806533f8edaf6c01f2e1e1e1825c93984ad75006aea2522f</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-metrics/1.35.0/opentelemetry-sdk-metrics-1.35.0.jar">
|
||||
<sha256sum>1032f86dac2d44c1c32459356f6bd6428d89b2d62e369764ae1434665b571e40</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api-incubator/1.37.0-alpha/opentelemetry-api-incubator-1.37.0-alpha.jar">
|
||||
<sha256sum>037cdd200d917190e6774029676017fa5ec27e5a5af938dcb97adc75132eda48</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-logs/1.35.0/opentelemetry-sdk-logs-1.35.0.jar">
|
||||
<sha256sum>1ac2e39563669095f2ef0269924c0df3bee76f143b3a577bc0559ca9a273aaab</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api-events/1.35.0-alpha/opentelemetry-api-events-1.35.0-alpha.jar">
|
||||
<sha256sum>96872b1ee7527e223e7a387b4bec1649acf9e9a60e21099a020f76f31bfabe5d</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-logs/1.37.0/opentelemetry-sdk-logs-1.37.0.jar">
|
||||
<sha256sum>d3490b686b64528ffb0ef345ada0a25af68dba658810ada25e7b127ceb98cf5c</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk/1.35.0/opentelemetry-sdk-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api/1.35.0/opentelemetry-api-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-context/1.35.0/opentelemetry-context-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-common/1.35.0/opentelemetry-sdk-common-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-trace/1.35.0/opentelemetry-sdk-trace-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-incubator/1.35.0-alpha/opentelemetry-extension-incubator-1.35.0-alpha.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-metrics/1.35.0/opentelemetry-sdk-metrics-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-logs/1.35.0/opentelemetry-sdk-logs-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api-events/1.35.0-alpha/opentelemetry-api-events-1.35.0-alpha.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk/1.37.0/opentelemetry-sdk-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api/1.37.0/opentelemetry-api-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-context/1.37.0/opentelemetry-context-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-common/1.37.0/opentelemetry-sdk-common-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-trace/1.37.0/opentelemetry-sdk-trace-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-metrics/1.37.0/opentelemetry-sdk-metrics-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api-incubator/1.37.0-alpha/opentelemetry-api-incubator-1.37.0-alpha.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-logs/1.37.0/opentelemetry-sdk-logs-1.37.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk/1.35.0/opentelemetry-sdk-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api/1.35.0/opentelemetry-api-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-context/1.35.0/opentelemetry-context-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-common/1.35.0/opentelemetry-sdk-common-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-trace/1.35.0/opentelemetry-sdk-trace-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-incubator/1.35.0-alpha/opentelemetry-extension-incubator-1.35.0-alpha-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-metrics/1.35.0/opentelemetry-sdk-metrics-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-logs/1.35.0/opentelemetry-sdk-logs-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api-events/1.35.0-alpha/opentelemetry-api-events-1.35.0-alpha-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk/1.37.0/opentelemetry-sdk-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api/1.37.0/opentelemetry-api-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-context/1.37.0/opentelemetry-context-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-common/1.37.0/opentelemetry-sdk-common-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-trace/1.37.0/opentelemetry-sdk-trace-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-metrics/1.37.0/opentelemetry-sdk-metrics-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-api-incubator/1.37.0-alpha/opentelemetry-api-incubator-1.37.0-alpha-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-sdk-logs/1.37.0/opentelemetry-sdk-logs-1.37.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
@@ -1,27 +1,28 @@
|
||||
<component name="libraryTable">
|
||||
<library name="opentelemetry-exporter-otlp-common" type="repository">
|
||||
<properties maven-id="io.opentelemetry:opentelemetry-exporter-otlp-common:1.35.0">
|
||||
<properties maven-id="io.opentelemetry:opentelemetry-exporter-otlp-common:1.37.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-otlp-common/1.35.0/opentelemetry-exporter-otlp-common-1.35.0.jar">
|
||||
<sha256sum>8886aa1f49ecfdd21d96c34b99b5e9bd2a1cb9ce3403f3424865a65efbf88109</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-otlp-common/1.37.0/opentelemetry-exporter-otlp-common-1.37.0.jar">
|
||||
<sha256sum>228c79ae42e6c1eacfbc4b8b142a0c744ee8e2190d6bad076b71b2c53b0ffd89</sha256sum>
|
||||
</artifact>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-common/1.35.0/opentelemetry-exporter-common-1.35.0.jar">
|
||||
<sha256sum>af9cfd976872bbeacbec345141e84a7447c0e2d23384fb6ee002d994d5542eaa</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-common/1.37.0/opentelemetry-exporter-common-1.37.0.jar">
|
||||
<sha256sum>de5ffe7719483ddf809f64a1f4e3202757840cb9a219340ba9adb73a7cc7554b</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
<exclude>
|
||||
<dependency maven-id="io.opentelemetry:opentelemetry-api" />
|
||||
<dependency maven-id="io.opentelemetry:opentelemetry-extension-incubator" />
|
||||
<dependency maven-id="io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi" />
|
||||
<dependency maven-id="io.opentelemetry:opentelemetry-api-incubator" />
|
||||
</exclude>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-otlp-common/1.35.0/opentelemetry-exporter-otlp-common-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-common/1.35.0/opentelemetry-exporter-common-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-otlp-common/1.37.0/opentelemetry-exporter-otlp-common-1.37.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-common/1.37.0/opentelemetry-exporter-common-1.37.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-otlp-common/1.35.0/opentelemetry-exporter-otlp-common-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-common/1.35.0/opentelemetry-exporter-common-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-otlp-common/1.37.0/opentelemetry-exporter-otlp-common-1.37.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-exporter-common/1.37.0/opentelemetry-exporter-common-1.37.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
10
.idea/libraries/opentelemetry_extension_kotlin.xml
generated
10
.idea/libraries/opentelemetry_extension_kotlin.xml
generated
@@ -1,18 +1,18 @@
|
||||
<component name="libraryTable">
|
||||
<library name="opentelemetry-extension-kotlin" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="io.opentelemetry:opentelemetry-extension-kotlin:1.35.0">
|
||||
<properties include-transitive-deps="false" maven-id="io.opentelemetry:opentelemetry-extension-kotlin:1.37.0">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-kotlin/1.35.0/opentelemetry-extension-kotlin-1.35.0.jar">
|
||||
<sha256sum>def759aa3b01758a72b573ef4f4eb39776d0975b1f60644c6f78ce4ec97e6354</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-kotlin/1.37.0/opentelemetry-extension-kotlin-1.37.0.jar">
|
||||
<sha256sum>d3d0f6410ad1d18c3970e1cb465e740e9f2623b21b749109e1afb4b8fa70af2c</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-kotlin/1.35.0/opentelemetry-extension-kotlin-1.35.0.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-kotlin/1.37.0/opentelemetry-extension-kotlin-1.37.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-kotlin/1.35.0/opentelemetry-extension-kotlin-1.35.0-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/opentelemetry-extension-kotlin/1.37.0/opentelemetry-extension-kotlin-1.37.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
10
.idea/libraries/opentelemetry_semconv.xml
generated
10
.idea/libraries/opentelemetry_semconv.xml
generated
@@ -1,18 +1,18 @@
|
||||
<component name="libraryTable">
|
||||
<library name="opentelemetry-semconv" type="repository">
|
||||
<properties maven-id="io.opentelemetry.semconv:opentelemetry-semconv:1.23.1-alpha">
|
||||
<properties maven-id="io.opentelemetry.semconv:opentelemetry-semconv:1.25.0-alpha">
|
||||
<verification>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/semconv/opentelemetry-semconv/1.23.1-alpha/opentelemetry-semconv-1.23.1-alpha.jar">
|
||||
<sha256sum>ae8cace98274227cd4b04f1dacee9309a88f3208e2e2bd96df7f8d7d57fb7d4d</sha256sum>
|
||||
<artifact url="file://$MAVEN_REPOSITORY$/io/opentelemetry/semconv/opentelemetry-semconv/1.25.0-alpha/opentelemetry-semconv-1.25.0-alpha.jar">
|
||||
<sha256sum>745a86a75ecb5e03f464f05ea2dc76e0f04d07273c5509fa74f393bff9b222b7</sha256sum>
|
||||
</artifact>
|
||||
</verification>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/semconv/opentelemetry-semconv/1.23.1-alpha/opentelemetry-semconv-1.23.1-alpha.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/semconv/opentelemetry-semconv/1.25.0-alpha/opentelemetry-semconv-1.25.0-alpha.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/semconv/opentelemetry-semconv/1.23.1-alpha/opentelemetry-semconv-1.23.1-alpha-sources.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/io/opentelemetry/semconv/opentelemetry-semconv/1.25.0-alpha/opentelemetry-semconv-1.25.0-alpha-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
||||
@@ -1,7 +1,9 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.intellij.build
|
||||
|
||||
import org.apache.commons.codec.digest.DigestUtils
|
||||
import com.google.common.hash.Funnels
|
||||
import com.google.common.hash.Hashing
|
||||
import com.google.common.io.ByteStreams
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import org.jetbrains.intellij.build.dependencies.BuildDependenciesCommunityRoot
|
||||
import org.jetbrains.intellij.build.dependencies.BuildDependenciesDownloader
|
||||
@@ -13,8 +15,8 @@ import org.jetbrains.intellij.build.dependencies.BuildDependenciesUtil.getLibrar
|
||||
import org.jetbrains.intellij.build.dependencies.BuildDependenciesUtil.getSingleChildElement
|
||||
import org.jetbrains.intellij.build.dependencies.BuildDependenciesUtil.tryGetSingleChildElement
|
||||
import java.net.URI
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import kotlin.io.path.*
|
||||
|
||||
@ApiStatus.Internal
|
||||
object BuildDependenciesJps {
|
||||
@@ -32,7 +34,7 @@ object BuildDependenciesJps {
|
||||
?.replace("\$PROJECT_DIR\$", getSystemIndependentPath(projectHome))
|
||||
?: error("Unable to find module '$moduleName' in $modulesXml")
|
||||
val modulePath = Path.of(moduleFile)
|
||||
check(modulePath.exists()) {
|
||||
check(Files.exists(modulePath)) {
|
||||
"Module file '$modulePath' does not exist"
|
||||
}
|
||||
return modulePath
|
||||
@@ -77,26 +79,30 @@ object BuildDependenciesJps {
|
||||
val localMavenFile = getLocalArtifactRepositoryRoot().resolve(relativePath)
|
||||
|
||||
val file = when {
|
||||
localMavenFile.isRegularFile() && localMavenFile.fileSize() > 0 -> localMavenFile
|
||||
Files.isRegularFile(localMavenFile) && Files.size(localMavenFile) > 0 -> localMavenFile
|
||||
username != null && password != null -> BuildDependenciesDownloader.downloadFileToCacheLocation(communityRoot, URI(remoteUrl), username, password)
|
||||
else -> BuildDependenciesDownloader.downloadFileToCacheLocation(communityRoot, URI(remoteUrl))
|
||||
}
|
||||
|
||||
// '-SNAPSHOT' versions could be used only locally to test new locally built dependencies
|
||||
if (!mavenId.endsWith("-SNAPSHOT")) {
|
||||
val actualSha256checksum = file.inputStream().use { DigestUtils.sha256Hex(it) }
|
||||
val actualSha256checksum = Files.newInputStream(file).use {
|
||||
val hasher = Hashing.sha256().newHasher()
|
||||
ByteStreams.copy(it, Funnels.asOutputStream(hasher))
|
||||
hasher.hash().toString()
|
||||
}
|
||||
|
||||
val expectedSha256Checksum = sha256sumMap[fileUrl] ?: error("SHA256 checksum is missing for $fileUrl:\n${library.asText}")
|
||||
if (expectedSha256Checksum != actualSha256checksum) {
|
||||
error("File $file has wrong checksum. On disk: ${actualSha256checksum}. Expected: ${expectedSha256Checksum}. Library:\n${library.asText}")
|
||||
Files.delete(file)
|
||||
error("File $file has wrong checksum. On disk: $actualSha256checksum. Expected: $expectedSha256Checksum. Library:\n${library.asText}")
|
||||
}
|
||||
}
|
||||
|
||||
file
|
||||
}
|
||||
|
||||
if (roots.isEmpty()) {
|
||||
error("No library roots for library '$libraryName' in the following iml file at '$iml':\n${iml.readText()}")
|
||||
error("No library roots for library '$libraryName' in the following iml file at '$iml':\n${Files.readString(iml)}")
|
||||
}
|
||||
|
||||
roots
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<dependency>
|
||||
<groupId>commons-cli</groupId>
|
||||
<artifactId>commons-cli</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<version>1.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
@@ -68,7 +68,7 @@
|
||||
<dependency>
|
||||
<groupId>io.opentelemetry</groupId>
|
||||
<artifactId>opentelemetry-extension-kotlin</artifactId>
|
||||
<version>1.35.0</version>
|
||||
<version>1.37.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.jetbrains.intellij.platform</groupId>
|
||||
|
||||
@@ -139,7 +139,6 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.bootstrap.coroutine" />
|
||||
<orderEntry type="library" name="lz4-java" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ml" />
|
||||
<orderEntry type="library" name="commons-compress" level="project" />
|
||||
<orderEntry type="library" name="kotlinx-collections-immutable" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.io.storages" />
|
||||
</component>
|
||||
|
||||
@@ -32,7 +32,9 @@
|
||||
<orderEntry type="library" name="jna" level="project" />
|
||||
<orderEntry type="library" name="OroMatcher" level="project" />
|
||||
<orderEntry type="library" name="lz4-java" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="commons-compress" level="project" />
|
||||
<orderEntry type="library" name="commons-compress" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="commons-io" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="commons-codec" level="project" />
|
||||
<orderEntry type="library" name="fastutil-min" level="project" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.base" exported="" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
@file:Suppress("FunctionName")
|
||||
|
||||
package com.intellij.util.io
|
||||
@@ -7,11 +7,11 @@ import com.intellij.util.io.DigestUtil.updateContentHash
|
||||
import java.io.IOException
|
||||
import java.io.InputStream
|
||||
import java.math.BigInteger
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import java.security.MessageDigest
|
||||
import java.security.Provider
|
||||
import java.security.SecureRandom
|
||||
import kotlin.io.path.inputStream
|
||||
|
||||
object DigestUtil {
|
||||
@JvmStatic
|
||||
@@ -44,11 +44,14 @@ object DigestUtil {
|
||||
@JvmStatic
|
||||
fun sha1Hex(input: ByteArray): String = hashToHexString(input, sha1())
|
||||
|
||||
@JvmStatic
|
||||
fun sha1Hex(input: String): String = hashToHexString(input, sha1())
|
||||
|
||||
@JvmStatic
|
||||
@JvmOverloads
|
||||
fun updateContentHash(digest: MessageDigest, file: Path, buffer: ByteArray = ByteArray(512 * 1024)) {
|
||||
try {
|
||||
file.inputStream().use {
|
||||
Files.newInputStream(file).use {
|
||||
updateContentHash(digest, it, buffer)
|
||||
}
|
||||
}
|
||||
@@ -79,7 +82,7 @@ fun sha256Hex(file: Path): String {
|
||||
try {
|
||||
val digest = cloneDigest(sha2_256)
|
||||
val buffer = ByteArray(512 * 1024)
|
||||
file.inputStream().use {
|
||||
Files.newInputStream(file).use {
|
||||
updateContentHash(digest, it, buffer)
|
||||
}
|
||||
return bytesToHex(digest.digest())
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.vcs" exported="" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
|
||||
<orderEntry type="library" name="commons-codec" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.lang" />
|
||||
<orderEntry type="module" module-name="intellij.platform.jps.model.serialization" />
|
||||
<orderEntry type="library" name="Guava" level="project" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.vcs.changes.committed;
|
||||
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
@@ -10,25 +10,27 @@ import com.intellij.openapi.vcs.RepositoryLocation;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.util.CommonProcessors.CollectProcessor;
|
||||
import com.intellij.util.Processor;
|
||||
import com.intellij.util.io.DigestUtil;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.UncheckedIOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import static com.intellij.util.containers.ContainerUtil.find;
|
||||
import static org.apache.commons.codec.digest.DigestUtils.md5Hex;
|
||||
import static com.intellij.util.io.DigestUtilKt.hashToHexString;
|
||||
|
||||
public class CachesHolder {
|
||||
public final class CachesHolder {
|
||||
@NonNls private static final String VCS_CACHE_PATH = "vcsCache";
|
||||
|
||||
private final @NotNull Project myProject;
|
||||
private final @NotNull Map<String, ChangesCacheFile> myCacheFiles = new ConcurrentHashMap<>();
|
||||
private final @NotNull Map<String, ChangesCacheFile> cacheFiles = new ConcurrentHashMap<>();
|
||||
private final @NotNull RepositoryLocationCache myLocationCache;
|
||||
|
||||
public CachesHolder(@NotNull Project project, @NotNull RepositoryLocationCache locationCache) {
|
||||
@@ -37,7 +39,7 @@ public class CachesHolder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all paths that will be used to collect committed changes about. ideally, for one checkout there should be one file
|
||||
* Returns all paths that will be used to collect committed changes about. Ideally, for one checkout, there should be one file
|
||||
*/
|
||||
public @NotNull Map<VirtualFile, RepositoryLocation> getAllRootsUnderVcs(@NotNull AbstractVcs vcs) {
|
||||
return new RootsCalculator(myProject, vcs, myLocationCache).getRoots();
|
||||
@@ -57,11 +59,11 @@ public class CachesHolder {
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
myCacheFiles.clear();
|
||||
cacheFiles.clear();
|
||||
}
|
||||
|
||||
public void clearAllCaches() {
|
||||
myCacheFiles.values().forEach(ChangesCacheFile::delete);
|
||||
cacheFiles.values().forEach(ChangesCacheFile::delete);
|
||||
reset();
|
||||
}
|
||||
|
||||
@@ -72,28 +74,32 @@ public class CachesHolder {
|
||||
}
|
||||
|
||||
public @NotNull ChangesCacheFile getCacheFile(@NotNull AbstractVcs vcs, @NotNull VirtualFile root, @NotNull RepositoryLocation location) {
|
||||
return myCacheFiles
|
||||
return cacheFiles
|
||||
.computeIfAbsent(location.getKey(), key -> new ChangesCacheFile(myProject, getCachePath(location), vcs, root, location));
|
||||
}
|
||||
|
||||
public @NotNull Path getCacheBasePath() {
|
||||
return Paths.get(PathManager.getSystemPath(), VCS_CACHE_PATH, myProject.getLocationHash());
|
||||
return Path.of(PathManager.getSystemPath(), VCS_CACHE_PATH, myProject.getLocationHash());
|
||||
}
|
||||
|
||||
private @NotNull File getCachePath(@NotNull RepositoryLocation location) {
|
||||
File file = getCacheBasePath().toFile();
|
||||
file.mkdirs();
|
||||
return new File(file, md5Hex(location.getKey()));
|
||||
private @NotNull Path getCachePath(@NotNull RepositoryLocation location) {
|
||||
Path file = getCacheBasePath();
|
||||
try {
|
||||
Files.createDirectories(file);
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new UncheckedIOException(e);
|
||||
}
|
||||
return file.resolve(hashToHexString(location.getKey(), DigestUtil.md5()));
|
||||
}
|
||||
|
||||
public @Nullable ChangesCacheFile haveCache(@NotNull RepositoryLocation location) {
|
||||
String key = location.getKey();
|
||||
ChangesCacheFile result = myCacheFiles.get(key);
|
||||
|
||||
ChangesCacheFile result = cacheFiles.get(key);
|
||||
if (result == null) {
|
||||
String keyWithSlash = key.endsWith("/") ? key : key + "/";
|
||||
String cachedSimilarKey = find(myCacheFiles.keySet(), s -> keyWithSlash.startsWith(s) || s.startsWith(keyWithSlash));
|
||||
result = cachedSimilarKey != null ? myCacheFiles.get(cachedSimilarKey) : null;
|
||||
String cachedSimilarKey = find(cacheFiles.keySet(), s -> keyWithSlash.startsWith(s) || s.startsWith(keyWithSlash));
|
||||
result = cachedSimilarKey != null ? cacheFiles.get(cachedSimilarKey) : null;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.vcs.changes.committed;
|
||||
|
||||
import com.google.common.base.Stopwatch;
|
||||
@@ -24,16 +24,17 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.*;
|
||||
|
||||
import static com.intellij.openapi.vcs.changes.committed.IncomingChangeState.State.*;
|
||||
|
||||
|
||||
public class ChangesCacheFile {
|
||||
public final class ChangesCacheFile {
|
||||
private static final Logger LOG = Logger.getInstance(ChangesCacheFile.class);
|
||||
private static final int VERSION = 7;
|
||||
|
||||
private final File myPath;
|
||||
private final Path file;
|
||||
private final File myIndexPath;
|
||||
private RandomAccessFile myStream;
|
||||
private RandomAccessFile myIndexStream;
|
||||
@@ -55,12 +56,12 @@ public class ChangesCacheFile {
|
||||
private static final int INDEX_ENTRY_SIZE = 3*8+2;
|
||||
private static final int HEADER_SIZE = 46;
|
||||
|
||||
public ChangesCacheFile(Project project, File path, AbstractVcs vcs, VirtualFile root, @NotNull RepositoryLocation location) {
|
||||
public ChangesCacheFile(Project project, Path path, AbstractVcs vcs, VirtualFile root, @NotNull RepositoryLocation location) {
|
||||
reset();
|
||||
|
||||
myProject = project;
|
||||
myPath = path;
|
||||
myIndexPath = new File(myPath.toString() + INDEX_EXTENSION);
|
||||
file = path;
|
||||
myIndexPath = new File(file.toString() + INDEX_EXTENSION);
|
||||
myVcs = vcs;
|
||||
myChangesProvider = (CachingCommittedChangesProvider)vcs.getCommittedChangesProvider();
|
||||
myVcsManager = ProjectLevelVcsManager.getInstance(project);
|
||||
@@ -91,14 +92,15 @@ public class ChangesCacheFile {
|
||||
}
|
||||
|
||||
public boolean isEmpty() throws IOException {
|
||||
if (!myPath.exists()) {
|
||||
if (!Files.exists(file)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
try {
|
||||
loadHeader();
|
||||
}
|
||||
catch(VersionMismatchException | EOFException ex) {
|
||||
myPath.delete();
|
||||
Files.deleteIfExists(file);
|
||||
myIndexPath.delete();
|
||||
return true;
|
||||
}
|
||||
@@ -107,7 +109,13 @@ public class ChangesCacheFile {
|
||||
}
|
||||
|
||||
public void delete() {
|
||||
FileUtil.delete(myPath);
|
||||
try {
|
||||
Files.deleteIfExists(file);
|
||||
}
|
||||
catch (IOException e) {
|
||||
LOG.debug(e);
|
||||
}
|
||||
|
||||
FileUtil.delete(myIndexPath);
|
||||
try {
|
||||
closeStreams();
|
||||
@@ -195,7 +203,7 @@ public class ChangesCacheFile {
|
||||
}
|
||||
|
||||
private void openStreams() throws FileNotFoundException {
|
||||
myStream = new RandomAccessFile(myPath, "rw");
|
||||
myStream = new RandomAccessFile(file.toFile(), "rw");
|
||||
myIndexStream = new RandomAccessFile(myIndexPath, "rw");
|
||||
myStreamsOpen = true;
|
||||
}
|
||||
@@ -299,7 +307,7 @@ public class ChangesCacheFile {
|
||||
|
||||
private void loadHeader() throws IOException {
|
||||
if (!myHeaderLoaded) {
|
||||
try (RandomAccessFile stream = new RandomAccessFile(myPath, "r")) {
|
||||
try (RandomAccessFile stream = new RandomAccessFile(file.toFile(), "r")) {
|
||||
int version = stream.readInt();
|
||||
if (version != VERSION) {
|
||||
throw new VersionMismatchException();
|
||||
@@ -509,7 +517,7 @@ public class ChangesCacheFile {
|
||||
}
|
||||
if (!entries [0].completelyDownloaded) {
|
||||
IncomingChangeListData data = readIncomingChangeListData(offset, entries [0]);
|
||||
if (data.accountedChanges.size() == 0) {
|
||||
if (data.accountedChanges.isEmpty()) {
|
||||
result.add(data.changeList);
|
||||
}
|
||||
else {
|
||||
@@ -572,7 +580,7 @@ public class ChangesCacheFile {
|
||||
}
|
||||
}
|
||||
|
||||
private boolean processGroup(final FileGroup group, final List<? extends IncomingChangeListData> incomingData,
|
||||
private boolean processGroup(final FileGroup group, final List<IncomingChangeListData> incomingData,
|
||||
final ReceivedChangeListTracker tracker) {
|
||||
boolean haveUnaccountedUpdatedFiles = false;
|
||||
final List<Pair<String,VcsRevisionNumber>> list = group.getFilesAndRevisions(myVcsManager);
|
||||
@@ -597,7 +605,7 @@ public class ChangesCacheFile {
|
||||
|
||||
private static boolean processFile(final FilePath path,
|
||||
final VcsRevisionNumber number,
|
||||
final List<? extends IncomingChangeListData> incomingData,
|
||||
final List<IncomingChangeListData> incomingData,
|
||||
final ReceivedChangeListTracker tracker) {
|
||||
boolean foundRevision = false;
|
||||
debug("Processing updated file " + path + ", revision " + number);
|
||||
@@ -621,7 +629,7 @@ public class ChangesCacheFile {
|
||||
}
|
||||
|
||||
private static boolean processDeletedFile(final FilePath path,
|
||||
final List<? extends IncomingChangeListData> incomingData,
|
||||
final List<IncomingChangeListData> incomingData,
|
||||
final ReceivedChangeListTracker tracker) {
|
||||
boolean foundRevision = false;
|
||||
for(IncomingChangeListData data: incomingData) {
|
||||
@@ -738,7 +746,7 @@ public class ChangesCacheFile {
|
||||
|
||||
@NonNls
|
||||
private File getPartialPath(final long offset) {
|
||||
return new File(myPath + "." + offset + ".partial");
|
||||
return new File(file + "." + offset + ".partial");
|
||||
}
|
||||
|
||||
public boolean refreshIncomingChanges() throws IOException, VcsException {
|
||||
@@ -758,7 +766,7 @@ public class ChangesCacheFile {
|
||||
return myRootPath;
|
||||
}
|
||||
|
||||
private static class RefreshIncomingChangesOperation {
|
||||
private static final class RefreshIncomingChangesOperation {
|
||||
private final Set<FilePath> myDeletedFiles = new HashSet<>();
|
||||
private final Set<FilePath> myCreatedFiles = new HashSet<>();
|
||||
private final Set<FilePath> myReplacedFiles = new HashSet<>();
|
||||
@@ -812,7 +820,7 @@ public class ChangesCacheFile {
|
||||
return myAnyChanges;
|
||||
}
|
||||
|
||||
private boolean refreshIncomingInFile(Collection<FilePath> incomingFiles, List<? extends IncomingChangeListData> list) throws IOException {
|
||||
private boolean refreshIncomingInFile(Collection<FilePath> incomingFiles, List<IncomingChangeListData> list) throws IOException {
|
||||
// the incoming changelist pointers are actually sorted in reverse chronological order,
|
||||
// so we process file delete changes before changes made to deleted files before they were deleted
|
||||
|
||||
@@ -1116,14 +1124,14 @@ public class ChangesCacheFile {
|
||||
}
|
||||
}
|
||||
|
||||
private static class IndexEntry {
|
||||
private static final class IndexEntry {
|
||||
long number;
|
||||
long date;
|
||||
long offset;
|
||||
boolean completelyDownloaded;
|
||||
}
|
||||
|
||||
private static class IncomingChangeListData {
|
||||
private static final class IncomingChangeListData {
|
||||
public long indexOffset;
|
||||
public IndexEntry indexEntry;
|
||||
public CommittedChangeList changeList;
|
||||
@@ -1136,10 +1144,10 @@ public class ChangesCacheFile {
|
||||
|
||||
private static final IndexEntry[] NO_ENTRIES = new IndexEntry[0];
|
||||
|
||||
private static class VersionMismatchException extends RuntimeException {
|
||||
private static final class VersionMismatchException extends RuntimeException {
|
||||
}
|
||||
|
||||
private static class ReceivedChangeListTracker {
|
||||
private static final class ReceivedChangeListTracker {
|
||||
private final Map<CommittedChangeList, ReceivedChangeList> myMap = new HashMap<>();
|
||||
|
||||
public void addChange(CommittedChangeList changeList, Change change) {
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="library" name="gson" level="project" />
|
||||
<orderEntry type="library" name="commons-codec" level="project" />
|
||||
<orderEntry type="library" name="commons-compress" level="project" />
|
||||
<orderEntry type="library" name="kotlinx-html-jvm" level="project" />
|
||||
<orderEntry type="library" name="commons-lang3" level="project" />
|
||||
|
||||
@@ -104,7 +104,7 @@ abstract class BaseCompletionGolfFileReportGenerator(
|
||||
span(statsClass) {
|
||||
button(classes = "stats-value") {
|
||||
onClick = "invertRows(event, '$statsClass')"
|
||||
+((it.value * 100).format() + "%")
|
||||
+(formatDouble((it.value * 100)) + "%")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,9 +26,9 @@ class CompletionGolfFileReportGenerator(
|
||||
val totalLatency = TotalLatencyMetric().evaluate(listOf(session))
|
||||
|
||||
val info = mutableListOf<String>().apply {
|
||||
add("${(movesCountNormalised * 100).format()}%".padEnd(4, ' '))
|
||||
add("${formatDouble((movesCountNormalised * 100))}%".padEnd(4, ' '))
|
||||
add("$movesCount act")
|
||||
add("${(totalLatency / 1000).format()}s".padEnd(4, ' '))
|
||||
add("${formatDouble((totalLatency / 1000))}s".padEnd(4, ' '))
|
||||
}
|
||||
|
||||
return info
|
||||
|
||||
@@ -6,13 +6,13 @@ import com.intellij.cce.workspace.info.FileEvaluationInfo
|
||||
import com.intellij.cce.workspace.storages.FeaturesStorage
|
||||
import kotlinx.html.*
|
||||
import kotlinx.html.stream.createHTML
|
||||
import org.apache.commons.codec.binary.Base64OutputStream
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.File
|
||||
import java.io.FileWriter
|
||||
import java.io.OutputStreamWriter
|
||||
import java.nio.file.Path
|
||||
import java.text.DecimalFormat
|
||||
import java.util.*
|
||||
import java.util.zip.GZIPOutputStream
|
||||
|
||||
abstract class FileReportGenerator(
|
||||
@@ -86,15 +86,13 @@ abstract class FileReportGenerator(
|
||||
|
||||
protected fun zipJson(json: String): String {
|
||||
val resultStream = ByteArrayOutputStream()
|
||||
OutputStreamWriter(GZIPOutputStream(Base64OutputStream(resultStream))).use {
|
||||
OutputStreamWriter(GZIPOutputStream(Base64.getEncoder().wrap(resultStream))).use {
|
||||
it.write(json)
|
||||
}
|
||||
return resultStream.toString()
|
||||
}
|
||||
|
||||
protected fun Double.format() = DecimalFormat("0.##").format(this)
|
||||
|
||||
companion object {
|
||||
private val sessionSerializer = SessionSerializer()
|
||||
}
|
||||
protected fun formatDouble(d: Double): String = DecimalFormat("0.##").format(d)
|
||||
}
|
||||
|
||||
private val sessionSerializer = SessionSerializer()
|
||||
|
||||
@@ -25,9 +25,9 @@ class LineCompletionFileReportGenerator(
|
||||
val totalLatency = TotalLatencyMetric().evaluate(listOf(session))
|
||||
|
||||
val info = mutableListOf<String>().apply {
|
||||
add("${(matchedRatio * 100).format()}%".padEnd(4, ' '))
|
||||
add("${(similarity * 100).format()}%".padEnd(4, ' '))
|
||||
add("${(totalLatency / 1000).format()}s".padEnd(4, ' '))
|
||||
add("${formatDouble((matchedRatio * 100))}%".padEnd(4, ' '))
|
||||
add("${formatDouble((similarity * 100))}%".padEnd(4, ' '))
|
||||
add("${formatDouble((totalLatency / 1000))}s".padEnd(4, ' '))
|
||||
}
|
||||
|
||||
return info
|
||||
|
||||
@@ -39,7 +39,7 @@ class MultiLineFileReportGenerator(
|
||||
listOf(
|
||||
"${(evaluate(CharFScore()) * 100).roundToInt()}%",
|
||||
"${(evaluate(EditSimilarity()) * 100).roundToInt()}%",
|
||||
"${(evaluate(TotalLatencyMetric()) / 1000).format()}s"
|
||||
"${formatDouble((evaluate(TotalLatencyMetric()) / 1000))}s"
|
||||
).joinToString(" ", transform = { it.padEnd(4) }) to color()
|
||||
}
|
||||
|
||||
|
||||
@@ -15,9 +15,7 @@
|
||||
</stringArguments>
|
||||
<arrayArguments>
|
||||
<arrayArg name="pluginClasspaths">
|
||||
<args>
|
||||
<arg>$KOTLIN_BUNDLED$/lib/kotlinx-serialization-compiler-plugin.jar</arg>
|
||||
</args>
|
||||
<args>$KOTLIN_BUNDLED$/lib/kotlinx-serialization-compiler-plugin.jar</args>
|
||||
</arrayArg>
|
||||
<arrayArg name="pluginOptions" />
|
||||
</arrayArguments>
|
||||
@@ -64,7 +62,6 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.tasks.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.tasks" scope="TEST" />
|
||||
<orderEntry type="library" scope="TEST" name="assertJ" level="project" />
|
||||
<orderEntry type="library" name="commons-codec" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.diff.impl" />
|
||||
<orderEntry type="library" name="jackson" level="project" />
|
||||
<orderEntry type="library" name="jackson-databind" level="project" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package git4idea.history
|
||||
|
||||
import com.intellij.openapi.util.io.FileUtil
|
||||
@@ -6,13 +6,13 @@ import com.intellij.openapi.util.text.StringUtil
|
||||
import com.intellij.openapi.vcs.VcsException
|
||||
import com.intellij.openapi.vcs.changes.Change
|
||||
import com.intellij.testFramework.UsefulTestCase
|
||||
import com.intellij.util.io.DigestUtil
|
||||
import git4idea.history.GitLogParser.*
|
||||
import git4idea.history.GitLogParser.GitLogOption.*
|
||||
import git4idea.history.GitLogParser.NameStatus.NONE
|
||||
import git4idea.history.GitLogParser.NameStatus.STATUS
|
||||
import git4idea.test.GitPlatformTest
|
||||
import junit.framework.TestCase
|
||||
import org.apache.commons.codec.digest.DigestUtils
|
||||
import java.io.File
|
||||
import java.util.*
|
||||
|
||||
@@ -350,7 +350,7 @@ private fun createTestRecord(vararg parameters: Pair<GitLogOption, Any>,
|
||||
Pair(COMMITTER_NAME, "John Doe"),
|
||||
Pair(COMMITTER_EMAIL, "John.Doe@example.com"))
|
||||
parameters.associateTo(data) { it }
|
||||
data[HASH] = DigestUtils.sha1Hex(data.toString())
|
||||
data[HASH] = DigestUtil.sha1Hex(data.toString())
|
||||
return GitTestLogRecord(data, changes, newRefsFormat)
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.statistics" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
|
||||
<orderEntry type="library" name="kotlinx-coroutines-core" level="project" />
|
||||
<orderEntry type="library" name="commons-codec" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.diagnostic" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.coroutines" />
|
||||
</component>
|
||||
|
||||
@@ -6,7 +6,6 @@ import io.opentelemetry.api.OpenTelemetry;
|
||||
import io.opentelemetry.context.propagation.TextMapPropagator;
|
||||
import io.opentelemetry.exporter.internal.marshal.MarshalerWithSize;
|
||||
import io.opentelemetry.exporter.internal.otlp.traces.TraceRequestMarshaler;
|
||||
import io.opentelemetry.extension.incubator.trace.ExtendedSpan;
|
||||
import io.opentelemetry.sdk.OpenTelemetrySdk;
|
||||
import io.opentelemetry.sdk.common.Clock;
|
||||
import io.opentelemetry.sdk.logs.SdkLoggerProvider;
|
||||
@@ -19,7 +18,6 @@ import java.util.Collection;
|
||||
public final class MavenServerTelemetryClasspathUtil {
|
||||
public static final Collection<Class<?>> TELEMETRY_CLASSES = Arrays.asList(
|
||||
SpanExporter.class,
|
||||
ExtendedSpan.class,
|
||||
TextMapPropagator.class,
|
||||
OpenTelemetry.class,
|
||||
OpenTelemetrySdk.class,
|
||||
|
||||
Reference in New Issue
Block a user