Compare commits

..

4 Commits

Author SHA1 Message Date
clrbuilder eefffcb4cd Update packages file for version 29780
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-05 04:24:22 +00:00
clrbuilder ae59dd4aa9 Update packages file for version 29770
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-04 21:01:00 +00:00
Patrick McCarty 9ed6cf64eb Add notice about for-review.txt; make compatible with git send-email
The for-review.txt files were being generated with `git show` and thus
not compatible with `git send-email`. Use `git format-patch` instead to
fix this issue.

Also add a more prominent notice about the existence of for-review.txt
and its intended purpose.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-06-03 15:17:49 -07:00
clrbuilder 1e1a52e948 Update packages file for version 29680
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-29 13:05:05 +00:00
4 changed files with 22 additions and 5 deletions
+5 -2
View File
@@ -186,8 +186,11 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
bash update_changelog.sh ; \
git commit --amend --no-edit Change* ; \
fi
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ;
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py ;
@git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ;
@printf "\n**\n"
@printf "** NOTICE: A patch with changes is available in the file for-review.txt\n"
@printf "** Please submit for code review with git send-email\n"
@printf "**\n\n"
#help autospecnogit: Runs autospec, but does not create a commit
autospecnogit:
+5 -2
View File
@@ -229,8 +229,11 @@ autospecnew: preautospecnew-checks localreponotice
if [ $$? -eq 0 ]; then \
$(MAKE) link-new-rpms PKG_REPO_DIR="${TOPLVL}/packages/${NAME}"; \
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) show) > $(TOPLVL)/packages/$(NAME)/for-review.txt; \
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) show); \
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) format-patch -1 --stdout) > $(TOPLVL)/packages/$(NAME)/for-review.txt; \
printf "\n**\n"; \
printf "** NOTICE: A patch with changes is available in the file $(TOPLVL)/packages/$(NAME)/for-review.txt\n"; \
printf "** Please submit for code review with git send-email\n"; \
printf "**\n\n"; \
fi; \
else \
echo "$(NAME) already exists at $(TOPLVL)/packages/$(NAME)"; \
+11
View File
@@ -890,6 +890,7 @@ SuiteSparse
Tempita
Theano
Thunar
UCD
UkPostcodeParser
Unidecode
Uranium
@@ -1627,6 +1628,7 @@ flatpak
flatpak-builder
fldigi
flex
flink-dep
flmsg
flnet
fltk
@@ -1880,6 +1882,8 @@ iasimage
ibus
ibus-libpinyin
ibus-table
ibus-typing-booster
ibus-unikey
icalendar
icdiff
iceauth
@@ -1904,6 +1908,7 @@ influxdb
iniparse
init-rdahead
inkscape
innoextract
inotify-tools
intel-cmt-cat
intel-compute-runtime
@@ -2260,6 +2265,7 @@ libaio
libappindicator
libarchive
libarchive-c
libass
libassuan
libasyncns
libatasmart
@@ -2656,6 +2662,7 @@ msrestazure
mstflint
mtd-utils
mtdev
mtools
mtr
multidict
multimon-ng
@@ -2716,6 +2723,7 @@ nghttp2
nginx
nginx-mainline
nicstat
nim
ninja
nload
nlopt
@@ -2927,6 +2935,7 @@ perl-B-Hooks-OP-Check
perl-B-Keywords
perl-BSD-Resource
perl-Biblio-EndnoteStyle
perl-Bit-Vector
perl-Browser-Open
perl-Business-ISBN
perl-Business-ISBN-Data
@@ -3930,6 +3939,7 @@ sbc
sbsigntools
scala
scala-dep
scdoc
scene-alembic
scikit-build
scikit-image
@@ -4319,6 +4329,7 @@ xkbcomp
xkeyboard-config
xkill
xlog
xmlb
xmlrpc-c
xmlsec1
xmlstarlet
+1 -1
View File
@@ -195,7 +195,7 @@ def main():
with open (filename, "r") as myfile:
lines = myfile.readlines()
else:
output = subprocess.check_output("git show", shell=True).decode("latin-1")
output = subprocess.check_output("git format-patch -1 --stdout", shell=True).decode("latin-1")
lines = output.split("\n")
parse_patch(lines)