Compare commits

...

62 Commits

Author SHA1 Message Date
clrbuilder c594d50d97 Update packages file for version 29920
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-13 17:58:36 +00:00
clrbuilder 923b813833 Update packages file for version 29910
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-13 11:57:26 +00:00
Thiago Macieira facfc57d55 Update message for the for-review.txt on how to recreate
People SHOULD update commit messages if it's not a simple bump or
version update.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2019-06-12 16:05:52 -07:00
clrbuilder 9e0d404e52 Update packages file for version 29900
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-12 17:58:01 +00:00
clrbuilder 9d954cb33a Update packages file for version 29890
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-12 11:57:25 +00:00
Patrick McCarty 158c743fde Rename typed-ast -> typed_ast
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-06-11 20:48:41 -07:00
clrbuilder c5969bbd83 Update packages file for version 29880
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-11 17:58:21 +00:00
clrbuilder cb01f2b9ef Update packages file for version 29850
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-10 11:58:23 +00:00
clrbuilder c58e39da50 Update packages file for version 29840
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-07 17:58:47 +00:00
clrbuilder 26dea91314 Update packages file for version 29830
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-07 12:01:05 +00:00
clrbuilder efa4e1bcf8 Update packages file for version 29820
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-06 17:59:00 +00:00
clrbuilder 9fba303a7b Update packages file for version 29800
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-06-05 20:28:24 +00:00
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
clrbuilder b9d3725172 Update packages file for version 29660
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-28 13:41:13 +00:00
clrbuilder d2c0eea1d2 Update packages file for version 29620
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-24 11:58:40 +00:00
clrbuilder 038007f64a Update packages file for version 29600
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-23 11:58:43 +00:00
clrbuilder 930a8bd3f7 Update packages file for version 29590
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-22 19:40:13 +00:00
clrbuilder 33c27808a6 Update packages file for version 29570
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-22 11:59:13 +00:00
Patrick McCarty f9b7f544be scratch-wait: explicitly specify the wait option
We always want the koji CLI to wait for `make scratch-wait`, regardless
of the environment koji detects it is being run under.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-05-22 00:44:24 -07:00
clrbuilder 6fe60137f4 Update packages file for version 29530
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-21 11:58:35 +00:00
clrbuilder b32e466635 Update packages file for version 29520
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-20 17:59:07 +00:00
clrbuilder 755bd91716 Update packages file for version 29510
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-20 11:59:04 +00:00
clrbuilder d2b615d14b Update packages file for version 29500
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-18 19:01:47 +00:00
clrbuilder 71b5075a7b Update packages file for version 29480
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-17 18:36:33 +00:00
clrbuilder fd6bcb7b24 Update packages file for version 29410
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-14 12:00:16 +00:00
clrbuilder 771b704606 Update packages file for version 29400
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-13 18:00:17 +00:00
clrbuilder b3ea1cd421 Update packages file for version 29390
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-13 11:59:22 +00:00
clrbuilder 752274f532 Update packages file for version 29380
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-12 00:18:48 +00:00
clrbuilder 1addfd447d Update packages file for version 29360
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-10 12:02:05 +00:00
clrbuilder 8546a126bd Update packages file for version 29340
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-09 11:59:29 +00:00
clrbuilder 280d5471d7 Update packages file for version 29320
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-08 20:28:09 +00:00
clrbuilder 025c9a74f1 Update packages file for version 29310
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-08 16:33:20 +00:00
clrbuilder b03db840a6 Update packages file for version 29280
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-07 20:23:05 +00:00
Patrick McCarty 59dfc2236f install-debuginfo-local: fix installation with new lookaside locations
Debuginfo packages now install binary debuginfo to /usr/share/debug and
source debuginfo to /usr/share/debug/src.

