Skip to content

(.ts) TypeScript files are not correctly vendored #5323

Answered by lildude
xuyxu asked this question in Classification
Discussion options

You must be logged in to vote

despite the fact that the directory containing all typescript files is already marked as vendored in our .gitattributes.

Almost. Your override isn't recursive so it's only marking the files within sktime/datasets/data/ itself as vendored.

As per the .gitattributes documentation:

The rules by which the pattern matches paths are the same as in .gitignore files (see gitignore[5]), with a few exceptions:

  • negative patterns are forbidden
  • patterns that match a directory do not recursively match paths inside that directory (so using the trailing-slash path/ syntax is pointless in an attributes file; use path/** instead)

From the .gitignore docs:

An asterisk "*" matches anything except a sl…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@xuyxu
Comment options

@lildude
Comment options

@xuyxu
Comment options

Answer selected by xuyxu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants