File tree Expand file tree Collapse file tree 3 files changed +10
-30
lines changed
Expand file tree Collapse file tree 3 files changed +10
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33List remote files for chosen package
44
55
6- because cram does not support multi-line regex matching we have to match this way
76 $ setup_git_test
87 > mkdir " $ cache /downgrade-1"
98 > mkdir " $ cache /downgrade-other"
10- > DOWNGRADE_FROM_GIT =1 search_git 'downgrade' > file .matches
11- > grep -vP ' /tmp /.*/downgrade- ([a-zA-Z0-9. ]+ )- .+-any .gitpkg .tar .gz' file .matches
12- > echo end
13- end
14-
9+ > DOWNGRADE_FROM_GIT= 1 search_git ' downgrade' | head -n2
10+ /tmp /*/ downgrade-5. 1. 3-0bdb507-any. gitpkg. tar. gz (glob)
11+ /tmp /*/ downgrade-5. 1. 4-dee7bd9-any. gitpkg. tar. gz (glob)
Original file line number Diff line number Diff line change @@ -13,22 +13,19 @@ With a version string included
1313 $ search_git ' downgrade' | filter_packages ' downgrade' ' ==' ' 5.1.3'
1414 /tmp /*/ downgrade-5. 1. 3-0bdb507-any. gitpkg. tar. gz (glob)
1515
16- because cram does not support multi-line regex matching we have to match this way
17- $ search_git 'downgrade' | filter_packages 'downgrade' ' >=' '6 .0 .0' > file .matches
18- > grep -vP ' /tmp /.*/downgrade- (6.0 . 0| ([6 -9]| [1 -9][0 -9]+ ).[0-9 .- ]+)- .*-any .gitpkg .tar .gz' file .matches
19- > echo end
20- end
16+ $ search_git ' downgrade' | filter_packages ' downgrade' ' >=' ' 6.0.0' | head -n3
17+ /tmp /*/ downgrade-6. 0. 0-096ab6d-any. gitpkg. tar. gz (glob)
18+ /tmp /*/ downgrade-6. 1. 0-4f09045-any. gitpkg. tar. gz (glob)
19+ /tmp /*/ downgrade-6. 2. 0-ac26c1c-any. gitpkg. tar. gz (glob)
2120
2221 $ search_git ' downgrade' | filter_packages ' downgrade' ' <=' ' 5.2.0'
2322 /tmp /*/ downgrade-5. 1. 3-0bdb507-any. gitpkg. tar. gz (glob)
2423 /tmp /*/ downgrade-5. 1. 4-dee7bd9-any. gitpkg. tar. gz (glob)
2524 /tmp /*/ downgrade-5. 2. 0-16b7466-any. gitpkg. tar. gz (glob)
2625
27- because cram does not support multi-line regex matching we have to match this way
28- $ search_git 'downgrade' | filter_packages 'downgrade' '>' '6.0.0' > file .matches
29- > grep -vP ' /tmp /.*/downgrade- ((?! 6\. 0\. 0)[0-9 .]+|([6 -9]| [1 -9][0 -9]+ ).[0-9 .- ]+)- .*-any .gitpkg .tar .gz' file .matches
30- > echo end
31- end
26+ $ search_git ' downgrade' | filter_packages ' downgrade' ' >' ' 6.0.0' | head -n2
27+ /tmp /*/ downgrade-6. 1. 0-4f09045-any. gitpkg. tar. gz (glob)
28+ /tmp /*/ downgrade-6. 2. 0-ac26c1c-any. gitpkg. tar. gz (glob)
3229
3330 $ search_git ' downgrade' | filter_packages ' downgrade' ' <' ' 5.2.0' | sort
3431 /tmp /*/ downgrade-5. 1. 3-0bdb507-any. gitpkg. tar. gz (glob)
You can’t perform that action at this time.
0 commit comments