20 Commits

Author SHA1 Message Date
Brett T. Warden
84097fd526 Don't alter a list we're iterating through
Fix a couple of places where we're trying to remove files from the files
list while we're iterating through it -- replicate the change elsewhere
to keep a temporary list of the files to remove, then iterate through
*that* list after iterating through the global files list.
2024-04-24 10:59:16 -07:00
Patrick McCarty
187098145c patchfilter: encode/decode as UTF-8 when possible
In the event a commit contains invalid UTF-8 characters, replace them
with U+FFFD by using the 'replace' error handler for decode().

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2020-12-04 23:18:16 +00:00
Patrick McCarty
65c5758c08 patchfilter: more cleanups
- FFLAGS/FCLAGS defaults were recently modified, so support both old and
  new defaults.
- `rm -rf %{buildroot}` is another autospec default line for %install,
  so it will never be a manual addition.
- The `name` field from options.conf is the same as the package name.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2020-04-20 11:37:34 -07:00
Patrick McCarty
1123cf8edc patchfilter: show diffs of Source0 instead of url from options.conf
Modification of Source0 is more trustworthy, since not all packages use
autospec. Also, (to me) the line stands out more when it appears at the
top of the spec file diff.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2020-04-09 22:15:49 -07:00
Arjan van de Ven
07cf4c7085 more boilerplate due to autospec changes 2020-03-17 23:16:53 +00:00
Arjan van de Ven
0fa3b3812c reduce more spec file noise 2020-03-03 17:27:52 +00:00
Arjan van de Ven
c6ae76c720 reduce noise in review some more 2020-03-03 17:21:40 +00:00
Arjan van de Ven
b1cfa8f828 avoid ehx poisoning 2020-03-03 17:20:50 +00:00
Arjan van de Ven
2f03d06fc4 also drop .asc files from the review... avoid hex poisoning 2020-03-03 17:18:51 +00:00
Arjan van de Ven
ddc326e53c more patterns 2020-01-06 17:01:48 +00:00
Arjan van de Ven
a3a27cd156 more patterns 2020-01-06 17:00:22 +00:00
Arjan van de Ven
4c9c2abd21 add some more filters 2019-12-18 15:04:13 +00:00
Patrick McCarty
f6be3f440a Unzap the addition of GCC_IGNORE_WERROR lines
Once this line is added to a package spec, it is likely to never show up
again, and its initial appearance may have a significant impact on the
build, so it is good to keep to not lose context.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-07-31 20:55:30 -07:00
Arjan van de Ven
c2d637b438 don't shhow version changes in the 32 bit / avx copies 2019-07-05 13:02:00 +00:00
Arjan van de Ven
abf88fe302 add some more boilerplate patterns 2019-06-14 14:48:13 +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
Arjan van de Ven
bd6c14938b also zap ChangeLog 2019-04-29 15:11:11 +00:00
Patrick McCarty
b2ad8dbda8 patchreview: exclude whatrequires file
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-04-25 16:26:06 -07:00
Arjan van de Ven
7b08135720 fix backtrace 2019-04-20 17:07:54 +00:00
Arjan van de Ven
168c9b8606 add a for-review filtered patch 2019-04-20 00:32:37 +00:00