mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 11:06:15 +00:00
Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b23d156f2c | |||
| 39e8d4e68a | |||
| 9d440aff3a | |||
| c1e426713a | |||
| d9e4f478eb | |||
| 96b366e71f | |||
| 84097fd526 | |||
| c2cd51b5f2 | |||
| ed1ef58d9a | |||
| 497f2a66f4 | |||
| 3b8d3c66ea | |||
| 373cbad44c | |||
| 0fcc984675 | |||
| 78023bd74a | |||
| d2b5b72346 | |||
| 4953d9e087 | |||
| ee37765ed2 | |||
| 492abf6d32 | |||
| 2562a8c7fb | |||
| 5fd02ece36 | |||
| 039e63fb1e | |||
| dcf8bc4978 | |||
| 3951710117 | |||
| 504d77bc58 | |||
| d3514ae496 | |||
| 4403e9280a |
+12
-5
@@ -157,10 +157,6 @@ pullrebase:
|
||||
fi \
|
||||
fi
|
||||
|
||||
# help vendor: Attempt to create an updated vendor tar archive if needed
|
||||
vendor: preautospec-checks pullrebase clean-old-content
|
||||
@ $(TOPLVL)/projects/common/vendor.py $(firstword $(NEWURL) $(URL)) $(PKG_NAME) $(VND_BASE_URL)
|
||||
|
||||
preautospec-checks:
|
||||
|
||||
#help autospec: automatically generates a specfile. If there is
|
||||
@@ -174,8 +170,8 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
|
||||
echo "Specfile already exists and was not created by autospec.py! Aborting."; \
|
||||
exit 1; \
|
||||
fi
|
||||
$(eval ARCHIVES = $(shell $(TOPLVL)/projects/common/vendor.py '$(value ARCHIVES)' $(firstword $(NEWURL) $(URL)) $(PKG_NAME) $(VND_BASE_URL)))
|
||||
@printf 'PKG_NAME := %s\nURL = %s\nARCHIVES = %s\n\ninclude ../common/Makefile.common\n' $(PKG_NAME) '$(firstword $(value NEWURL) $(value URL))' '$(value ARCHIVES)' > Makefile
|
||||
@$(MAKE) vendor
|
||||
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py \
|
||||
--target . \
|
||||
--integrity \
|
||||
@@ -391,6 +387,17 @@ koji-waitrepo: kojidef
|
||||
koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \
|
||||
fi
|
||||
|
||||
.PHONY: koji-tag
|
||||
#help koji-tag: runs koji tag-pkg on what's in the current specfile's nvr
|
||||
koji-tag:
|
||||
koji tag-pkg dist-clear $(SRPMVERS)
|
||||
|
||||
.PHONY: koji-untag
|
||||
#help koji-untag: runs koji untag-pkg on what's in the current specfile's nvr
|
||||
koji-untag:
|
||||
koji untag-pkg dist-clear $(SRPMVERS)
|
||||
|
||||
|
||||
update-versions:
|
||||
|
||||
.PHONY: update
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
/usr/lib/systemd/system/sysinit.target.wants/systemd-firstboot.service
|
||||
/usr/lib/systemd/system/sysinit.target.wants/systemd-hwdb-update.service
|
||||
/usr/lib/systemd/system/sysinit.target.wants/systemd-update-done.service
|
||||
/usr/lib/systemd/system/update-triggers.target.wants
|
||||
|
||||
@@ -10,6 +10,7 @@ DML
|
||||
Endeavour
|
||||
F-Engrave
|
||||
FreeRDP
|
||||
FreeRDP2
|
||||
GConf
|
||||
Gradio
|
||||
ImageMagick
|
||||
@@ -42,10 +43,12 @@ OpenSP
|
||||
PDAL
|
||||
PyMySQL
|
||||
PyQt5
|
||||
PyQt6
|
||||
PySocks
|
||||
PyYAML
|
||||
QAT-ZSTD-Plugin
|
||||
QAT_engine
|
||||
QR-Code-generator
|
||||
QXlsx
|
||||
R
|
||||
R-AER
|
||||
@@ -103,11 +106,11 @@ R-ICEbox
|
||||
R-ICS
|
||||
R-ICSNP
|
||||
R-IRdisplay
|
||||
R-IRkernel
|
||||
R-ISOcodes
|
||||
R-ISwR
|
||||
R-Iso
|
||||
R-JM
|
||||
R-KMsurv
|
||||
R-Lahman
|
||||
R-LearnBayes
|
||||
R-Luminescence
|
||||
@@ -374,6 +377,7 @@ R-estimability
|
||||
R-etm
|
||||
R-evaluate
|
||||
R-evd
|
||||
R-exactRankTests
|
||||
R-expint
|
||||
R-expm
|
||||
R-expsmooth
|
||||
@@ -412,6 +416,7 @@ R-fixest
|
||||
R-flashClust
|
||||
R-flexmix
|
||||
R-flexsurv
|
||||
R-flexsurvcure
|
||||
R-flextable
|
||||
R-float
|
||||
R-fontBitstreamVera
|
||||
@@ -459,9 +464,13 @@ R-ggfortify
|
||||
R-ggjoy
|
||||
R-ggplot2
|
||||
R-ggplot2movies
|
||||
R-ggpubr
|
||||
R-ggrepel
|
||||
R-ggridges
|
||||
R-ggsci
|
||||
R-ggsignif
|
||||
R-ggstats
|
||||
R-ggtext
|
||||
R-ggvis
|
||||
R-gh
|
||||
R-git2r
|
||||
@@ -481,6 +490,7 @@ R-gower
|
||||
R-gplots
|
||||
R-gridBase
|
||||
R-gridExtra
|
||||
R-gridtext
|
||||
R-gsl
|
||||
R-gss
|
||||
R-gtable
|
||||
@@ -535,6 +545,7 @@ R-kernlab
|
||||
R-kimisc
|
||||
R-kit
|
||||
R-klaR
|
||||
R-km.ci
|
||||
R-kmi
|
||||
R-knitr
|
||||
R-ks
|
||||
@@ -595,6 +606,7 @@ R-mathjaxr
|
||||
R-matrixStats
|
||||
R-matrixcalc
|
||||
R-maxLik
|
||||
R-maxstat
|
||||
R-mclogit
|
||||
R-mclust
|
||||
R-mcmc
|
||||
@@ -611,6 +623,7 @@ R-mime
|
||||
R-miniUI
|
||||
R-minpack.lm
|
||||
R-minqa
|
||||
R-minty
|
||||
R-mirt
|
||||
R-misc3d
|
||||
R-miscF
|
||||
@@ -642,6 +655,7 @@ R-mvnfast
|
||||
R-mvnormtest
|
||||
R-mvoutlier
|
||||
R-mvtnorm
|
||||
R-nanoarrow
|
||||
R-natserv
|
||||
R-ncbit
|
||||
R-ncdf4
|
||||
@@ -840,6 +854,7 @@ R-rsdmx
|
||||
R-rstan
|
||||
R-rstanarm
|
||||
R-rstantools
|
||||
R-rstatix
|
||||
R-rstpm2
|
||||
R-rstudioapi
|
||||
R-rsvg
|
||||
@@ -913,13 +928,16 @@ R-statmod
|
||||
R-statnet.common
|
||||
R-stringdist
|
||||
R-stringi
|
||||
R-stringmagic
|
||||
R-stringr
|
||||
R-strucchange
|
||||
R-styler
|
||||
R-subplex
|
||||
R-subselect
|
||||
R-superpc
|
||||
R-survMisc
|
||||
R-survey
|
||||
R-survminer
|
||||
R-svUnit
|
||||
R-svglite
|
||||
R-sys
|
||||
@@ -1043,6 +1061,7 @@ SuiteSparse
|
||||
TLP
|
||||
Thunar
|
||||
UCD
|
||||
UxPlay
|
||||
VTK
|
||||
Vc
|
||||
Vulkan-Headers
|
||||
@@ -1061,7 +1080,6 @@ acl
|
||||
acpica-unix2
|
||||
ade
|
||||
adwaita-icon-theme
|
||||
aesara
|
||||
akonadi
|
||||
akonadi-calendar
|
||||
akonadi-calendar-tools
|
||||
@@ -1096,8 +1114,8 @@ ark
|
||||
armadillo
|
||||
arp-scan
|
||||
arpack-ng
|
||||
artikulate
|
||||
asciidoc
|
||||
asciidoctor
|
||||
asciinema
|
||||
asio
|
||||
aspell
|
||||
@@ -1143,6 +1161,7 @@ bashdb
|
||||
bats
|
||||
bc
|
||||
bcache-tools
|
||||
bcachefs-tools
|
||||
bcc
|
||||
bcftools
|
||||
bdftopcf
|
||||
@@ -1151,6 +1170,7 @@ bind-utils
|
||||
binutils
|
||||
binwalk
|
||||
bison
|
||||
blender
|
||||
blinken
|
||||
blivet-gui
|
||||
blktrace
|
||||
@@ -1169,6 +1189,7 @@ boto3
|
||||
botocore
|
||||
bovo
|
||||
box2d
|
||||
bpftool
|
||||
bpftrace
|
||||
breeze
|
||||
breeze-gtk
|
||||
@@ -1212,12 +1233,12 @@ calendarsupport
|
||||
can-utils
|
||||
cantarell-fonts
|
||||
cantata
|
||||
cantor
|
||||
capnproto
|
||||
capslock
|
||||
capstone
|
||||
casync
|
||||
catch2
|
||||
cbindgen
|
||||
ccache
|
||||
ccid
|
||||
cdparanoia
|
||||
@@ -1289,8 +1310,10 @@ collectl
|
||||
colm
|
||||
colord
|
||||
colord-gtk
|
||||
colord-kde
|
||||
colordiff
|
||||
columbiad
|
||||
compat-Botan-soname2
|
||||
compat-atkmm-soname16
|
||||
compat-babeltrace-one
|
||||
compat-cairomm-soname10
|
||||
@@ -1302,21 +1325,28 @@ compat-gcc-10
|
||||
compat-gcr-soname1
|
||||
compat-glibmm-soname24
|
||||
compat-gnome-bluetooth-soname-13
|
||||
compat-gsl-soname27
|
||||
compat-gtksourceview-soname3
|
||||
compat-json-c-soname4
|
||||
compat-libffi-soname6
|
||||
compat-libffi-soname7
|
||||
compat-libpng-soname12
|
||||
compat-libsigc++-soname20
|
||||
compat-libsoup-soname-24
|
||||
compat-libva-soname1
|
||||
compat-libvpx-soname7
|
||||
compat-libvpx-soname8
|
||||
compat-pangomm-soname14
|
||||
compat-protobuf-soname29
|
||||
compat-protobuf-soname32
|
||||
compat-re2-soname10
|
||||
compat-readline-soname5
|
||||
compat-taglib-soname1
|
||||
compat-tbb-soname2
|
||||
compat-tiff-soname5
|
||||
compat-wlroots-soname11
|
||||
component
|
||||
compose
|
||||
configobj
|
||||
confuse
|
||||
conky
|
||||
@@ -1383,6 +1413,7 @@ directx-headers
|
||||
direwolf
|
||||
dist-pam-configs
|
||||
dkms
|
||||
dlib
|
||||
dlt-daemon
|
||||
dmap2gcode
|
||||
dmenu
|
||||
@@ -1405,6 +1436,7 @@ dotconf
|
||||
double-conversion
|
||||
dovecot
|
||||
doxygen
|
||||
dpcpp-compiler
|
||||
dpdk
|
||||
draco
|
||||
dracut
|
||||
@@ -1413,13 +1445,13 @@ dragonbox
|
||||
drkonqi
|
||||
dropwatch
|
||||
dssi
|
||||
dstat
|
||||
dtc
|
||||
duktape
|
||||
dunst
|
||||
duperemove
|
||||
dvisvgm
|
||||
dwarves
|
||||
dymo-cups-drivers
|
||||
dyskctl
|
||||
e2fsprogs
|
||||
earlyoom
|
||||
@@ -1446,6 +1478,7 @@ eog
|
||||
eog-plugins
|
||||
epm
|
||||
epson-inkjet-printer-escpr
|
||||
epsonscan2
|
||||
ethtool
|
||||
etr
|
||||
eventviews
|
||||
@@ -1455,7 +1488,7 @@ evolution-data-server
|
||||
evolution-ews
|
||||
evtest
|
||||
exempi
|
||||
exfat-utils
|
||||
exfatprogs
|
||||
exiv2
|
||||
exo
|
||||
expat
|
||||
@@ -1469,9 +1502,11 @@ fann
|
||||
farstream
|
||||
faultstat
|
||||
fcgi
|
||||
fdk-aac
|
||||
fdupes
|
||||
feh
|
||||
fetchmail
|
||||
ffmpegthumbs
|
||||
fftw
|
||||
file
|
||||
file-roller
|
||||
@@ -1485,6 +1520,7 @@ fish
|
||||
flac
|
||||
flare-engine
|
||||
flare-game
|
||||
flatpack-kcm
|
||||
flatpak
|
||||
flatpak-builder
|
||||
fldigi
|
||||
@@ -1562,6 +1598,7 @@ gimp
|
||||
girara
|
||||
git
|
||||
git-gui
|
||||
git-lfs
|
||||
gitg
|
||||
gitolite
|
||||
gjs
|
||||
@@ -1689,6 +1726,7 @@ gtk3
|
||||
gtk4
|
||||
gtkmm2
|
||||
gtkmm3
|
||||
gtkmm4
|
||||
gtksourceview
|
||||
gtksourceview4
|
||||
gtkspell3
|
||||
@@ -1697,7 +1735,6 @@ guile
|
||||
gutenprint
|
||||
gvfs
|
||||
gvim
|
||||
gwenview
|
||||
gzip
|
||||
hamlib
|
||||
haproxy
|
||||
@@ -1714,6 +1751,7 @@ hexedit
|
||||
hicolor-icon-theme
|
||||
hiredis-c
|
||||
hostname
|
||||
howdy
|
||||
hplip
|
||||
htop
|
||||
htslib
|
||||
@@ -1757,6 +1795,7 @@ inkscape
|
||||
innoextract
|
||||
inotify-tools
|
||||
input-leap
|
||||
input-remapper
|
||||
intel-cmt-cat
|
||||
intel-gmmlib
|
||||
intel-hybrid-driver
|
||||
@@ -1771,7 +1810,6 @@ iotop
|
||||
ipaddr
|
||||
ipe
|
||||
iperf
|
||||
ipmctl
|
||||
ipmitool
|
||||
ipp-crypto
|
||||
iproute2
|
||||
@@ -1807,10 +1845,9 @@ json-glib
|
||||
jsoncpp
|
||||
juk
|
||||
kaccounts-integration
|
||||
kactivities
|
||||
kactivities-stats
|
||||
kactivitymanagerd
|
||||
kalarm
|
||||
kalgebra
|
||||
kamera
|
||||
kanagram
|
||||
kapidox
|
||||
@@ -1824,7 +1861,6 @@ kbackup
|
||||
kbd
|
||||
kblackbox
|
||||
kblocks
|
||||
kblog
|
||||
kbookmarks
|
||||
kbounce
|
||||
kbreakout
|
||||
@@ -1838,6 +1874,7 @@ kcmutils
|
||||
kcodecs
|
||||
kcolorchooser
|
||||
kcolorpicker
|
||||
kcolorscheme
|
||||
kcompletion
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
@@ -1859,27 +1896,24 @@ kded
|
||||
kdeedu-data
|
||||
kdegraphics-mobipocket
|
||||
kdegraphics-thumbnailers
|
||||
kdelibs4support
|
||||
kdenetwork-filesharing
|
||||
kdenlive
|
||||
kdepim-runtime
|
||||
kdeplasma-addons
|
||||
kdesdk-kioslaves
|
||||
kdesdk-kio
|
||||
kdesdk-thumbnailers
|
||||
kdesignerplugin
|
||||
kdesu
|
||||
kdf
|
||||
kdiagram
|
||||
kdialog
|
||||
kdiamond
|
||||
kdiff3
|
||||
kdnssd
|
||||
kdoctools
|
||||
kdsoap
|
||||
kdsoap-ws-discovery-client
|
||||
keditbookmarks
|
||||
keepalived
|
||||
keepassxc
|
||||
kemoticons
|
||||
kernel-config
|
||||
kernel-install
|
||||
kexec-tools
|
||||
@@ -1887,24 +1921,24 @@ keychain
|
||||
keyutils
|
||||
kfilemetadata
|
||||
kfind
|
||||
kfloppy
|
||||
kfourinline
|
||||
kgamma5
|
||||
kgamma
|
||||
kgeography
|
||||
kget
|
||||
kglobalaccel
|
||||
kglobalacceld
|
||||
kgoldrunner
|
||||
kgpg
|
||||
kguiaddons
|
||||
khangman
|
||||
khelpcenter
|
||||
kholidays
|
||||
khotkeys
|
||||
khtml
|
||||
ki18n
|
||||
kicad
|
||||
kicad-packages3D
|
||||
kiconthemes
|
||||
kidentitymanagement
|
||||
kidletime
|
||||
kig
|
||||
kigo
|
||||
killbots
|
||||
kimageannotator
|
||||
@@ -1912,19 +1946,21 @@ kimageformats
|
||||
kimagemapeditor
|
||||
kimap
|
||||
kinfocenter
|
||||
kinit
|
||||
kio
|
||||
kio-admin
|
||||
kio-extras
|
||||
kio-zeroconf
|
||||
kirigami
|
||||
kirigami-addons
|
||||
kirigami-gallery
|
||||
kirigami2
|
||||
kiriki
|
||||
kitemmodels
|
||||
kitemviews
|
||||
kiten
|
||||
kitinerary
|
||||
kjobwidgets
|
||||
kjs
|
||||
kjsembed
|
||||
kjumpingcube
|
||||
kldap
|
||||
kleopatra
|
||||
@@ -1937,7 +1973,6 @@ kmail
|
||||
kmail-account-wizard
|
||||
kmailtransport
|
||||
kmbox
|
||||
kmediaplayer
|
||||
kmenuedit
|
||||
kmime
|
||||
kmines
|
||||
@@ -1949,6 +1984,7 @@ knack
|
||||
knavalbattle
|
||||
knetwalk
|
||||
knewstuff
|
||||
knights
|
||||
knotes
|
||||
knotifications
|
||||
knotifyconfig
|
||||
@@ -1976,10 +2012,8 @@ krb5
|
||||
krdc
|
||||
kreversi
|
||||
kronosnet
|
||||
kross
|
||||
kruler
|
||||
krunner
|
||||
krusader
|
||||
ksanecore
|
||||
kscreen
|
||||
kscreenlocker
|
||||
@@ -1992,18 +2026,18 @@ ksnakeduel
|
||||
kspaceduel
|
||||
ksquares
|
||||
ksshaskpass
|
||||
kstars
|
||||
kstatusnotifieritem
|
||||
ksudoku
|
||||
ksysguard
|
||||
ksvg
|
||||
ksystemlog
|
||||
ksystemstats
|
||||
kteatime
|
||||
ktextaddons
|
||||
ktexteditor
|
||||
ktexttemplate
|
||||
ktextwidgets
|
||||
ktimer
|
||||
ktnef
|
||||
ktp-desktop-applets
|
||||
ktuberling
|
||||
kturtle
|
||||
kubernetes
|
||||
@@ -2014,7 +2048,6 @@ kwallet
|
||||
kwallet-pam
|
||||
kwalletmanager
|
||||
kwayland
|
||||
kwayland-integration
|
||||
kwayland-server
|
||||
kwidgetsaddons
|
||||
kwin
|
||||
@@ -2022,11 +2055,9 @@ kwindowsystem
|
||||
kwordquiz
|
||||
kwrited
|
||||
kxmlgui
|
||||
kxmlrpcclient
|
||||
kyotocabinet
|
||||
ladspa_sdk
|
||||
latencytop
|
||||
latte-dock
|
||||
layer-shell-qt
|
||||
lcms2
|
||||
lcov
|
||||
@@ -2062,6 +2093,7 @@ libaccounts-glib
|
||||
libaccounts-qt
|
||||
libadwaita
|
||||
libaio
|
||||
libajantv2
|
||||
libao
|
||||
libaom
|
||||
libappindicator
|
||||
@@ -2073,6 +2105,7 @@ libatomic_ops
|
||||
libavif
|
||||
libavtp
|
||||
libb64
|
||||
libbacktrace
|
||||
libblockdev
|
||||
libbpf
|
||||
libbsd
|
||||
@@ -2099,6 +2132,7 @@ libcryptui
|
||||
libcuckoo
|
||||
libcxx
|
||||
libdaemon
|
||||
libdatachannel
|
||||
libdatrie
|
||||
libdazzle
|
||||
libdbusmenu
|
||||
@@ -2168,6 +2202,7 @@ libiscsi
|
||||
libisofs
|
||||
libjcat
|
||||
libjpeg-turbo
|
||||
libjuice
|
||||
libkcapi
|
||||
libkcddb
|
||||
libkcompactdisc
|
||||
@@ -2177,7 +2212,6 @@ libkdepim
|
||||
libkeduvocdocument
|
||||
libkexiv2
|
||||
libkgapi
|
||||
libkipi
|
||||
libkleo
|
||||
libkmahjongg
|
||||
libkomparediff2
|
||||
@@ -2200,6 +2234,7 @@ libmodplug
|
||||
libmodulemd
|
||||
libmpack
|
||||
libmpack-lua
|
||||
libmsgraph
|
||||
libmspack
|
||||
libmspub
|
||||
libmtp
|
||||
@@ -2236,12 +2271,16 @@ libpeas
|
||||
libpinyin
|
||||
libpipeline
|
||||
libplacebo
|
||||
libplasma
|
||||
libplist
|
||||
libpng
|
||||
libportal
|
||||
libproxy
|
||||
libpsl
|
||||
libpthread-stubs
|
||||
libptytty
|
||||
libpwquality
|
||||
libqaccessibilityclient
|
||||
libqalculate
|
||||
libqb
|
||||
libqmi
|
||||
@@ -2276,6 +2315,7 @@ libspatialite
|
||||
libspectre
|
||||
libspiro
|
||||
libspnav
|
||||
libspng
|
||||
libsrtp
|
||||
libssh
|
||||
libssh2
|
||||
@@ -2322,6 +2362,7 @@ libwpd
|
||||
libwpe
|
||||
libwpg
|
||||
libwps
|
||||
libxcrypt
|
||||
libxcvt
|
||||
libxdg-basedir
|
||||
libxfce4ui
|
||||
@@ -2368,7 +2409,6 @@ lm-sensors
|
||||
lmdb
|
||||
logrotate
|
||||
logutils
|
||||
lokalize
|
||||
lpeg
|
||||
lsacpi
|
||||
lshw
|
||||
@@ -2424,7 +2464,6 @@ meson
|
||||
messagelib
|
||||
meta-c-basic
|
||||
meta-desktop-gnome
|
||||
meta-desktop-kde
|
||||
meta-os-core
|
||||
meta-os-core-plus
|
||||
metacity
|
||||
@@ -2437,6 +2476,7 @@ micro-config-drive-aws
|
||||
micro-config-drive-equinix
|
||||
micro-config-drive-oci
|
||||
milou
|
||||
mimetreeparser
|
||||
minetest
|
||||
minetest_game
|
||||
mingw-binutils
|
||||
@@ -2514,6 +2554,7 @@ net-tools
|
||||
netaddr
|
||||
netbase
|
||||
netcdf
|
||||
netcdf-fortran
|
||||
netdata
|
||||
nethogs
|
||||
netplan
|
||||
@@ -2539,8 +2580,10 @@ nicstat
|
||||
nim
|
||||
ninja
|
||||
nload
|
||||
nlohmann_json
|
||||
nlopt
|
||||
nmap
|
||||
node-addon-api
|
||||
nodejs
|
||||
nose-parameterized
|
||||
not-ffmpeg
|
||||
@@ -2566,13 +2609,14 @@ nut
|
||||
nv-codec-headers
|
||||
nvme-cli
|
||||
oath-toolkit
|
||||
obs-studio
|
||||
ocaml
|
||||
ocamlbuild
|
||||
ocl-icd
|
||||
octave
|
||||
oiio
|
||||
okteta
|
||||
okular
|
||||
oneDPL
|
||||
oneVPL
|
||||
onig
|
||||
opa-fm
|
||||
@@ -2584,6 +2628,7 @@ open-vm-tools
|
||||
openal-soft
|
||||
openblas
|
||||
openbox
|
||||
opencl-clang
|
||||
opencl-headers
|
||||
openconnect
|
||||
openct
|
||||
@@ -2598,6 +2643,7 @@ openpace
|
||||
opensm
|
||||
openssh
|
||||
openssl
|
||||
openvino
|
||||
openvpn
|
||||
openvswitch
|
||||
optipng
|
||||
@@ -2613,7 +2659,7 @@ osm-gps-map
|
||||
ostree
|
||||
otp
|
||||
oxygen
|
||||
oxygen-icons5
|
||||
oxygen-icons
|
||||
oxygen-sounds
|
||||
p11-kit
|
||||
p7zip
|
||||
@@ -2622,6 +2668,7 @@ pagemon
|
||||
paho.mqtt.c
|
||||
paho.mqtt.cpp
|
||||
palapeli
|
||||
pam-python
|
||||
pam_wrapper
|
||||
pandas
|
||||
pandoc
|
||||
@@ -3219,6 +3266,7 @@ perl-Plack
|
||||
perl-Pod-Constants
|
||||
perl-Pod-Coverage
|
||||
perl-Pod-LaTeX
|
||||
perl-Pod-Markdown
|
||||
perl-Pod-POM
|
||||
perl-Pod-Parser
|
||||
perl-Pod-Plainer
|
||||
@@ -3334,6 +3382,7 @@ perl-Test-File-ShareDir-Dist
|
||||
perl-Test-Fork
|
||||
perl-Test-Future-IO-Impl
|
||||
perl-Test-Identity
|
||||
perl-Test-InDistDir
|
||||
perl-Test-Inter
|
||||
perl-Test-LWP-UserAgent
|
||||
perl-Test-LeakTrace
|
||||
@@ -3402,6 +3451,8 @@ perl-Text-Trim
|
||||
perl-Text-Unidecode
|
||||
perl-Text-WrapI18N
|
||||
perl-Text-Wrapper
|
||||
perl-Throwable
|
||||
perl-Throwable-SugarFactory
|
||||
perl-Tie-Cycle
|
||||
perl-Tie-IxHash
|
||||
perl-Tie-Simple
|
||||
@@ -3562,18 +3613,24 @@ pipewire
|
||||
pixman
|
||||
pkcs11-helper
|
||||
pkg-config
|
||||
plasma-activities
|
||||
plasma-activities-stats
|
||||
plasma-browser-integration
|
||||
plasma-desktop
|
||||
plasma-discover
|
||||
plasma-framework
|
||||
plasma-disks
|
||||
plasma-firewall
|
||||
plasma-integration
|
||||
plasma-nm
|
||||
plasma-pa
|
||||
plasma-systemmonitor
|
||||
plasma-vault
|
||||
plasma-wayland-protocols
|
||||
plasma-welcome
|
||||
plasma-workspace
|
||||
plasma-workspace-wallpapers
|
||||
plasma5support
|
||||
plog
|
||||
plzip
|
||||
pm-graph
|
||||
pmdk
|
||||
@@ -3585,6 +3642,7 @@ podman
|
||||
polkit
|
||||
polkit-kde-agent
|
||||
polkit-qt
|
||||
polkit-qt6
|
||||
poppler
|
||||
poppler-data-clr-rename
|
||||
popt
|
||||
@@ -3618,7 +3676,9 @@ psstop
|
||||
pth
|
||||
pugixml
|
||||
pulseaudio
|
||||
pulseaudio-qt
|
||||
purpose
|
||||
puzzles
|
||||
pv
|
||||
pwgen
|
||||
pyatspi
|
||||
@@ -3745,6 +3805,7 @@ pypi-certifi
|
||||
pypi-cffi
|
||||
pypi-cffsubr
|
||||
pypi-cfgv
|
||||
pypi-chai
|
||||
pypi-chaospy
|
||||
pypi-chardet
|
||||
pypi-charset_normalizer
|
||||
@@ -3802,11 +3863,13 @@ pypi-cython
|
||||
pypi-cytoolz
|
||||
pypi-dacite
|
||||
pypi-dask
|
||||
pypi-dateparser
|
||||
pypi-datetime
|
||||
pypi-debugpy
|
||||
pypi-decorator
|
||||
pypi-deepmerge
|
||||
pypi-deepspeed
|
||||
pypi-dep_logic
|
||||
pypi-deprecated
|
||||
pypi-deprecation
|
||||
pypi-devpi_client
|
||||
@@ -3832,12 +3895,13 @@ pypi-dnacentersdk
|
||||
pypi-dns_lexicon
|
||||
pypi-dnspython
|
||||
pypi-docker
|
||||
pypi-docker_compose
|
||||
pypi-docker_pycreds
|
||||
pypi-docopt
|
||||
pypi-docstring_parser
|
||||
pypi-docstring_to_markdown
|
||||
pypi-docutils
|
||||
pypi-doxypypy
|
||||
pypi-doxyqml
|
||||
pypi-dpcontracts
|
||||
pypi-dulwich
|
||||
pypi-ecdsa
|
||||
@@ -3877,6 +3941,7 @@ pypi-flaky
|
||||
pypi-flask
|
||||
pypi-flatbuffers
|
||||
pypi-flatten_json
|
||||
pypi-flexparser
|
||||
pypi-flit
|
||||
pypi-flit_core
|
||||
pypi-flit_scm
|
||||
@@ -3938,6 +4003,7 @@ pypi-hatch_requirements_txt
|
||||
pypi-hatch_vcs
|
||||
pypi-hatchling
|
||||
pypi-heapdict
|
||||
pypi-hishel
|
||||
pypi-hjson
|
||||
pypi-hkp4py
|
||||
pypi-home_assistant_frontend
|
||||
@@ -3997,7 +4063,6 @@ pypi-jaraco.functools
|
||||
pypi-jaraco.text
|
||||
pypi-jarn.viewdoc
|
||||
pypi-javaproperties
|
||||
pypi-jax
|
||||
pypi-jedi
|
||||
pypi-jeepney
|
||||
pypi-jellyfish
|
||||
@@ -4045,6 +4110,7 @@ pypi-kiwisolver
|
||||
pypi-krb5
|
||||
pypi-kubernetes
|
||||
pypi-langcodes
|
||||
pypi-language_data
|
||||
pypi-lark_parser
|
||||
pypi-latexcodec
|
||||
pypi-lavacli
|
||||
@@ -4070,6 +4136,7 @@ pypi-lxml
|
||||
pypi-lz4
|
||||
pypi-macholib
|
||||
pypi-mako
|
||||
pypi-marisa_trie
|
||||
pypi-markdown
|
||||
pypi-markdown2
|
||||
pypi-markdown_exec
|
||||
@@ -4089,6 +4156,7 @@ pypi-mkdocs
|
||||
pypi-mkdocs_autorefs
|
||||
pypi-mkdocs_exclude
|
||||
pypi-mkdocs_gen_files
|
||||
pypi-mkdocs_get_deps
|
||||
pypi-mkdocs_htmlproofer_plugin
|
||||
pypi-mkdocs_material_extensions
|
||||
pypi-mkdocs_monorepo_plugin
|
||||
@@ -4136,6 +4204,7 @@ pypi-nocasedict
|
||||
pypi-nocaselist
|
||||
pypi-nodeenv
|
||||
pypi-notebook_shim
|
||||
pypi-numexpr
|
||||
pypi-numpoly
|
||||
pypi-numpy
|
||||
pypi-numpydoc
|
||||
@@ -4153,6 +4222,7 @@ pypi-outcome
|
||||
pypi-overrides
|
||||
pypi-ovirt_imageio
|
||||
pypi-packaging
|
||||
pypi-packaging_legacy
|
||||
pypi-paginate
|
||||
pypi-paho_mqtt
|
||||
pypi-pandocfilters
|
||||
@@ -4173,9 +4243,11 @@ pypi-pathlib2
|
||||
pypi-pathspec
|
||||
pypi-patsy
|
||||
pypi-pbr
|
||||
pypi-pbs_installer
|
||||
pypi-pdfminer.six
|
||||
pypi-pdm
|
||||
pypi-pdm_backend
|
||||
pypi-pdm_build_locked
|
||||
pypi-pdm_pep517
|
||||
pypi-pecan
|
||||
pypi-ped
|
||||
@@ -4217,6 +4289,7 @@ pypi-portend
|
||||
pypi-posix_ipc
|
||||
pypi-poyo
|
||||
pypi-pre_commit
|
||||
pypi-pretty_errors
|
||||
pypi-prettytable
|
||||
pypi-probed
|
||||
pypi-progress
|
||||
@@ -4224,6 +4297,7 @@ pypi-progressbar
|
||||
pypi-prometheus_client
|
||||
pypi-prompt_toolkit
|
||||
pypi-proto_plus
|
||||
pypi-protobuf
|
||||
pypi-psautohint
|
||||
pypi-psutil
|
||||
pypi-psycopg2
|
||||
@@ -4255,6 +4329,7 @@ pypi-pycups
|
||||
pypi-pycurl
|
||||
pypi-pydantic
|
||||
pypi-pydantic_core
|
||||
pypi-pydbus
|
||||
pypi-pydispatcher
|
||||
pypi-pydocstyle
|
||||
pypi-pydot
|
||||
@@ -4263,6 +4338,7 @@ pypi-pyelftools
|
||||
pypi-pyfakefs
|
||||
pypi-pyflakes
|
||||
pypi-pygame
|
||||
pypi-pygdbmi
|
||||
pypi-pygithub
|
||||
pypi-pygments
|
||||
pypi-pyicu
|
||||
@@ -4410,6 +4486,7 @@ pypi-safetensors
|
||||
pypi-salib
|
||||
pypi-sanic_routing
|
||||
pypi-scikit_build
|
||||
pypi-scikit_build_core
|
||||
pypi-scikit_image
|
||||
pypi-scikit_learn
|
||||
pypi-scp
|
||||
@@ -4435,6 +4512,7 @@ pypi-setuptools_scm
|
||||
pypi-sh
|
||||
pypi-shapely
|
||||
pypi-shellingham
|
||||
pypi-shelved_cache
|
||||
pypi-simplegeneric
|
||||
pypi-six
|
||||
pypi-slugify
|
||||
@@ -4488,6 +4566,7 @@ pypi-sqlalchemy
|
||||
pypi-sqlparse
|
||||
pypi-sshtunnel
|
||||
pypi-stack_data
|
||||
pypi-starlette
|
||||
pypi-storops
|
||||
pypi-strictyaml
|
||||
pypi-subprocess_tee
|
||||
@@ -4513,6 +4592,7 @@ pypi-three_merge
|
||||
pypi-tifffile
|
||||
pypi-tinycss2
|
||||
pypi-tldextract
|
||||
pypi-tokenizers
|
||||
pypi-toml
|
||||
pypi-tomli
|
||||
pypi-tomli_w
|
||||
@@ -4525,6 +4605,7 @@ pypi-tox
|
||||
pypi-tqdm
|
||||
pypi-traitlets
|
||||
pypi-trampolim
|
||||
pypi-transformers
|
||||
pypi-translationstring
|
||||
pypi-trimesh
|
||||
pypi-trio
|
||||
@@ -4535,6 +4616,7 @@ pypi-ttp
|
||||
pypi-twine
|
||||
pypi-typed_ast
|
||||
pypi-typeguard
|
||||
pypi-types_cffi
|
||||
pypi-types_colorama
|
||||
pypi-types_cryptography
|
||||
pypi-types_dataclasses
|
||||
@@ -4578,6 +4660,7 @@ pypi-urlobject
|
||||
pypi-urwid
|
||||
pypi-user_agents
|
||||
pypi-userpath
|
||||
pypi-uvicorn
|
||||
pypi-uvloop
|
||||
pypi-venusian
|
||||
pypi-verboselogs
|
||||
@@ -4591,6 +4674,7 @@ pypi-vsts_cd_manager
|
||||
pypi-waitress
|
||||
pypi-warlock
|
||||
pypi-watchdog
|
||||
pypi-watchfiles
|
||||
pypi-wbdata
|
||||
pypi-wcmatch
|
||||
pypi-wcwidth
|
||||
@@ -4687,6 +4771,8 @@ qbittorrent
|
||||
qca
|
||||
qca-qt5
|
||||
qcoro
|
||||
qcoro6
|
||||
qdmr
|
||||
qemu
|
||||
qemu-guest-additions
|
||||
qgit
|
||||
@@ -4804,7 +4890,6 @@ rlwrap
|
||||
rng-tools
|
||||
robin-map
|
||||
roboto
|
||||
rocs
|
||||
rofi
|
||||
rpcbind
|
||||
rpcsvc-proto
|
||||
@@ -4819,6 +4904,7 @@ rtmpdump
|
||||
rttr
|
||||
ruby
|
||||
runc
|
||||
rust-bindgen
|
||||
rustc
|
||||
rxvt-unicode
|
||||
s2tc
|
||||
@@ -4849,6 +4935,7 @@ serf
|
||||
setserial
|
||||
setxkbmap
|
||||
sg3_utils
|
||||
shaderc
|
||||
shadow
|
||||
shapelib
|
||||
shared-mime-info
|
||||
@@ -4863,6 +4950,7 @@ simplescreenrecorder
|
||||
sip
|
||||
slang
|
||||
slirp4netns
|
||||
sluice
|
||||
slurm
|
||||
smartmontools
|
||||
smemstat
|
||||
@@ -5013,13 +5101,13 @@ usb-modeswitch
|
||||
usb-modeswitch-data
|
||||
usbredir
|
||||
usbutils
|
||||
user-manager
|
||||
userspace-rcu
|
||||
usrbinjava
|
||||
usrbinpython
|
||||
usrbinvi
|
||||
usrsctp
|
||||
utf8proc
|
||||
utfcpp
|
||||
uthash
|
||||
util-linux
|
||||
util-macros
|
||||
uwsgi
|
||||
@@ -5126,6 +5214,7 @@ xfce4-whiskermenu-plugin
|
||||
xfconf
|
||||
xfdesktop
|
||||
xfontsel
|
||||
xfsdump
|
||||
xfsprogs
|
||||
xfwm4
|
||||
xhost
|
||||
@@ -5180,7 +5269,6 @@ zabbix
|
||||
zathura
|
||||
zathura-pdf-poppler
|
||||
zenity
|
||||
zeroconf-ioslave
|
||||
zimg
|
||||
zip
|
||||
zlib
|
||||
@@ -5189,4 +5277,5 @@ zopfli
|
||||
zsh
|
||||
zstd
|
||||
zstd-bin
|
||||
zxcvbn-c
|
||||
zxing
|
||||
|
||||
+6
-2
@@ -98,9 +98,13 @@ def zap_entire_file_end(filename):
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
files_to_remove = list()
|
||||
for file in files:
|
||||
if file.endswith(filename):
|
||||
files.remove(file)
|
||||
# Don't modify the original list while iterating over it
|
||||
files_to_remove.append(file)
|
||||
for file in files_to_remove:
|
||||
files.remove(file)
|
||||
|
||||
def zap_line_in_file_substring(filename, match):
|
||||
global header
|
||||
@@ -186,7 +190,7 @@ def zap_empty_chunks():
|
||||
files_to_remove = list()
|
||||
for file in files:
|
||||
if file not in files_chunks:
|
||||
files.remove(file)
|
||||
files_to_remove.append(file)
|
||||
continue
|
||||
to_remove = list()
|
||||
for chunk in files_chunks[file]:
|
||||
|
||||
@@ -30,6 +30,7 @@ def vendor_check():
|
||||
|
||||
def get_args():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('archives')
|
||||
parser.add_argument('url')
|
||||
parser.add_argument('name')
|
||||
parser.add_argument('git')
|
||||
@@ -44,7 +45,7 @@ def setup_content(url):
|
||||
with open(outfile, 'wb') as cfile:
|
||||
cfile.write(response.content)
|
||||
|
||||
subprocess.run(f"tar xf {outfile}", shell=True, cwd=tdir, check=True)
|
||||
subprocess.run(f"tar xf {outfile}", shell=True, cwd=tdir, check=True, stdout=subprocess.DEVNULL)
|
||||
os.remove(outfile)
|
||||
return tdir
|
||||
|
||||
@@ -60,61 +61,88 @@ def setup_cargo_vendor(path):
|
||||
def update_cargo_vendor(path, name, git):
|
||||
git_uri = os.path.join(git, name)
|
||||
vendor_path = os.path.join(path, 'vendor')
|
||||
subprocess.run(f"git clone {git_uri} {vendor_path}", shell=True, check=True)
|
||||
subprocess.run(f"git clone {git_uri} {vendor_path}", shell=True, check=True,
|
||||
stdout=subprocess.DEVNULL)
|
||||
vendor_git = os.path.join(vendor_path, '.git')
|
||||
if not os.path.isdir(vendor_git):
|
||||
# initialize a git repo
|
||||
subprocess.run('git init .', cwd=vendor_path, shell=True, check=True)
|
||||
subprocess.run('git init .', cwd=vendor_path, shell=True, check=True,
|
||||
stdout=subprocess.DEVNULL)
|
||||
subprocess.run(f"git remote add origin {git_uri}", cwd=vendor_path,
|
||||
shell=True, check=True)
|
||||
shell=True, check=True, stdout=subprocess.DEVNULL)
|
||||
backup_vendor_git = os.path.join(path, 'clear-linux-vendor-git')
|
||||
subprocess.run(f"cp -a {vendor_git} {backup_vendor_git}", cwd=path,
|
||||
shell=True, check=True)
|
||||
shell=True, check=True, stdout=subprocess.DEVNULL)
|
||||
shutil.rmtree(vendor_path)
|
||||
subprocess.run('cargo vendor', cwd=path, shell=True, check=True)
|
||||
subprocess.run('cargo vendor', cwd=path, shell=True, check=True,
|
||||
stdout=subprocess.DEVNULL)
|
||||
subprocess.run(f"cp -a {backup_vendor_git} {vendor_git}", cwd=path,
|
||||
shell=True, check=True)
|
||||
shell=True, check=True, stdout=subprocess.DEVNULL)
|
||||
repo = Repo(vendor_path)
|
||||
if not (len(repo.untracked_files) > 0 or repo.is_dirty()):
|
||||
return False
|
||||
subprocess.run('git add .', cwd=vendor_path, shell=True, check=True)
|
||||
subprocess.run('git add .', cwd=vendor_path, shell=True, check=True,
|
||||
stdout=subprocess.DEVNULL)
|
||||
subprocess.run('git commit -m "vendor update"', cwd=vendor_path,
|
||||
shell=True, check=True)
|
||||
shell=True, check=True, stdout=subprocess.DEVNULL)
|
||||
gmt = time.gmtime()
|
||||
tag = f"{gmt.tm_year}-{gmt.tm_mon:02d}-{gmt.tm_mday:02d}-{gmt.tm_hour:02d}-{gmt.tm_min:02d}-{gmt.tm_sec:02d}"
|
||||
subprocess.run(f"git tag {tag}", cwd=vendor_path, shell=True,
|
||||
check=True)
|
||||
check=True, stdout=subprocess.DEVNULL)
|
||||
subprocess.run(f"git push origin main:main {tag}", cwd=vendor_path,
|
||||
shell=True, check=True)
|
||||
shell=True, check=True, stdout=subprocess.DEVNULL)
|
||||
time.sleep(30)
|
||||
return tag
|
||||
|
||||
|
||||
def update_cargo_sources(name, tag):
|
||||
makefile = []
|
||||
archive_match = os.path.join('$(CGIT_BASE_URL)', 'vendor', name,
|
||||
options = []
|
||||
archive_match = os.path.join(r'\$\(CGIT_BASE_URL\)', 'vendor', name,
|
||||
'snapshot', name)
|
||||
archive_replace = os.path.join('$(CGIT_BASE_URL)', 'vendor', name,
|
||||
'snapshot', name)
|
||||
with open('Makefile', encoding='utf8') as mfile:
|
||||
for line in mfile.readlines():
|
||||
if line.startswith('ARCHIVES'):
|
||||
if re.match(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz', line):
|
||||
if re.search(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz', line):
|
||||
new_archives = re.sub(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz',
|
||||
f"{archive_match}-{tag}.tar.xz\n", line)
|
||||
f"{archive_replace}-{tag}.tar.xz", line)
|
||||
else:
|
||||
new_archives = f"ARCHIVES = {archive_match}-{tag}.tar.xz ./vendor\n"
|
||||
new_archives = f"{line[:-1]} {archive_replace}-{tag}.tar.xz ./vendor\n"
|
||||
print(new_archives.replace('ARCHIVES = ', '', 1))
|
||||
makefile.append(new_archives)
|
||||
else:
|
||||
makefile.append(line)
|
||||
with open('Makefile', 'w', encoding='utf8') as mfile:
|
||||
mfile.writelines(makefile)
|
||||
|
||||
archive_match = os.path.join('http://localhost', 'cgit', 'vendor', name,
|
||||
'snapshot', name)
|
||||
with open('options.conf', encoding='utf8') as ofile:
|
||||
for line in ofile.readlines():
|
||||
if line.startswith('archives'):
|
||||
if re.search(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz', line):
|
||||
new_archives = re.sub(archive_match + r'[a-zA-Z0-9_\-.]+\.tar\.xz',
|
||||
f"{archive_match}-{tag}.tar.xz", line)
|
||||
else:
|
||||
new_archives = f"{line[:-1]} {archive_match}-{tag}.tar.xz ./vendor\n"
|
||||
options.append(new_archives)
|
||||
else:
|
||||
options.append(line)
|
||||
with open('options.conf', 'w', encoding='utf8') as ofile:
|
||||
ofile.writelines(options)
|
||||
|
||||
|
||||
def main():
|
||||
updated = False
|
||||
args = get_args()
|
||||
|
||||
vtype = vendor_check()
|
||||
if not vtype:
|
||||
print(args.archives)
|
||||
return
|
||||
|
||||
args = get_args()
|
||||
tdir = setup_content(args.url)
|
||||
if vtype == 'cargo':
|
||||
vdir = setup_cargo_vendor(tdir)
|
||||
@@ -122,7 +150,11 @@ def main():
|
||||
tag = update_cargo_vendor(vdir, args.name, args.git)
|
||||
if tag:
|
||||
update_cargo_sources(args.name, tag)
|
||||
updated = True
|
||||
if not updated:
|
||||
print(args.archives)
|
||||
shutil.rmtree(tdir)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user