Skip to content

Reorganize the x-common files #269

Closed
@kytrinyx

Description

@kytrinyx

At the moment all of the files are in the root directory, and this is getting pretty unweildy.

I'd like to suggest that we move to the following structure:

.
.
└── exercises
    ├── bob
    │   ├── canonical-data.json
    │   ├── description.md
    │   └── metadata.yaml
    ├── clock
    │   ├── canonical-data.json
    │   ├── description.md
    │   └── metadata.yaml
    └── ... etc ...

This will allow us to have additional files for any of the problems, should we wish to do so (e.g. some way of deprecating the problem).

This will, however, cause a bit of extra work:

  • Any generators that use the :slug.json to create the test suite will need to be adjusted.
  • The x-api (problems API) will need to look for the metadata files in the new location.
  • If we have other tools that use the metadata directly from x-common rather than going through the x-api, then we'll need to update those as well. I can't think of any.

Metadata

Metadata

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