Skip to content

[CI] Update tooling for v3 #2310

Closed
Closed
@cmccandless

Description

@cmccandless

Changed components

  • Exercises are no longer in just one directory (exercises/). They are in either exercises/concept/ or exercises/practice/
  • Example solutions will now be under a .meta/ directory:
    • practice exercise example files will move from the directory itself (two-fer/example.py) to a new .meta/ directory. Optionally, files can be renamed to proof.py, demo.py, exemplar.py, or stay example.py.
    • concept exercise exemplars are currently located under concept/<exercise-slug>/.meta/exemplar.py (e.gconcept/currency-exchange/.meta/exemplar.py), and will remain there.
  • config.json's exercises field is no longer an array of exercises. It is an object with two properties: concept and practice. These each have the same format as the old exercises property.
  • Exercise READMEs vary by exercise type.
    • practice exercise READMES follow the conventions listed here
    • concept exercise READMES follow the conventions listed here

Scripts dependent on changes components:

  • bin/template_status.py
  • bin/generate_tests.py
  • test/check-exercises.py

Obsolete scripts

The following scripts are no longer needed:

  • bin/check-readmes.sh
  • bin/check-test-version.py (versions no longer used in problem-specifications)

Ambiguity

@ErikSchierboom, we have these scripts. Neither are needed for CI, but which (if either) should be kept for contributors/maintainers who need to run the new v3 configlet locally

  • bin/fetch-configlet
  • bin/fetch-canonical_data_syncer

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions