Skip to content

Canonical Implementation of FileSpecs #9

Description

@eriq-augustine

The current canonical implementation of FileSpecs (File Specifications) lives in autograder-server:

That version is currently our fastest, most robust, and nicest.
However, it would be pretty useful to have a more portable version of FileSpecs.

There is another implementation in autograder-py:
https://github.com/edulinq/autograder-py/blob/main/autograder/filespec.py

We should:

  • Create an implementation in this repo.
  • Make it the canonical implementation.
  • Include CLI tools.
  • Include documentation.
  • Include a test suite (that can be mirrored/used in other implementations).

One of the most key things here is establishing a compromise in some behavior
(globs is usually where corner cases come in).
When in doubt, I would prioritize behavior that matches bash and other core POSIX utilities.

This is a sibling to #10 .

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions