Skip to content

[CI] Update tooling for v3 #2310

@cmccandless

Description

@cmccandless
Contributor

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

Activity

self-assigned this
on Jan 29, 2021
cmccandless

cmccandless commented on Jan 29, 2021

@cmccandless
ContributorAuthor

Additionally, it might be easier to maintain our CI workflows if we break out ci-workflow.yml into separate workflow files.

github-actions

github-actions commented on Mar 3, 2021

@github-actions
Contributor

This issue has been automatically marked as abandoned 🏚 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions

github-actions commented on Jun 26, 2021

@github-actions
Contributor

This issue has been automatically marked as abandoned 🏚 because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

BethanyG

BethanyG commented on Jun 27, 2021

@BethanyG
Member

Holding open for a bit.

BethanyG

BethanyG commented on Aug 26, 2021

@BethanyG
Member

@cmccandless - apologies for pinging. Can this be closed, or should I hold it open, but un-assign you?

BethanyG

BethanyG commented on Apr 17, 2022

@BethanyG
Member

Closing this as no longer relevant given the changes made to configlet and other re-arranging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      Participants

      @BethanyG@cmccandless

      Issue actions

        [CI] Update tooling for v3 · Issue #2310 · exercism/python