Skip to content

Commit

Permalink
remove migration related components
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 5, 2024
1 parent 5e502a2 commit 166bc61
Show file tree
Hide file tree
Showing 17 changed files with 7 additions and 428 deletions.
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
"src/common/schemas/task_info.yaml": "src/**/api/task_info.yaml",
"src/common/schemas/task_method.yaml": "src/tasks/**/methods/**/config.vsh.yaml",
"src/common/schemas/task_control_method.yaml": "src/tasks/**/control_methods/**/config.vsh.yaml",
"src/common/schemas/task_metric.yaml": "src/tasks/**/metrics/**/config.vsh.yaml"
"src/common/schemas/task_metric.yaml": "src/tasks/**/metrics/**/config.vsh.yaml",
"/home/rcannood/.viash/releases/0.8.0/schema.json": [
"*.vsh.yaml"
],
"/home/rcannood/.viash/releases/0.8.6/schema.json": [
"*.vsh.yaml"
]
}
}
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Structure:
* src/common: Common components used by all tasks.
* src/datasets: Components for fetching and processing datasets.
* src/tasks/*: Benchmarking tasks
* src/migration: Components for migrating from v1 to v2.
* src/wf_utils: Workflow utilities.

Migrates tasks:
Expand Down
20 changes: 0 additions & 20 deletions src/common/schemas/defs_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,26 +117,6 @@ definitions:
format: uri
pattern: "^https://"
description: The url to the repository of the used software library.
MigrationV1:
type: object
required: [path, commit]
properties:
additionalProperties: false
path:
type: string
description: |
If this component was migrated from the OpenProblems v1 repository, this value
represents the location of the Python file relative to the root of the repository.
commit:
type: string
description: |
If this component was migrated from the OpenProblems v1 repository, this value
is the Git commit SHA of the v1 repository corresponding to when this component
was last updated.
note:
type: string
description: |
An optional note on any changes made during the migration.
MethodVariants:
type: object
description: Alternative parameter sets which should be evaluated in the benchmark.
Expand Down
2 changes: 0 additions & 2 deletions src/common/schemas/task_control_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ properties:
"$ref": "defs_common.yaml#/definitions/DocumentationURL"
repository_url:
"$ref": "defs_common.yaml#/definitions/RepositoryURL"
v1:
"$ref": "defs_common.yaml#/definitions/MigrationV1"
variants:
"$ref": "defs_common.yaml#/definitions/MethodVariants"
arguments:
Expand Down
2 changes: 0 additions & 2 deletions src/common/schemas/task_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ properties:
$ref: "defs_common.yaml#/definitions/Description"
description:
$ref: "defs_common.yaml#/definitions/Description"
v1:
$ref: "defs_common.yaml#/definitions/MigrationV1"
authors:
type: array
items:
Expand Down
2 changes: 0 additions & 2 deletions src/common/schemas/task_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ properties:
"$ref": "defs_common.yaml#/definitions/DocumentationURL"
repository_url:
"$ref": "defs_common.yaml#/definitions/RepositoryURL"
v1:
"$ref": "defs_common.yaml#/definitions/MigrationV1"
variants:
"$ref": "defs_common.yaml#/definitions/MethodVariants"
arguments:
Expand Down
2 changes: 0 additions & 2 deletions src/common/schemas/task_metric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ properties:
maximize:
type: boolean
description: Whether a higher metric value is better.
v1:
"$ref": "defs_common.yaml#/definitions/MigrationV1"
arguments:
type: array
description: Component-specific parameters.
Expand Down
14 changes: 0 additions & 14 deletions src/migration/check_migration.sh

This file was deleted.

30 changes: 0 additions & 30 deletions src/migration/check_migration_status/config.vsh.yaml

This file was deleted.

60 changes: 0 additions & 60 deletions src/migration/check_migration_status/script.py

This file was deleted.

34 changes: 0 additions & 34 deletions src/migration/check_migration_status/test.py

This file was deleted.

39 changes: 0 additions & 39 deletions src/migration/list_git_shas/config.vsh.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions src/migration/list_git_shas/script.py

This file was deleted.

32 changes: 0 additions & 32 deletions src/migration/list_git_shas/test.py

This file was deleted.

25 changes: 0 additions & 25 deletions src/migration/update_bibtex/config.vsh.yaml

This file was deleted.

Loading

0 comments on commit 166bc61

Please sign in to comment.