Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to the new record_ecosystem_versions endpoint #98

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/smoke-bundler-group-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
bundler: "2"
ecosystem_versions:
package_managers:
bundler: "2"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-bundler-group-vendoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
bundler: "2"
ecosystem_versions:
package_managers:
bundler: "2"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-bundler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
bundler: "2"
ecosystem_versions:
package_managers:
bundler: "2"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-cargo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
cargo: default
ecosystem_versions:
package_managers:
cargo: default
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-go-close-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
gomod: "1.12"
ecosystem_versions:
package_managers:
gomod: "1.12"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-go-group-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
gomod: "1.12"
ecosystem_versions:
package_managers:
gomod: "1.12"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-go-security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
gomod: "1.12"
ecosystem_versions:
package_managers:
gomod: "1.12"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-go-update-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
gomod: "1.12"
ecosystem_versions:
package_managers:
gomod: "1.12"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
gomod: "1.12"
ecosystem_versions:
package_managers:
gomod: "1.12"
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-npm-group-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
npm: 8
ecosystem_versions:
package_managers:
npm: 8
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-npm-remove-transitive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ input:
directory: /npm/removed
commit: 4e5e081d77a06dd5092a65e161c1142fbec372bd
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
npm: 8
ecosystem_versions:
package_managers:
npm: 8
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
npm: 8
ecosystem_versions:
package_managers:
npm: 8
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-pnpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
pnpm: 8.3.1
ecosystem_versions:
package_managers:
pnpm: 8.3.1
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-yarn-berry-workspaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
yarn: 3.3.1
ecosystem_versions:
package_managers:
yarn: 3.3.1
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-yarn-berry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
yarn: 3.3.0
ecosystem_versions:
package_managers:
yarn: 3.3.0
- type: update_dependency_list
expect:
data:
Expand Down
8 changes: 4 additions & 4 deletions tests/smoke-yarn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ input:
type: git_source
username: x-access-token
output:
- type: record_package_manager_version
- type: record_ecosystem_versions
expect:
data:
ecosystem: deprecated
package-managers:
yarn: 1
ecosystem_versions:
package_managers:
yarn: 1
- type: update_dependency_list
expect:
data:
Expand Down