-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dependabot:main' into settings-gradle-kts
- v0.297.0
- v0.296.3
- v0.296.2
- v0.296.1
- v0.296.0
- v0.295.0
- v0.294.0
- v0.293.0
- v0.292.0
- v0.291.0
- v0.290.0
- v0.289.0
- v0.288.0
- v0.287.0
- v0.286.0
- v0.285.0
- v0.284.0
- v0.283.0
- v0.282.0
- v0.281.0
- v0.280.0
- v0.279.0
- v0.278.0
- v0.277.0
- v0.276.0
- v0.275.0
- v0.274.0
- v0.273.0
- v0.272.0
- v0.271.0
- v0.270.0
- v0.269.0
- v0.268.0
- v0.267.0
- v0.266.0
- v0.265.0
- v0.264.0
- v0.263.0
- v0.262.0
- v0.261.1
- v0.261.0
- v0.260.0
- v0.259.0
- v0.258.0
- v0.257.0
- v0.256.0
- v0.255.0
- v0.254.0
- v0.253.0
- v0.252.0
- v0.251.0
- v0.250.0
- v0.249.0
- v0.248.0
- v0.247.0
- v0.246.0
- v0.245.0
- v0.244.0
- v0.243.0
- v0.242.1
- v0.242.0
- v0.241.0
- v0.240.0
- v0.239.0
- v0.238.0
- v0.237.0
- v0.236.0
- v0.235.0
- v0.234.0
- v0.233.0
- v0.232.0
- v0.231.0
- v0.230.0
- v0.229.0
- v0.228.0
- v0.227.0
- v0.226.0
- v0.225.0
- v0.224.0
- v0.223.0
- v0.222.0
- v0.221.0
- v0.220.0
- v0.219.0
- v0.218.0
- v0.217.0
- v0.216.2
- v0.216.1
- v0.216.0
- v0.215.0
- v0.214.0
- v0.213.0
- v0.212.0
- v0.211.0
- v0.210.0
- v0.209.0
- v0.208.0
- v0.207.0
- v0.206.0
- v0.205.1
- v0.205.0
- v0.204.0
- v0.203.0
- v0.202.0
- v0.201.1
- v0.201.0
- v0.200.0
- v0.199.0
- v0.198.0
- v0.197.0
- v0.196.4
- v0.196.3
- v0.196.2
- v0.196.1
- v0.196.0
- v0.195.0
- v0.194.1
- v0.194.0
- v0.193.0
- v0.192.1
- v0.192.0
- v0.191.1
- v0.191.0
- v0.190.1
- v0.190.0
- v0.189.0
- v0.188.0
- v0.187.0
- v0.186.1
- v0.186.0
- v0.185.0
- v0.184.0
- v0.183.0
- v0.182.4
- v0.182.3
- v0.182.2
- v0.182.1
- v0.182.0
- v0.181.0
- v0.180.5
- v0.180.4
- v0.180.3
- v0.180.2
- v0.180.1
- v0.180.0
- v0.179.0
- v0.178.1
- v0.178.0
- v0.177.0
- v0.176.0
- v0.175.0
- v0.174.1
- v0.174.0
- v0.173.0
- v0.172.2
- v0.172.1
- v0.172.0
- v0.171.5
- v0.171.4
- v0.171.3
- v0.171.2
- v0.171.1
- v0.171.0
- v0.170.2
- v0.170.1
- v0.170.0
- v0.169.8
- v0.169.7
- v0.169.6
- v0.169.5
- v0.169.4
- v0.169.3
- v0.169.2
- v0.169.1
- v0.169.0
- v0.168.0
Showing
37 changed files
with
670 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# frozen_string_literal: true | ||
|
||
require "spec_helper" | ||
require "dependabot/bundler/native_helpers" | ||
|
||
RSpec.describe Dependabot::Bundler::NativeHelpers do | ||
subject { described_class } | ||
|
||
describe ".run_bundler_subprocess" do | ||
let(:options) { {} } | ||
|
||
before do | ||
allow(Dependabot::SharedHelpers).to receive(:run_helper_subprocess) | ||
|
||
subject.run_bundler_subprocess( | ||
function: "noop", | ||
args: [], | ||
bundler_version: "2.0.0", | ||
options: options | ||
) | ||
end | ||
|
||
context "with a timeout provided" do | ||
let(:options) { { timeout_per_operation_seconds: 120 } } | ||
|
||
it "terminates the spawned process when the timeout is exceeded" do | ||
expect(Dependabot::SharedHelpers). | ||
to have_received(:run_helper_subprocess). | ||
with( | ||
command: "timeout -s HUP 120 bundle exec ruby /opt/bundler/v2/run.rb", | ||
function: "noop", | ||
args: [], | ||
env: anything | ||
) | ||
end | ||
end | ||
|
||
context "with a timeout that is too high" do | ||
let(:thirty_minutes_plus_one_second) { 1801 } | ||
let(:options) do | ||
{ | ||
timeout_per_operation_seconds: thirty_minutes_plus_one_second | ||
} | ||
end | ||
|
||
it "applies the maximum timeout" do | ||
expect(Dependabot::SharedHelpers). | ||
to have_received(:run_helper_subprocess). | ||
with( | ||
command: "timeout -s HUP 1800 bundle exec ruby /opt/bundler/v2/run.rb", | ||
function: "noop", | ||
args: [], | ||
env: anything | ||
) | ||
end | ||
end | ||
|
||
context "with a timeout that is too low" do | ||
let(:fifty_nine_seconds) { 59 } | ||
let(:options) do | ||
{ | ||
timeout_per_operation_seconds: fifty_nine_seconds | ||
} | ||
end | ||
|
||
it "applies the minimum timeout" do | ||
expect(Dependabot::SharedHelpers). | ||
to have_received(:run_helper_subprocess). | ||
with( | ||
command: "timeout -s HUP 60 bundle exec ruby /opt/bundler/v2/run.rb", | ||
function: "noop", | ||
args: [], | ||
env: anything | ||
) | ||
end | ||
end | ||
|
||
context "without a timeout" do | ||
let(:options) { {} } | ||
|
||
it "does not apply a timeout" do | ||
expect(Dependabot::SharedHelpers). | ||
to have_received(:run_helper_subprocess). | ||
with( | ||
command: "bundle exec ruby /opt/bundler/v2/run.rb", | ||
function: "noop", | ||
args: [], | ||
env: anything | ||
) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module Dependabot | ||
VERSION = "0.164.1" | ||
VERSION = "0.167.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.dependabot</groupId> | ||
<artifactId>basic-pom</artifactId> | ||
<version>0.0.1-RELEASE</version> | ||
<name>Dependabot Basic POM</name> | ||
|
||
<properties> | ||
<kotlin.version>1.4.30</kotlin.version> | ||
</properties> | ||
|
||
<packaging>pom</packaging> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>23.3-jre</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpclient</artifactId> | ||
<version>4.5.3</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>io.mockk</groupId> | ||
<artifactId>mockk</artifactId> | ||
<version>1.0.0</version> | ||
<classifier>sources</classifier> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.jetbrains.kotlin</groupId> | ||
<artifactId>kotlin-maven-allopen</artifactId> | ||
<version>${kotlin.version}</version> | ||
</dependency> | ||
</dependencies> | ||
<configuration> | ||
<jvmTarget>11</jvmTarget> | ||
<compilerPlugins> | ||
<plugin>spring</plugin> | ||
</compilerPlugins> | ||
</configuration> | ||
<groupId>org.jetbrains.kotlin</groupId> | ||
<artifactId>kotlin-maven-plugin</artifactId> | ||
<version>${kotlin.version}</version> | ||
<executions> | ||
<execution> | ||
<id>compile</id> | ||
<phase>compile</phase> | ||
<goals> | ||
<goal>compile</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>test-compile</id> | ||
<phase>test-compile</phase> | ||
<goals> | ||
<goal>test-compile</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
nuget/spec/fixtures/csproj/sdk_reference_via_import.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project> | ||
|
||
<Import Project="Awesome.props" Sdk="Awesome.Sdk" Version="1.2.3" /> | ||
|
||
<PropertyGroup> | ||
<Description>Very simple project using a custom SDK.</Description> | ||
</PropertyGroup> | ||
|
||
<Import Project="Prototype.targets" Sdk="Prototype.Sdk" Version="0.1.0-beta" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk;Awesome.Sdk/1.2.3;Prototype.Sdk/0.1.0-beta"> | ||
|
||
<PropertyGroup> | ||
<Description>Very simple project using a custom SDK.</Description> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project> | ||
|
||
<Sdk Name="Awesome.Sdk" Version="1.2.3" /> | ||
|
||
<PropertyGroup> | ||
<Description>Very simple project using a custom SDK.</Description> | ||
</PropertyGroup> | ||
|
||
<Sdk Name="Prototype.Sdk" Version="0.1.0-beta" /> | ||
|
||
</Project> |
13 changes: 13 additions & 0 deletions
13
nuget/spec/fixtures/csproj/sdk_references_of_all_kinds.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Foo.Bar/1.1.1;X;Foo.Bar/1.1.1;Y;Foo.Bar/1.1.1"> | ||
|
||
<Sdk Version="1.1.1" Name="Foo.Bar" /> | ||
<Sdk Name="Foo.Bar" Version="1.1.1" /> | ||
|
||
<PropertyGroup> | ||
<Description>MSBuild SDKs Galore!</Description> | ||
</PropertyGroup> | ||
|
||
<Import Project="X" Version="1.1.1" Sdk="Foo.Bar" /> | ||
<Import Sdk="Foo.Bar" Project="Y" Version="1.1.1" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters