Lines Matching +full:- +full:q
2 # It compares the current master with the data/deleted.files file and cleans the file from any re-i…
4 # unless they are already listed there or are excluded from the release archives (export-ignore in …
6 # Finally, the list of newly removed entries receives a header "# removed on $(date -I)" with the c…
12 - master
17 runs-on: ubuntu-latest
19 - name: Checkout
22 fetch-depth: 0
24 - name: Cleaning list from re-introduced files
26 for E in $(git ls-tree -r master --name-only); do
27 if (git check-attr export-ignore "$E" | grep -q "export-ignore: set"); then
30 … grep -v "^$E$" data/deleted.files > data/deleted.files.tmp && mv data/deleted.files{.tmp,}
33 - name: Update list with deleted files
35 …for F in $(git diff origin/stable..HEAD --summary | awk '/^ delete/ && $4 !~ /^(VERSION)/ {print $…
36 if (git check-attr export-ignore "$F" | grep -q "export-ignore: set"); then
39 if grep -q "^$F$" data/deleted.files; then
42 if ( ! test -f "data/deleted.files.tmp"); then
43 …awk -v "input=# newly removed" '/# removed on/ && !found {print input; found=1} 1' data/deleted.fi…
45 …awk -v "input=$F" '/# removed on/ && !found {print input; found=1} 1' data/deleted.files > data/de…
47 if (test -f "data/deleted.files.tmp"); then
49 sed -i "s/^# newly removed/# removed on $(date -I)/" data/deleted.files
52 - name: Create Pull Request
53 uses: peter-evans/create-pull-request@v6
55 commit-message: " Update deleted files"
58 delete-branch: true