Skip to content

Consider making file regex more permissive #453

@Matistjati

Description

@Matistjati

After having used the new problemtools, which strictly enforces the regex, it seems to be stricter than what people use in practice. In particular, disallowing files starting with a . or underscore seems to be annoying. Some examples:

  • Historically, the Swedish olympiad has renamed generators to _donotuse_generator.sh after the data was generated and final
  • .gitignore files have been used by the Swedish Olympiad on a per-problem basis
  • I seem to recall domjudge having some dotfile related to time limit, but I might be remembering wrong

These are the examples I am aware of, but surely there are more. I'm not aware of the rationale behind disallowing this. If there is no strong reason, maybe we should allow it?

Metadata

Metadata

Assignees

No one assigned

    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