The purpose for the migration is for these new locations to serve as
"lookaside" directories used by future versions of clr-debug-info,
enabling select debuginfo packages to be installed in bundles and safely
coexist with the FUSE mounts.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-05-07 10:58:47 -07:00
clrbuilder e61ebaafc6 Update packages file for version 29260
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-06 22:59:08 +00:00
clrbuilder 4bcceb402e Update packages file for version 29250
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-06 17:59:59 +00:00
clrbuilder 5e15b47efc Update packages file for version 29240
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-06 12:00:02 +00:00
clrbuilder 043265171f Update packages file for version 29220
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-05 19:41:10 +00:00
clrbuilder 982d58e0e6 Update packages file for version 29210
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-05 04:24:30 +00:00
clrbuilder accf578c02 Update packages file for version 29190
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-03 11:59:52 +00:00
clrbuilder efe2b2bccf Update packages file for version 29170
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-05-02 12:01:06 +00:00
clrbuilder 9f77cbb6e3 Update packages file for version 29110
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-29 15:52:05 +00:00
Arjan van de Ven bd6c14938b also zap ChangeLog 2019-04-29 15:11:11 +00:00
clrbuilder 32729558d9 Update packages file for version 29080
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-26 12:00:00 +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
Patrick McCarty e545190de3 Fixups for autospecnew
- Run git commands within the newly created package repo
- Only run these commands if autospec succeeds

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-04-25 15:24:24 -07:00
Arjan van de Ven 9921115897 git diff not git show 2019-04-25 21:59:43 +00:00
clrbuilder 8d5f8e37c5 Update packages file for version 29070
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-25 18:25:09 +00:00
Arjan van de Ven 6bc5718c25 Add patchfilter to autsopecnew 2019-04-25 18:21:11 +00:00
clrbuilder a21156767e Update packages file for version 29040
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-24 11:59:52 +00:00
clrbuilder 9dd5bb895b Update packages file for version 29020
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-23 12:00:10 +00:00
clrbuilder 67b7ef2bf4 Update packages file for version 29000
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-22 17:39:28 +00:00
clrbuilder 6ad56934fd Update packages file for version 28990
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-21 22:26:53 +00: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
clrbuilder 3ff4181689 Update packages file for version 28970
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-19 19:51:00 +00:00
clrbuilder a581ac8fbf Update packages file for version 28960
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-19 14:41:20 +00:00
clrbuilder 601ca9e0fc Update packages file for version 28910
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-17 11:58:00 +00:00
clrbuilder 8848658fcf Update packages file for version 28890
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2019-04-16 11:58:13 +00:00
4 changed files with 531 additions and 8 deletions
+21 -1
View File
@@ -186,6 +186,18 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
bash update_changelog.sh ; \
git commit --amend --no-edit Change* ; \
fi
@$(MAKE) -s for-review.txt
@printf "\n**\n"
@printf "** NOTICE: A patch with changes is available in the file for-review.txt\n"
@printf "** To recreate (e.g., after git commit --amend), run make for-review.txt\n"
@printf "** To submit for review: git send-email --to <recipient> for-review.txt\n"
@printf "**\n\n"
#help for-review.txt: Creates the for-review.txt file, which is
#help a minimized version of the Git commit, suitable for code review.
for-review.txt:
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt
.PHONY: for-review.txt
#help autospecnogit: Runs autospec, but does not create a commit
autospecnogit:
@@ -318,7 +330,7 @@ scratch: $(SPECFILE) upstream $(SRPMFILE) kojidef
#help scratch-wait: Performs scratch-build on package.
scratch-wait: $(SPECFILE) upstream $(SRPMFILE) kojidef
$(KOJI_CMD) build --scratch $(KOJI_TAG) $(SRPMFILE)
$(KOJI_CMD) build --scratch --wait $(KOJI_TAG) $(SRPMFILE)
#help koji-nowait: Same as 'make koji', but do not block
koji-nowait:
@@ -423,11 +435,19 @@ install-debuginfo-local:
sudo chown -R dbginfo:dbginfo "$$d"; \
sudo cp -a "$$d" $$dest/; \
done; \
find $$tmpdir/usr/share/debug/ -mindepth 1 -maxdepth 1 -regextype awk -regex '.*/(.build-id|boot|lib|sbin|usr)$$' 2> /dev/null | while read -r d; do \
sudo chown -R dbginfo:dbginfo "$$d"; \
sudo cp -a "$$d" $$dest/; \
done; \
dest=/var/cache/debuginfo/src; \
find $$tmpdir/usr/src/debug/ -mindepth 1 -maxdepth 1 2> /dev/null | while read -r d; do \
sudo chown -R dbginfo:dbginfo "$$d"; \
sudo cp -a "$$d" $$dest/; \
done; \
find $$tmpdir/usr/share/debug/src/ -mindepth 1 -maxdepth 1 2> /dev/null | while read -r d; do \
sudo chown -R dbginfo:dbginfo "$$d"; \
sudo cp -a "$$d" $$dest/; \
done; \
sudo rm -rf $$tmpdir; \
echo "done"
+9 -2
View File
@@ -226,8 +226,15 @@ autospecnew: preautospecnew-checks localreponotice
$${SETVERSION:+ --version $${SETVERSION}} \
${NON_INTERACTIVE} ${SKIP_GIT} ${CLEANUP} \
$(URL); \
[ $$? -eq 0 ] && $(MAKE) link-new-rpms PKG_REPO_DIR="${TOPLVL}/packages/${NAME}"; \
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
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) 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)"; \
exit 1; \
+153 -5
View File
@@ -60,6 +60,7 @@ PasteDeploy
Pillow
Pint
PyDispatcher
PyICU
PyJWT
PyMySQL
PyNaCl
@@ -323,6 +324,7 @@ R-dotCall64
R-downloader
R-dplyr
R-drc
R-dtplyr
R-dtw
R-dygraphs
R-dynlm
@@ -393,6 +395,7 @@ R-fossil
R-fpc
R-fracdiff
R-fs
R-fst
R-futile.logger
R-futile.options
R-future
@@ -436,6 +439,7 @@ R-haplo.stats
R-haven
R-hdrcde
R-here
R-hexView
R-hexbin
R-highlight
R-highr
@@ -453,6 +457,7 @@ R-ica
R-igraph
R-import
R-ineq
R-influenceR
R-ini
R-inline
R-inum
@@ -490,6 +495,7 @@ R-leaps
R-lfe
R-lhs
R-libcoin
R-lintr
R-listenv
R-listviewer
R-lle
@@ -497,6 +503,7 @@ R-lme4
R-lmerTest
R-lmtest
R-locfit
R-logcondens
R-logspline
R-loo
R-lpSolve
@@ -663,6 +670,8 @@ R-rasterVis
R-rbenchmark
R-rcmdcheck
R-reactR
R-reactlog
R-readODS
R-readr
R-readstata13
R-readxl
@@ -679,6 +688,7 @@ R-reprex
R-reshape
R-reshape2
R-reticulate
R-rex
R-rgenoud
R-rgeos
R-rgl
@@ -691,6 +701,7 @@ R-rjags
R-rjstat
R-rlang
R-rmarkdown
R-rmatio
R-rms
R-rmutil
R-rncl
@@ -712,6 +723,8 @@ R-rsdmx
R-rstan
R-rstanarm
R-rstantools
R-rstudio
R-rstudio-server
R-rstudioapi
R-rsvg
R-runjags
@@ -771,6 +784,7 @@ R-startupmsg
R-statip
R-statmod
R-statnet.common
R-stringdist
R-stringi
R-stringr
R-strucchange
@@ -826,6 +840,7 @@ R-varImp
R-vcd
R-vcdExtra
R-vcr
R-vctrs
R-vegan
R-vioplot
R-viridis
@@ -863,6 +878,8 @@ SDL_image
SDL_mixer
SDL_net
SDL_ttf
SFCGAL
SFML
SPIRV-Headers
SPIRV-Tools
SQLAlchemy
@@ -875,6 +892,7 @@ SuiteSparse
Tempita
Theano
Thunar
UCD
UkPostcodeParser
Unidecode
Uranium
@@ -962,8 +980,10 @@ aniso8601
ansible
anyjson
apache-ant
apache-flink
apache-hadoop
apache-kafka
apache-libcloud
apache-maven
apache-spark
apache-zookeeper
@@ -978,8 +998,10 @@ argcomplete
argon2
argon2_cffi
argparse
aria2
ark
armadillo
arp-scan
artikulate
asciidoc
asciinema
@@ -1005,6 +1027,8 @@ atomicwrites
attica
attr
attrs
audacious
audacious-plugins
audiofile
audisp-json
audit
@@ -1127,18 +1151,22 @@ cairo
cairomm
calc
calendarsupport
can-utils
cantarell-fonts
cantata
cantor
capnproto
caribou
case
cassandra
cassandra-dep
castellan
casync
catch2
catkin
catkin_pkg
ccache
ccid
ceilometer
ceph
ceph-deploy
@@ -1186,6 +1214,7 @@ clr-init
clr-installer
clr-man-pages
clr-network-troubleshooter
clr-one-shot-updates
clr-power-tweaks
clr-python-timestamp
clr-pyversion-strip
@@ -1208,6 +1237,7 @@ cnf
cni
cni-plugins
cockpit
codec2
codecov
cogl
coinmp
@@ -1234,16 +1264,19 @@ collectl
colorama
colord
colord-gtk
columbiad
comedilib
comfortaa-fonts
commonmark
compat-SDL2-soname1
compat-cryptsetup-soname4
compat-curl-gnutls-soname4
compat-double-conversion-soname1
compat-efivar-soname0
compat-enchant-soname1
compat-exiv2-soname26
compat-fuse-soname2
compat-gdal-soname20
compat-gegl
compat-gegl-0.3
compat-glew-soname1
@@ -1255,6 +1288,7 @@ compat-hdf5-soname10
compat-hwloc-soname5
compat-hyperscan-soname4
compat-icu4c-soname61
compat-icu4c-soname63
compat-ilmbase-soname23
compat-intel-gmmlib-soname1
compat-ipset-soname10
@@ -1280,6 +1314,8 @@ compat-openssl-soname-10
compat-poppler-soname78
compat-poppler-soname82
compat-poppler-soname83
compat-poppler-soname86
compat-proj-soname13
compat-protobuf-soname14
compat-protobuf-soname15
compat-python36
@@ -1309,6 +1345,7 @@ cpio
cppcheck
cpprestsdk
cppunit
cppzmq
cpuid
cpuloadgen
cracklib
@@ -1497,6 +1534,7 @@ dpdk
dracut
dragon
drkonqi
dssi
dstat
dtc
dtopt
@@ -1514,6 +1552,7 @@ edk2
efibootmgr
efitools
efivar
efl
eigen
elasticsearch
elasticsearch-dep
@@ -1523,9 +1562,11 @@ elfutils
elixir
ell
emacs
emacs-x11
embree
empy
enchant
enlightenment
entrypoints
enum34
envs
@@ -1535,12 +1576,15 @@ epm
epydoc
eternalegypt
ethtool
etr
evdev
eventlet
eventviews
evince
evolution
evolution-data-server
evolution-ews
evtest
execnet
exempi
exiv2
@@ -1550,6 +1594,7 @@ expect
extra-cmake-modules
extras
f2fs-tools
faas-cli
faba-icon-theme
fakeroot
fann
@@ -1557,11 +1602,13 @@ fann2
farstream
fasteners
fastimport
fastnumbers
fcgi
fcoe-utils
fdm_materials
feh
fetchmail
ffmpegthumbs
fftw
file
file-roller
@@ -1589,9 +1636,11 @@ flatpak
flatpak-builder
fldigi
flex
flink-dep
flmsg
flnet
fltk
fluidsynth
folks
font-util
fontconfig
@@ -1599,6 +1648,7 @@ fontforge
fonttools
fossil
frameworkintegration
freedv
freeglut
freeipmi
freetype
@@ -1610,7 +1660,6 @@ funcparserlib
funcsigs
functools32
fuse
futures
futurist
fwupd
fwupdate
@@ -1622,6 +1671,8 @@ gawk
gc
gcab
gcc
gcc7
gcc8
gcompris-qt
gcr
gcs-oauth2-boto-plugin
@@ -1648,6 +1699,7 @@ gftp
ghc
ghostscript
gimp
girara
git
git-gui
gitdb2
@@ -1680,6 +1732,7 @@ gnome-applets
gnome-autoar
gnome-backgrounds
gnome-bluetooth
gnome-boxes
gnome-calculator
gnome-calendar
gnome-characters
@@ -1701,6 +1754,7 @@ gnome-music
gnome-online-accounts
gnome-panel
gnome-photos
gnome-screensaver
gnome-screenshot
gnome-session
gnome-settings-daemon
@@ -1737,6 +1791,7 @@ gperf
gperftools
gpgme
gphoto2
gpm
gpredict
gptfdisk
gradle
@@ -1756,8 +1811,10 @@ grilo-plugins
groff
grpcio
grub
gsequencer
gsettings-desktop-schemas
gsl
gsm
gsound
gspell
gst-plugins-bad
@@ -1793,7 +1850,9 @@ hammock
haproxy
hardlink
harfbuzz
haskell-random
hdf5
hdmedians
hdparm
heat
helloworld
@@ -1805,6 +1864,7 @@ hicolor-icon-theme
hiredis
hold
home-assistant
home-assistant-frontend
horizon
horovod
hostname
@@ -1831,6 +1891,8 @@ iasimage
ibus
ibus-libpinyin
ibus-table
ibus-typing-booster
ibus-unikey
icalendar
icdiff
iceauth
@@ -1848,6 +1910,7 @@ imageio
imagesize
imapfilter
imlib2
importlib_metadata
indent
infiniband-diags
inflection
@@ -1855,6 +1918,7 @@ influxdb
iniparse
init-rdahead
inkscape
innoextract
inotify-tools
intel-cmt-cat
intel-compute-runtime
@@ -1912,6 +1976,7 @@ jedi-vim
jeepney
jemalloc
jmespath
joblib
joe
josepy
jq
@@ -1925,6 +1990,7 @@ jsonpath-rw-ext
jsonpointer
jsonrpc-glib
jsonschema
junit-xml
jupyter
jupyter-nbgallery
jupyter-notebook-gist
@@ -1988,6 +2054,7 @@ kde-dev-utils
kde-gtk-config
kdebugsettings
kdeclarative
kdeconnect-kde
kdecoration
kded
kdeedu-data
@@ -2141,7 +2208,13 @@ ktimer
ktnef
ktp-approver
ktp-common-internals
ktp-contact-list
ktp-contact-runner
ktp-desktop-applets
ktp-filetransfer-handler
ktp-kded-module
ktp-send-file
ktp-text-ui
ktuberling
kturtle
kubernetes
@@ -2159,6 +2232,7 @@ kwrited
kxmlgui
kxmlrpcclient
kyotocabinet
ladspa_sdk
lark-parser
latencytop
latexcodec
@@ -2203,6 +2277,7 @@ libaio
libappindicator
libarchive
libarchive-c
libass
libassuan
libasyncns
libatasmart
@@ -2219,6 +2294,7 @@ libcdio
libcdr
libcgroup
libchamplain
libclc
libcmis
libcomps
libconfig
@@ -2269,6 +2345,7 @@ libgit2-glib
libglade
libgnome-keyring
libgnomekbd
libgovirt
libgpg-error
libgphoto2
libgravatar
@@ -2283,6 +2360,7 @@ libidn
libidn2
libindicator
libinput
libinstpatch
libiscsi
libisofs
libite
@@ -2323,6 +2401,7 @@ libmtp
libmwaw
libmypaint
libndp
libnetfilter_acct
libnetfilter_conntrack
libnetfilter_cthelper
libnetfilter_cttimeout
@@ -2392,6 +2471,7 @@ libtheora
libtirpc
libtk-img
libtool
libtorrent-rasterbar
libudev0-shim
libuev
libuninameslist
@@ -2441,6 +2521,7 @@ linecache2
links
linux
linux-aws
linux-current
linux-firmware
linux-firmware-ipu
linux-gce
@@ -2449,11 +2530,13 @@ linux-hyperv-lts
linux-iot-lts2017-preempt-rt
linux-iot-lts2018
linux-iot-lts2018-preempt-rt
linux-iot-lts2019
linux-kata
linux-kvm
linux-libc-headers
linux-lts2017
linux-lts2018
linux-mainline
linux-networktest
linux-oracle
linux-preempt-rt
@@ -2468,6 +2551,7 @@ lm-sensors
lmdb
locket
locustio
log4cpp
logilab-common
logrotate
logutils
@@ -2483,6 +2567,8 @@ lua
lua52
lualgi
luarocks
lutris
lv2
lxml
lxqt-about
lxqt-admin
@@ -2577,7 +2663,9 @@ mpc
mpfr
mpg123
mpi4py
mpir
mpmath
mpv
mraa
msgpack
msm
@@ -2588,6 +2676,7 @@ msrestazure
mstflint
mtd-utils
mtdev
mtools
mtr
multidict
multimon-ng
@@ -2605,10 +2694,12 @@ mycroft-core
mypaint-brushes
mypy
mypy_extensions
mysqltcl
mythes
nagios-plugins
nano
nasm
natsort
nautilus
nbconvert
nbformat
@@ -2627,6 +2718,7 @@ net-tools
netaddr
netbase
netcdf
netdata
netdisco
netifaces
netkit-telnet
@@ -2645,6 +2737,7 @@ nghttp2
nginx
nginx-mainline
nicstat
nim
ninja
nload
nlopt
@@ -2657,6 +2750,7 @@ nose-cover3
nose-parameterized
nosexcover
nosync
not-ffmpeg
notebook
notmuch
noto-cjk
@@ -2855,6 +2949,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
@@ -2872,6 +2967,8 @@ perl-CSS-DOM
perl-CSS-Minifier-XS
perl-CSS-Tiny
perl-Cache-Simple-TimedExpiry
perl-Cairo
perl-Cairo-GObject
perl-Calendar-Simple
perl-Canary-Stability
perl-Capture-Tiny
@@ -2931,6 +3028,7 @@ perl-Curses
perl-DBD-Pg
perl-DBD-SQLite
perl-DBD-SQLite2
perl-DBD-mysql
perl-DBI
perl-DBICx-TestDatabase
perl-DBIx-Class
@@ -2955,10 +3053,12 @@ perl-Data-Page
perl-Data-Password
perl-Data-Printer
perl-Data-Random
perl-Data-Section
perl-Data-Serializer
perl-Data-Structure-Util
perl-Data-Uniqid
perl-Data-Validate-IP
perl-Date-Manip
perl-DateTime
perl-DateTime-Format-Builder
perl-DateTime-Format-DateParse
@@ -3020,6 +3120,7 @@ perl-ExtUtils-Config
perl-ExtUtils-Depends
perl-ExtUtils-Helpers
perl-ExtUtils-InstallPaths
perl-ExtUtils-PkgConfig
perl-FCGI-ProcManager
perl-Feed-Find
perl-Fennec-Lite
@@ -3067,7 +3168,11 @@ perl-Geo-IPfree
perl-Getopt-Euclid
perl-Getopt-Tabular
perl-Git-Version-Compare
perl-Glib
perl-Glib-Object-Introspection
perl-Graph
perl-Gtk3
perl-Gtk3-WebKit
perl-Guard
perl-HTML-Clean
perl-HTML-Encoding
@@ -3130,6 +3235,7 @@ perl-Inline-C
perl-JSON
perl-JSON-MaybeXS
perl-JSON-RPC
perl-JSON-XS
perl-JavaScript-Minifier-XS
perl-LWP-MediaTypes
perl-LWP-Protocol-https
@@ -3214,6 +3320,7 @@ perl-Moose
perl-MooseX-Role-Parameterized
perl-MooseX-Role-WithOverloading
perl-Mozilla-CA
perl-Net-Bluetooth
perl-Net-CIDR-Lite
perl-Net-DBus
perl-Net-DNS
@@ -3305,6 +3412,7 @@ perl-Set-Scalar
perl-Smart-Comments
perl-Socket-MsgHdr
perl-Socket6
perl-Software-License
perl-Sort-Key
perl-Sort-Naturally
perl-Sort-Versions
@@ -3369,6 +3477,7 @@ perl-Test-MockTime
perl-Test-More-UTF8
perl-Test-Most
perl-Test-Needs
perl-Test-NeedsDisplay
perl-Test-NoWarnings
perl-Test-Number-Delta
perl-Test-Output
@@ -3439,6 +3548,7 @@ perl-Unicode-Map
perl-Variable-Magic
perl-WWW-Form-UrlEncoded-XS
perl-WWW-RobotRules
perl-X11-IdleTime
perl-X11-Protocol
perl-XML-Atom
perl-XML-Feed
@@ -3489,6 +3599,13 @@ pexpect
phonon
phoronix-test-suite
php
php-imagick
php-mailparse
php-redis
php-timezonedb
php-xdebug
php-yaml
php-zip
pickleshare
picmi
picocom
@@ -3523,6 +3640,7 @@ plasma-workspace-wallpapers
pluggy
ply
plzip
pm-graph
pmdk
polkit
polkit-kde-agent
@@ -3534,6 +3652,7 @@ portaudio
portend
positional
posix_ipc
postgis
postgresql
potrace
povray
@@ -3607,6 +3726,7 @@ pygtkglext
pyhs100
pyinotify
pykerberos
pykwalify
pylama
pyliblzma
pylint
@@ -3690,7 +3810,6 @@ python-swiftclient
python-systemd
python-tabulate
python-tappy
python-toml
python-troveclient
python-urwid
python-utils
@@ -3710,11 +3829,13 @@ pywbem
pyxattr
pyxdg
pyzmq
qbittorrent
qca-qt5
qemu
qemu-guest-additions
qemu-lite
qgit
qhull
qml-box2d
qpdf
qpid-python
@@ -3765,8 +3886,11 @@ quazip
quilt
qwt
rabbitmq-c
rabbitmq-java-client
rabbitmq-java-client-dep
rabbitmq-server
radvd
rage
ragel
raptor2
rasqal
@@ -3781,6 +3905,7 @@ recommonmark
redis
redis-native
redland
redshift
redsocks
renderdoc
reno
@@ -3821,9 +3946,10 @@ rsync
rsyslog
rt-tests
rtkit
rtmpdump
rtslib-fb
rttr
ruamel-yaml
ruamel.yaml
ruby
runc
rust-std32
@@ -3842,12 +3968,14 @@ sbc
sbsigntools
scala
scala-dep
scdoc
scene-alembic
scikit-build
scikit-image
scikit-learn
scipy
scons
scowl
screen
scripttest
scrypt
@@ -3858,6 +3986,7 @@ seaborn
seahorse
secretstorage
sed
segno
selenium
semantic_version
seqdiag
@@ -3867,6 +3996,7 @@ setproctitle
setserial
setuptools
setuptools-legacy
setuptools-markdown
setuptools_scm
setuptools_scm_git_archive
setxkbmap
@@ -3889,7 +4019,9 @@ smart_open
smartcols
smartmontools
smmap2
snabb
snappy
snitun
snowballstemmer
socat
sof-crosstool-ng
@@ -3950,6 +4082,7 @@ stellarium
step
stestr
stevedore
stoken
stow
strace
stress-ng
@@ -3960,6 +4093,7 @@ subversion
sudo
suds-jurko
sundials
supertuxkart
sure
suricata
svg.path
@@ -4000,6 +4134,7 @@ telemetrics-client
telepathy-glib
telepathy-logger
telepathy-qt
tempest
tempest-lib
template-glib
tempora
@@ -4011,7 +4146,10 @@ tensorflow-probability
termcolor
terminado
terminaltables
terminology
terminus-font
test-generator
testdisk
testpath
testrepository
testresources
@@ -4046,6 +4184,7 @@ tk
tmux
todoist
tokyocabinet
toml
toolz
tooz
tornado
@@ -4065,12 +4204,13 @@ tracker-miners
traitlets
tree
trollius
typed-ast
typed_ast
typing
typing_extensions
tzdata
tzlocal
ua-parser
uamqp
ucpp
udisks2
udunits
@@ -4120,9 +4260,11 @@ virt-manager
virt-viewer
virtualenv
vlc
volk
volume_key
voluptuous
voluptuous-serialize
vpnc
vsqlite
vte
waffle
@@ -4144,6 +4286,7 @@ weechat
weston
wget
wheel
wheelhouse-uploader
which
whois
widgetsnbextension
@@ -4154,6 +4297,7 @@ wireshark
woff2
wok
wol
wordpress
wpa_supplicant
wrapt
wsgi_intercept
@@ -4181,7 +4325,6 @@ xdg-user-dirs-gtk
xdg-utils
xdotool
xdpyinfo
xemacs
xerces-c
xf86-input-evdev
xf86-input-libinput
@@ -4218,6 +4361,7 @@ xkbcomp
xkeyboard-config
xkill
xlog
xmlb
xmlrpc-c
xmlsec1
xmlstarlet
@@ -4241,6 +4385,7 @@ xterm
xtrans
xvfb-run
xwd
xwdrun
xwininfo
xz
yajl
@@ -4259,14 +4404,17 @@ yum
yum-metadata-parser
zVMCloudConnector
zake
zathura
zc.lockfile
zenity
zeroconf
zeroconf-ioslave
zict
zip
zipp
zlib
znc
zoneminder
zookeeper-dep
zope.component
zope.configuration
+348
View File
@@ -0,0 +1,348 @@
#!/usr/bin/python3
import sys
import tempfile
import subprocess
header = list()
files = list()
files_chunks = dict() # dict to list
files_header = dict() # dict to list
def push_chunk(file, chunk):
global files_chunks
if len(chunk) == 0:
return
if file not in files_chunks:
files_chunks[file] = list()
files_chunks[file].append(chunk)
def parse_patch(lines):
global header
global files
global files_chunks
global files_header
phase = 0
currentfile = ""
currentchunk = list()
for line in lines:
line = line.replace("\n","")
if line.startswith("diff --git"):
push_chunk(currentfile, currentchunk)
currentchunk = list()
filename = line.replace("diff --git","")
index= filename.find("b/")
if index >= 0:
filename = filename[index:].strip()
currentfile = filename
files.append(currentfile)
phase = 1
if line.startswith("@@"):
push_chunk(currentfile, currentchunk)
currentchunk = list()
phase = 2
if phase == 0:
header.append(line)
if phase == 1:
if currentfile not in files_header:
files_header[currentfile] = list()
files_header[currentfile].append(line)
if phase == 2:
currentchunk.append(line)
push_chunk(currentfile, currentchunk)
currentchunk = list()
def print_all():
global header
global files
global files_chunks
global files_header
for line in header:
print(line)
for file in files:
for line in files_header[file]:
print(line)
if file in files_chunks:
for chunk in files_chunks[file]:
for line in chunk:
print(line)
def zap_entire_file(filename):
global header
global files
global files_chunks
global files_header
if filename in files:
files.remove(filename)
def zap_entire_file_end(filename):
global header
global files
global files_chunks
global files_header
for file in files:
if file.endswith(filename):
files.remove(file)
def zap_line_in_file(filename, match):
global header
global files
global files_chunks
global files_header
for file in files:
if file.endswith(filename):
for chunk in files_chunks[filename]:
to_delete = list()
for line in chunk:
if line == ("+" + match):
to_delete.append(line)
if line == ("-" + match):
to_delete.append(line)
for line in to_delete:
chunk.remove(line)
def zap_line_in_file_start(filename, match):
global header
global files
global files_chunks
global files_header
for file in files:
if file.endswith(filename):
for chunk in files_chunks[file]:
to_remove = list()
for line in chunk:
if line.startswith("+" + match):
to_remove.append(line)
if line.startswith("-" + match):
to_remove.append(line)
for line in to_remove:
chunk.remove(line)
def zap_plus_line_in_file(filename):
global header
global files
global files_chunks
global files_header
for file in files:
if file.endswith(filename):
for chunk in files_chunks[file]:
to_remove = list()
for line in chunk:
if line.startswith("+"):
to_remove.append(line)
for line in to_remove:
chunk.remove(line)
def chunk_empty(chunk):
for line in chunk:
if len(line) > 0 and line[0] == '+':
return False
return True
def zap_empty_chunks():
global header
global files
global files_chunks
global files_header
files_to_remove = list()
for file in files:
if file not in files_chunks:
files.remove(file)
continue
to_remove = list()
for chunk in files_chunks[file]:
if chunk_empty(chunk):
to_remove.append(chunk)
for c in to_remove:
files_chunks[file].remove(c)
if len(files_chunks[file]) == 0:
files_to_remove.append(file)
for file in files_to_remove:
files.remove(file)
def main():
if len(sys.argv) > 1:
filename = sys.argv[1]
with open (filename, "r") as myfile:
lines = myfile.readlines()
else:
output = subprocess.check_output("git format-patch -1 --stdout", shell=True).decode("latin-1")
lines = output.split("\n")
parse_patch(lines)
zap_entire_file("b/release")
zap_entire_file("b/buildreq_cache")
zap_entire_file("b/.gitignore")
zap_entire_file("b/upstream")
zap_entire_file("b/NEWS")
zap_entire_file("b/ChangeLog")
zap_entire_file_end("xz.sig")
zap_entire_file_end("gz.sig")
zap_entire_file_end("bz2.sig")
zap_line_in_file("b/testresults", "Total : 0")
zap_line_in_file("b/testresults", "Pass : 0")
zap_line_in_file("b/testresults", "Fail : 0")
zap_line_in_file("b/testresults", "XFail : 0")
zap_line_in_file("b/testresults", "Skip : 0")
zap_line_in_file("b/requires_ban", "#FOO")
zap_line_in_file("b/Makefile", "ARCHIVES = ")
zap_line_in_file("b/Makefile", "include ../common/Makefile.common")
zap_line_in_file("b/Makefile", "")
zap_line_in_file_start(".spec", "Release :")
zap_line_in_file_start(".spec", "Source99 :")
zap_line_in_file_start(".spec", "Source0 :")
zap_line_in_file_start(".spec", "export SOURCE_DATE_EPOCH")
zap_line_in_file_start(".spec", "%setup -q -n ")
zap_line_in_file_start(".spec", "URL :")
zap_line_in_file_start(".spec", "Version :")
zap_line_in_file_start(".spec", "Group : Development/Tools")
zap_line_in_file_start(".spec", "No detailed description available")
zap_line_in_file_start(".spec", "bin components for the")
zap_line_in_file_start(".spec", "dev components for the")
zap_line_in_file_start(".spec", "lib components for the")
zap_line_in_file_start(".spec", "data components for the")
zap_line_in_file_start(".spec", "locales components for the")
zap_line_in_file_start(".spec", "license components for the")
zap_line_in_file_start(".spec", "Group: Default")
zap_line_in_file_start(".spec", "export http_proxy=http://127.0.0.1:9/")
zap_line_in_file_start(".spec", "export https_proxy=http://127.0.0.1:9/")
zap_line_in_file_start(".spec", "export ftp_proxy=http://127.0.0.1:9/")
zap_line_in_file_start(".spec", "export no_proxy=localhost,127.0.0.1,0.0.0.0")
zap_line_in_file_start(".spec", "Summary:")
zap_line_in_file_start(".spec", "Group: Development")
zap_line_in_file_start(".spec", "Group: Binaries")
zap_line_in_file_start(".spec", "Group: Data")
zap_line_in_file_start(".spec", "Group: Libraries")
zap_line_in_file_start(".spec", "export LANG=C")
zap_line_in_file_start(".spec", "%description lib")
zap_line_in_file_start(".spec", "%description bin")
zap_line_in_file_start(".spec", "%description data")
zap_line_in_file_start(".spec", "%description locales")
zap_line_in_file_start(".spec", "%description dev")
zap_line_in_file_start(".spec", "%description license")
zap_line_in_file_start("b/Makefile", "URL =")
zap_line_in_file_start("b/Makefile", "PKG_NAME :=")
zap_line_in_file("b/options.conf", "archives = ")
zap_line_in_file("b/options.conf", "giturl = ")
zap_line_in_file("b/options.conf", "[package]")
zap_line_in_file("b/options.conf", "")
zap_line_in_file("b/options.conf", "[autospec]")
zap_line_in_file("b/options.conf", "# build 32 bit libraries")
zap_line_in_file("b/options.conf", "32bit = false")
zap_line_in_file("b/options.conf", "# allow package to build with test failures")
zap_line_in_file("b/options.conf", "allow_test_failures = false")
zap_line_in_file("b/options.conf", "# unset %build ld_as_needed variable")
zap_line_in_file("b/options.conf", "asneeded = false")
zap_line_in_file("b/options.conf", "# this package is trusted enough to automatically update (used by other tools)")
zap_line_in_file("b/options.conf", "autoupdate = false")
zap_line_in_file("b/options.conf", "# extend flags with '-std=gnu++98")
zap_line_in_file("b/options.conf", "broken_c++ = false")
zap_line_in_file("b/options.conf", "# disable parallelization during build")
zap_line_in_file("b/options.conf", "broken_parallel_build = false")
zap_line_in_file("b/options.conf", "# this package is a library compatability package and only ships versioned library files")
zap_line_in_file("b/options.conf", "compat = false")
zap_line_in_file("b/options.conf", "# set conservative build flags")
zap_line_in_file("b/options.conf", "conservative_flags = false")
zap_line_in_file("b/options.conf", "# dev package requires the extras to be installed")
zap_line_in_file("b/options.conf", "dev_requires_extras = false")
zap_line_in_file("b/options.conf", "# pass -ffast-math to compiler")
zap_line_in_file("b/options.conf", "fast-math = false")
zap_line_in_file("b/options.conf", "# optimize build for speed over size")
zap_line_in_file("b/options.conf", "funroll-loops = false")
zap_line_in_file("b/options.conf", "# set flags to smallest -02 flags possible")
zap_line_in_file("b/options.conf", "insecure_build = false")
zap_line_in_file("b/options.conf", "# do not remove static libraries")
zap_line_in_file("b/options.conf", "keepstatic = false")
zap_line_in_file("b/options.conf", "# do not require autostart subpackage")
zap_line_in_file("b/options.conf", "no_autostart = false")
zap_line_in_file("b/options.conf", "# disable stripping binaries")
zap_line_in_file("b/options.conf", "nostrip = false")
zap_line_in_file("b/options.conf", "# optimize build for size over speed")
zap_line_in_file("b/options.conf", "optimize_size = false")
zap_line_in_file("b/options.conf", "# set profile for pgo")
zap_line_in_file("b/options.conf", "pgo = false")
zap_line_in_file("b/options.conf", "# set flags for security-sensitive builds")
zap_line_in_file("b/options.conf", "security_sensitive = false")
zap_line_in_file("b/options.conf", "# do not run test suite")
zap_line_in_file("b/options.conf", "skip_tests = false")
zap_line_in_file("b/options.conf", "# add .so files to the lib package instead of dev")
zap_line_in_file("b/options.conf", "so_to_lib = false")
zap_line_in_file("b/options.conf", "# configure build for avx2")
zap_line_in_file("b/options.conf", "use_avx2 = false")
zap_line_in_file("b/options.conf", "# configure build for avx512")
zap_line_in_file("b/options.conf", "use_avx512 = false")
zap_line_in_file("b/options.conf", "# add clang flags")
zap_line_in_file("b/options.conf", "use_clang = false")
zap_line_in_file("b/options.conf", "# configure build for lto")
zap_line_in_file("b/options.conf", "use_lto = false")
zap_line_in_file("b/options.conf", "# require package verification for build")
zap_line_in_file("b/options.conf", "verify_required = true")
zap_line_in_file("b/buildreq_add", "# This file contains additional build requirements that did not get")
zap_line_in_file("b/buildreq_add", "# picked up automatically. One name per line, no whitespace.")
zap_line_in_file("b/buildreq_ban", "# This file contains build requirements that get picked up but are")
zap_line_in_file("b/buildreq_ban", "# undesirable. One entry per line, no whitespace.")
zap_line_in_file("b/excludes", "# This file contains the output files that need %exclude. Full path")
zap_line_in_file("b/excludes", "# names, one per line.")
zap_line_in_file("b/pkgconfig_add", "# This file contains additional pkgconfig build requirements that did")
zap_line_in_file("b/pkgconfig_add", "# not get picked up automatically. One name per line, no whitespace.")
zap_line_in_file("b/pkgconfig_ban", "# This file contains pkgconfig build requirements that get picked up")
zap_line_in_file("b/pkgconfig_ban", "# but are undesirable. One entry per line, no whitespace.")
zap_line_in_file("b/requires_add", "# This file contains additional runtime requirements that did not get")
zap_line_in_file("b/requires_add", "# picked up automatically. One name per line, no whitespace.")
zap_line_in_file("b/requires_ban", "# This file contains runtime requirements that get picked up but are")
zap_line_in_file("b/requires_ban", "# undesirable. One entry per line, no whitespace.")
zap_line_in_file_start(".spec", "Summary : No detailed summary available")
zap_plus_line_in_file("symbols")
zap_plus_line_in_file("symbols32")
zap_entire_file("b/whatrequires")
zap_empty_chunks()
print_all()
if __name__ == '__main__':
with tempfile.TemporaryDirectory() as workingdir:
main()