-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Replace SVN with Git for installing extra test images #6918
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
13 commits
Select commit
Hold shift + click to select a range
c896601
Replace SVN with Git for installing extra test images
hugovk 120d56b
Sort dependencies
hugovk 7e35e15
Replace subversion with wget package
hugovk e922714
Merge branch 'main' into rm-svn
radarhere 772567a
Switched to python-pillow repositories
radarhere da6d83f
Merge pull request #92 from radarhere/rm-svn
hugovk cc71b4c
Simpler URL
hugovk e79460e
Removed wget dependency
radarhere e7d2750
Updated test images origin
radarhere ed1d663
Use checkout action for test-images repository
radarhere ed3cd75
Use 'rmdir' instead of 'rm -r'
hugovk f679e41
Use 'rmdir' instead of 'rm -r'
hugovk 3934964
Merge pull request #93 from radarhere/rm-svn
hugovk 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
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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
hugovk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# install extra test images | ||
|
||
# Use SVN to just fetch a single Git subdirectory | ||
svn_export() | ||
{ | ||
if [ ! -z $1 ]; then | ||
echo "" | ||
echo "Retrying svn export..." | ||
echo "" | ||
fi | ||
|
||
svn export --force https://github.com/python-pillow/pillow-depends/trunk/test_images ../Tests/images | ||
} | ||
svn_export || svn_export retry || svn_export retry || svn_export retry | ||
archive=test-images-main | ||
|
||
./download-and-extract.sh $archive https://github.com/python-pillow/test-images/archive/main.tar.gz | ||
|
||
mv $archive/* ../Tests/images/ | ||
|
||
# Cleanup old tarball and empty directory | ||
rm $archive.tar.gz | ||
rmdir $archive |
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.