-
Notifications
You must be signed in to change notification settings - Fork 22
Allow for leading slashes in .distignore, and deal gracefully with symlinks #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
84cc92a
Tests + correct command syntax
BrianHenryIE 956385a
Check is there a symlink in the plugin; copy non-ignored files to temp
BrianHenryIE 666273b
Test for symlink bug
BrianHenryIE 5c9e80e
lint
BrianHenryIE a23834b
Allow exceptions to PHP's `escapeshellcmd()`
BrianHenryIE 5d20cea
Handle `*` and `/` better in `$is_ignore_file`
BrianHenryIE 54e5785
phpcbf
BrianHenryIE e67f300
Tests + correct command syntax
BrianHenryIE a1f922b
Allow exceptions to PHP's `escapeshellcmd()`
BrianHenryIE dd96e86
Update src/Dist_Archive_Command.php
BrianHenryIE 8653509
Update src/Dist_Archive_Command.php
BrianHenryIE c8fd1f6
Merge branch 'main' into copy-to-tmp
BrianHenryIE 1482a8a
Merge branch 'main' into anchor-distignore-entries-to-root
BrianHenryIE e002815
Fix failing tests
BrianHenryIE 62869be
Merge branch 'anchor-distignore-entries-to-root' of https://github.co…
BrianHenryIE c0dc81f
Merge branch 'copy-to-tmp' of https://github.com/BrianHenryIE/dist-ar…
BrianHenryIE e38e985
Merge branch 'anchor-distignore-entries-to-root' into pr-58-and-59
BrianHenryIE 6037524
Move is_ignored_file to its own method
BrianHenryIE 3f65e62
Do not escape `*` from shell commands; fix excluding directories from…
BrianHenryIE 80332fb
Tests for hidden files.
BrianHenryIE 5eab0e6
Add 12 PHPUnit tests for `is_ignored_file`.
BrianHenryIE 70817ae
Move `is_path_contains_symlink` to protected function.
BrianHenryIE 3749ff5
Add `behat-rerun` to `composer.json`
BrianHenryIE 280a6f9
Split failing Scenario Outline Example into its own Scenario
BrianHenryIE 4f2e88e
Remove Scenario Outline related to previous commit
BrianHenryIE 012694d
Use `php_uname( 's' )` to test for Linux for `tar` commands
BrianHenryIE fd6db41
Revert split of test.
BrianHenryIE 2c9d11a
Merge remote-tracking branch 'upstream/main' into pr-58-and-59
BrianHenryIE 6c32a1d
Prevent error notice on PHP 8.1 when `$version` is null
danielbachhuber 71a3ae1
Ignore these PHPCS errors
danielbachhuber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd" | ||
| bootstrap="tests/bootstrap.php" | ||
| beStrictAboutTestsThatDoNotTestAnything="true" | ||
| beStrictAboutOutputDuringTests="true" | ||
| beStrictAboutChangesToGlobalState="false"> | ||
| <testsuites> | ||
| <testsuite name="all"> | ||
| <directory prefix="spec-" suffix=".php">tests/</directory> | ||
| <directory prefix="test-" suffix=".php">tests/</directory> | ||
| <directory suffix="Test.php">tests/</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
| </phpunit> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.