Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

File system hygiene #29

Open
dra27 opened this issue Jun 15, 2019 · 2 comments
Open

File system hygiene #29

dra27 opened this issue Jun 15, 2019 · 2 comments

Comments

@dra27
Copy link
Member

dra27 commented Jun 15, 2019

See ocaml/opam-repository#14288 - it'd be helpful if Camelus warned about unexpected files in a pull request. The valid patterns would be:

  • Root files should probably a generate a highlighted note
  • /packages/FOO/BAR should be rejected, unless BAR is a directory or a .gitattributes file (the latter should probably generate a highlighted note too)
  • /packages/FOO/FOO.VERSION/BAR should be rejected, unless BAR is opam
@thomasblanc
Copy link
Collaborator

I'm currently implementing it (see ocaml/opam-repository#14626 for my first attempt, which prints every non-opam file). Yes, I know, I need to use proper markup formatting.

@dra27
Copy link
Member Author

dra27 commented Aug 21, 2019

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants