You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enabled download of includes over HTTP (#605) (#958)
* Enabled download of includes over HTTP
* Added option --git-over-http (default: false)
* When active: Include-Parser uses git spare-checkout instead of git archive
* fixed linter problems
* autodetecting whether sparse checkout should be preferred
* CLI option still available but hidden
* Removed CLI option regardin sparse checkout
* only auto-detection left over
* refactored: parser-includes relies only on git-data
* refactored: git-data detects schema on basis of firecow's proposed regexp
* fix/workaround: test on invalid project includes passes now
* The test attempted to compare an expected error text
with the assertion error's message.
* The assertion error's message might have changed previously,
so the test failed
* Analysis of the current logs of failing tests in the pipeline
shows that different reasons might lead to an expected failure
when calling 'git archive':
* the server doesn't exist or isn't reachable (which could timeout), then error message contains
- ssh: Could not resolve hostname <non-existing-hostname>: Name or service not known
- fatal: the remote end hung up unexpectedly
* the credentials for the server are wrong, then error message contains:
- [email protected]: Permission denied (publickey).
- fatal: the remote end hung up unexpectedly
* the repository doesn't exist on the server, then error message contains:
- ERROR: The project you were looking for could not be found or you don't have permission to view it.
- fatal: the remote end hung up unexpectedly
* the file doesn't exist on the server, then error message contains:
=> remote: fatal: pathspec '.gitlab-modue.yml' did not match any files
* Thus it seems OK to test against the 'fatal.*' only
* preparing back-merge as discussed with firecow
* using clearer if clauses for schema default ports
* fixed target path for tar call
---------
Co-authored-by: docdnp <[email protected]>
Co-authored-by: Mads Jon Nielsen <[email protected]>
0 commit comments