mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 11:06:15 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b23d156f2c | |||
| 39e8d4e68a | |||
| 9d440aff3a | |||
| c1e426713a | |||
| d9e4f478eb | |||
| 96b366e71f | |||
| 84097fd526 | |||
| c2cd51b5f2 | |||
| ed1ef58d9a |
+1
-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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -43,10 +43,12 @@ OpenSP
|
||||
PDAL
|
||||
PyMySQL
|
||||
PyQt5
|
||||
PyQt6
|
||||
PySocks
|
||||
PyYAML
|
||||
QAT-ZSTD-Plugin
|
||||
QAT_engine
|
||||
QR-Code-generator
|
||||
QXlsx
|
||||
R
|
||||
R-AER
|
||||
@@ -104,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
|
||||
@@ -375,6 +377,7 @@ R-estimability
|
||||
R-etm
|
||||
R-evaluate
|
||||
R-evd
|
||||
R-exactRankTests
|
||||
R-expint
|
||||
R-expm
|
||||
R-expsmooth
|
||||
@@ -413,6 +416,7 @@ R-fixest
|
||||
R-flashClust
|
||||
R-flexmix
|
||||
R-flexsurv
|
||||
R-flexsurvcure
|
||||
R-flextable
|
||||
R-float
|
||||
R-fontBitstreamVera
|
||||
@@ -460,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
|
||||
@@ -482,6 +490,7 @@ R-gower
|
||||
R-gplots
|
||||
R-gridBase
|
||||
R-gridExtra
|
||||
R-gridtext
|
||||
R-gsl
|
||||
R-gss
|
||||
R-gtable
|
||||
@@ -536,6 +545,7 @@ R-kernlab
|
||||
R-kimisc
|
||||
R-kit
|
||||
R-klaR
|
||||
R-km.ci
|
||||
R-kmi
|
||||
R-knitr
|
||||
R-ks
|
||||
@@ -596,6 +606,7 @@ R-mathjaxr
|
||||
R-matrixStats
|
||||
R-matrixcalc
|
||||
R-maxLik
|
||||
R-maxstat
|
||||
R-mclogit
|
||||
R-mclust
|
||||
R-mcmc
|
||||
@@ -612,6 +623,7 @@ R-mime
|
||||
R-miniUI
|
||||
R-minpack.lm
|
||||
R-minqa
|
||||
R-minty
|
||||
R-mirt
|
||||
R-misc3d
|
||||
R-miscF
|
||||
@@ -842,6 +854,7 @@ R-rsdmx
|
||||
R-rstan
|
||||
R-rstanarm
|
||||
R-rstantools
|
||||
R-rstatix
|
||||
R-rstpm2
|
||||
R-rstudioapi
|
||||
R-rsvg
|
||||
@@ -922,7 +935,9 @@ R-styler
|
||||
R-subplex
|
||||
R-subselect
|
||||
R-superpc
|
||||
R-survMisc
|
||||
R-survey
|
||||
R-survminer
|
||||
R-svUnit
|
||||
R-svglite
|
||||
R-sys
|
||||
@@ -1065,7 +1080,6 @@ acl
|
||||
acpica-unix2
|
||||
ade
|
||||
adwaita-icon-theme
|
||||
aesara
|
||||
akonadi
|
||||
akonadi-calendar
|
||||
akonadi-calendar-tools
|
||||
@@ -1100,7 +1114,6 @@ ark
|
||||
armadillo
|
||||
arp-scan
|
||||
arpack-ng
|
||||
artikulate
|
||||
asciidoc
|
||||
asciidoctor
|
||||
asciinema
|
||||
@@ -1148,6 +1161,7 @@ bashdb
|
||||
bats
|
||||
bc
|
||||
bcache-tools
|
||||
bcachefs-tools
|
||||
bcc
|
||||
bcftools
|
||||
bdftopcf
|
||||
@@ -1175,6 +1189,7 @@ boto3
|
||||
botocore
|
||||
bovo
|
||||
box2d
|
||||
bpftool
|
||||
bpftrace
|
||||
breeze
|
||||
breeze-gtk
|
||||
@@ -1218,12 +1233,12 @@ calendarsupport
|
||||
can-utils
|
||||
cantarell-fonts
|
||||
cantata
|
||||
cantor
|
||||
capnproto
|
||||
capslock
|
||||
capstone
|
||||
casync
|
||||
catch2
|
||||
cbindgen
|
||||
ccache
|
||||
ccid
|
||||
cdparanoia
|
||||
@@ -1310,6 +1325,7 @@ 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
|
||||
@@ -1322,6 +1338,7 @@ compat-libvpx-soname7
|
||||
compat-libvpx-soname8
|
||||
compat-pangomm-soname14
|
||||
compat-protobuf-soname29
|
||||
compat-protobuf-soname32
|
||||
compat-re2-soname10
|
||||
compat-readline-soname5
|
||||
compat-taglib-soname1
|
||||
@@ -1434,6 +1451,7 @@ dunst
|
||||
duperemove
|
||||
dvisvgm
|
||||
dwarves
|
||||
dymo-cups-drivers
|
||||
dyskctl
|
||||
e2fsprogs
|
||||
earlyoom
|
||||
@@ -1484,6 +1502,7 @@ fann
|
||||
farstream
|
||||
faultstat
|
||||
fcgi
|
||||
fdk-aac
|
||||
fdupes
|
||||
feh
|
||||
fetchmail
|
||||
@@ -1501,6 +1520,7 @@ fish
|
||||
flac
|
||||
flare-engine
|
||||
flare-game
|
||||
flatpack-kcm
|
||||
flatpak
|
||||
flatpak-builder
|
||||
fldigi
|
||||
@@ -1542,7 +1562,6 @@ gc
|
||||
gcab
|
||||
gcc
|
||||
gcc11
|
||||
gcc14
|
||||
gcc7
|
||||
gcc8
|
||||
gcc9
|
||||
@@ -1707,6 +1726,7 @@ gtk3
|
||||
gtk4
|
||||
gtkmm2
|
||||
gtkmm3
|
||||
gtkmm4
|
||||
gtksourceview
|
||||
gtksourceview4
|
||||
gtkspell3
|
||||
@@ -1715,7 +1735,6 @@ guile
|
||||
gutenprint
|
||||
gvfs
|
||||
gvim
|
||||
gwenview
|
||||
gzip
|
||||
hamlib
|
||||
haproxy
|
||||
@@ -1791,7 +1810,6 @@ iotop
|
||||
ipaddr
|
||||
ipe
|
||||
iperf
|
||||
ipmctl
|
||||
ipmitool
|
||||
ipp-crypto
|
||||
iproute2
|
||||
@@ -1827,8 +1845,6 @@ json-glib
|
||||
jsoncpp
|
||||
juk
|
||||
kaccounts-integration
|
||||
kactivities
|
||||
kactivities-stats
|
||||
kactivitymanagerd
|
||||
kalarm
|
||||
kalgebra
|
||||
@@ -1845,7 +1861,6 @@ kbackup
|
||||
kbd
|
||||
kblackbox
|
||||
kblocks
|
||||
kblog
|
||||
kbookmarks
|
||||
kbounce
|
||||
kbreakout
|
||||
@@ -1859,6 +1874,7 @@ kcmutils
|
||||
kcodecs
|
||||
kcolorchooser
|
||||
kcolorpicker
|
||||
kcolorscheme
|
||||
kcompletion
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
@@ -1880,27 +1896,24 @@ kded
|
||||
kdeedu-data
|
||||
kdegraphics-mobipocket
|
||||
kdegraphics-thumbnailers
|
||||
kdelibs4support
|
||||
kdenetwork-filesharing
|
||||
kdenlive
|
||||
kdepim-runtime
|
||||
kdeplasma-addons
|
||||
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
|
||||
@@ -1908,27 +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
|
||||
@@ -1936,11 +1946,11 @@ kimageformats
|
||||
kimagemapeditor
|
||||
kimap
|
||||
kinfocenter
|
||||
kinit
|
||||
kio
|
||||
kio-admin
|
||||
kio-extras
|
||||
kio-zeroconf
|
||||
kirigami
|
||||
kirigami-addons
|
||||
kirigami-gallery
|
||||
kirigami2
|
||||
@@ -1951,7 +1961,6 @@ kiten
|
||||
kitinerary
|
||||
kjobwidgets
|
||||
kjs
|
||||
kjsembed
|
||||
kjumpingcube
|
||||
kldap
|
||||
kleopatra
|
||||
@@ -1964,11 +1973,9 @@ kmail
|
||||
kmail-account-wizard
|
||||
kmailtransport
|
||||
kmbox
|
||||
kmediaplayer
|
||||
kmenuedit
|
||||
kmime
|
||||
kmines
|
||||
kmix
|
||||
kmod
|
||||
kmousetool
|
||||
kmouth
|
||||
@@ -2005,10 +2012,8 @@ krb5
|
||||
krdc
|
||||
kreversi
|
||||
kronosnet
|
||||
kross
|
||||
kruler
|
||||
krunner
|
||||
krusader
|
||||
ksanecore
|
||||
kscreen
|
||||
kscreenlocker
|
||||
@@ -2021,9 +2026,9 @@ ksnakeduel
|
||||
kspaceduel
|
||||
ksquares
|
||||
ksshaskpass
|
||||
kstars
|
||||
kstatusnotifieritem
|
||||
ksudoku
|
||||
ksysguard
|
||||
ksvg
|
||||
ksystemlog
|
||||
ksystemstats
|
||||
kteatime
|
||||
@@ -2033,7 +2038,6 @@ ktexttemplate
|
||||
ktextwidgets
|
||||
ktimer
|
||||
ktnef
|
||||
ktp-desktop-applets
|
||||
ktuberling
|
||||
kturtle
|
||||
kubernetes
|
||||
@@ -2044,7 +2048,6 @@ kwallet
|
||||
kwallet-pam
|
||||
kwalletmanager
|
||||
kwayland
|
||||
kwayland-integration
|
||||
kwayland-server
|
||||
kwidgetsaddons
|
||||
kwin
|
||||
@@ -2052,11 +2055,9 @@ kwindowsystem
|
||||
kwordquiz
|
||||
kwrited
|
||||
kxmlgui
|
||||
kxmlrpcclient
|
||||
kyotocabinet
|
||||
ladspa_sdk
|
||||
latencytop
|
||||
latte-dock
|
||||
layer-shell-qt
|
||||
lcms2
|
||||
lcov
|
||||
@@ -2092,6 +2093,7 @@ libaccounts-glib
|
||||
libaccounts-qt
|
||||
libadwaita
|
||||
libaio
|
||||
libajantv2
|
||||
libao
|
||||
libaom
|
||||
libappindicator
|
||||
@@ -2103,6 +2105,7 @@ libatomic_ops
|
||||
libavif
|
||||
libavtp
|
||||
libb64
|
||||
libbacktrace
|
||||
libblockdev
|
||||
libbpf
|
||||
libbsd
|
||||
@@ -2129,6 +2132,7 @@ libcryptui
|
||||
libcuckoo
|
||||
libcxx
|
||||
libdaemon
|
||||
libdatachannel
|
||||
libdatrie
|
||||
libdazzle
|
||||
libdbusmenu
|
||||
@@ -2198,6 +2202,7 @@ libiscsi
|
||||
libisofs
|
||||
libjcat
|
||||
libjpeg-turbo
|
||||
libjuice
|
||||
libkcapi
|
||||
libkcddb
|
||||
libkcompactdisc
|
||||
@@ -2207,7 +2212,6 @@ libkdepim
|
||||
libkeduvocdocument
|
||||
libkexiv2
|
||||
libkgapi
|
||||
libkipi
|
||||
libkleo
|
||||
libkmahjongg
|
||||
libkomparediff2
|
||||
@@ -2230,6 +2234,7 @@ libmodplug
|
||||
libmodulemd
|
||||
libmpack
|
||||
libmpack-lua
|
||||
libmsgraph
|
||||
libmspack
|
||||
libmspub
|
||||
libmtp
|
||||
@@ -2266,12 +2271,14 @@ libpeas
|
||||
libpinyin
|
||||
libpipeline
|
||||
libplacebo
|
||||
libplasma
|
||||
libplist
|
||||
libpng
|
||||
libportal
|
||||
libproxy
|
||||
libpsl
|
||||
libpthread-stubs
|
||||
libptytty
|
||||
libpwquality
|
||||
libqaccessibilityclient
|
||||
libqalculate
|
||||
@@ -2402,7 +2409,6 @@ lm-sensors
|
||||
lmdb
|
||||
logrotate
|
||||
logutils
|
||||
lokalize
|
||||
lpeg
|
||||
lsacpi
|
||||
lshw
|
||||
@@ -2458,7 +2464,6 @@ meson
|
||||
messagelib
|
||||
meta-c-basic
|
||||
meta-desktop-gnome
|
||||
meta-desktop-kde
|
||||
meta-os-core
|
||||
meta-os-core-plus
|
||||
metacity
|
||||
@@ -2471,6 +2476,7 @@ micro-config-drive-aws
|
||||
micro-config-drive-equinix
|
||||
micro-config-drive-oci
|
||||
milou
|
||||
mimetreeparser
|
||||
minetest
|
||||
minetest_game
|
||||
mingw-binutils
|
||||
@@ -2574,8 +2580,10 @@ nicstat
|
||||
nim
|
||||
ninja
|
||||
nload
|
||||
nlohmann_json
|
||||
nlopt
|
||||
nmap
|
||||
node-addon-api
|
||||
nodejs
|
||||
nose-parameterized
|
||||
not-ffmpeg
|
||||
@@ -2601,12 +2609,12 @@ nut
|
||||
nv-codec-headers
|
||||
nvme-cli
|
||||
oath-toolkit
|
||||
obs-studio
|
||||
ocaml
|
||||
ocamlbuild
|
||||
ocl-icd
|
||||
octave
|
||||
oiio
|
||||
okteta
|
||||
okular
|
||||
oneDPL
|
||||
oneVPL
|
||||
@@ -2635,6 +2643,7 @@ openpace
|
||||
opensm
|
||||
openssh
|
||||
openssl
|
||||
openvino
|
||||
openvpn
|
||||
openvswitch
|
||||
optipng
|
||||
@@ -2650,7 +2659,7 @@ osm-gps-map
|
||||
ostree
|
||||
otp
|
||||
oxygen
|
||||
oxygen-icons5
|
||||
oxygen-icons
|
||||
oxygen-sounds
|
||||
p11-kit
|
||||
p7zip
|
||||
@@ -3604,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
|
||||
@@ -3627,6 +3642,7 @@ podman
|
||||
polkit
|
||||
polkit-kde-agent
|
||||
polkit-qt
|
||||
polkit-qt6
|
||||
poppler
|
||||
poppler-data-clr-rename
|
||||
popt
|
||||
@@ -3660,7 +3676,9 @@ psstop
|
||||
pth
|
||||
pugixml
|
||||
pulseaudio
|
||||
pulseaudio-qt
|
||||
purpose
|
||||
puzzles
|
||||
pv
|
||||
pwgen
|
||||
pyatspi
|
||||
@@ -3787,6 +3805,7 @@ pypi-certifi
|
||||
pypi-cffi
|
||||
pypi-cffsubr
|
||||
pypi-cfgv
|
||||
pypi-chai
|
||||
pypi-chaospy
|
||||
pypi-chardet
|
||||
pypi-charset_normalizer
|
||||
@@ -3881,6 +3900,8 @@ pypi-docopt
|
||||
pypi-docstring_parser
|
||||
pypi-docstring_to_markdown
|
||||
pypi-docutils
|
||||
pypi-doxypypy
|
||||
pypi-doxyqml
|
||||
pypi-dpcontracts
|
||||
pypi-dulwich
|
||||
pypi-ecdsa
|
||||
@@ -3920,6 +3941,7 @@ pypi-flaky
|
||||
pypi-flask
|
||||
pypi-flatbuffers
|
||||
pypi-flatten_json
|
||||
pypi-flexparser
|
||||
pypi-flit
|
||||
pypi-flit_core
|
||||
pypi-flit_scm
|
||||
@@ -3981,6 +4003,7 @@ pypi-hatch_requirements_txt
|
||||
pypi-hatch_vcs
|
||||
pypi-hatchling
|
||||
pypi-heapdict
|
||||
pypi-hishel
|
||||
pypi-hjson
|
||||
pypi-hkp4py
|
||||
pypi-home_assistant_frontend
|
||||
@@ -4040,7 +4063,6 @@ pypi-jaraco.functools
|
||||
pypi-jaraco.text
|
||||
pypi-jarn.viewdoc
|
||||
pypi-javaproperties
|
||||
pypi-jax
|
||||
pypi-jedi
|
||||
pypi-jeepney
|
||||
pypi-jellyfish
|
||||
@@ -4088,6 +4110,7 @@ pypi-kiwisolver
|
||||
pypi-krb5
|
||||
pypi-kubernetes
|
||||
pypi-langcodes
|
||||
pypi-language_data
|
||||
pypi-lark_parser
|
||||
pypi-latexcodec
|
||||
pypi-lavacli
|
||||
@@ -4113,6 +4136,7 @@ pypi-lxml
|
||||
pypi-lz4
|
||||
pypi-macholib
|
||||
pypi-mako
|
||||
pypi-marisa_trie
|
||||
pypi-markdown
|
||||
pypi-markdown2
|
||||
pypi-markdown_exec
|
||||
@@ -4132,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
|
||||
@@ -4179,6 +4204,7 @@ pypi-nocasedict
|
||||
pypi-nocaselist
|
||||
pypi-nodeenv
|
||||
pypi-notebook_shim
|
||||
pypi-numexpr
|
||||
pypi-numpoly
|
||||
pypi-numpy
|
||||
pypi-numpydoc
|
||||
@@ -4196,6 +4222,7 @@ pypi-outcome
|
||||
pypi-overrides
|
||||
pypi-ovirt_imageio
|
||||
pypi-packaging
|
||||
pypi-packaging_legacy
|
||||
pypi-paginate
|
||||
pypi-paho_mqtt
|
||||
pypi-pandocfilters
|
||||
@@ -4216,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
|
||||
@@ -4260,6 +4289,7 @@ pypi-portend
|
||||
pypi-posix_ipc
|
||||
pypi-poyo
|
||||
pypi-pre_commit
|
||||
pypi-pretty_errors
|
||||
pypi-prettytable
|
||||
pypi-probed
|
||||
pypi-progress
|
||||
@@ -4267,6 +4297,7 @@ pypi-progressbar
|
||||
pypi-prometheus_client
|
||||
pypi-prompt_toolkit
|
||||
pypi-proto_plus
|
||||
pypi-protobuf
|
||||
pypi-psautohint
|
||||
pypi-psutil
|
||||
pypi-psycopg2
|
||||
@@ -4307,6 +4338,7 @@ pypi-pyelftools
|
||||
pypi-pyfakefs
|
||||
pypi-pyflakes
|
||||
pypi-pygame
|
||||
pypi-pygdbmi
|
||||
pypi-pygithub
|
||||
pypi-pygments
|
||||
pypi-pyicu
|
||||
@@ -4454,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
|
||||
@@ -4533,6 +4566,7 @@ pypi-sqlalchemy
|
||||
pypi-sqlparse
|
||||
pypi-sshtunnel
|
||||
pypi-stack_data
|
||||
pypi-starlette
|
||||
pypi-storops
|
||||
pypi-strictyaml
|
||||
pypi-subprocess_tee
|
||||
@@ -4582,6 +4616,7 @@ pypi-ttp
|
||||
pypi-twine
|
||||
pypi-typed_ast
|
||||
pypi-typeguard
|
||||
pypi-types_cffi
|
||||
pypi-types_colorama
|
||||
pypi-types_cryptography
|
||||
pypi-types_dataclasses
|
||||
@@ -4625,6 +4660,7 @@ pypi-urlobject
|
||||
pypi-urwid
|
||||
pypi-user_agents
|
||||
pypi-userpath
|
||||
pypi-uvicorn
|
||||
pypi-uvloop
|
||||
pypi-venusian
|
||||
pypi-verboselogs
|
||||
@@ -4638,6 +4674,7 @@ pypi-vsts_cd_manager
|
||||
pypi-waitress
|
||||
pypi-warlock
|
||||
pypi-watchdog
|
||||
pypi-watchfiles
|
||||
pypi-wbdata
|
||||
pypi-wcmatch
|
||||
pypi-wcwidth
|
||||
@@ -4734,6 +4771,8 @@ qbittorrent
|
||||
qca
|
||||
qca-qt5
|
||||
qcoro
|
||||
qcoro6
|
||||
qdmr
|
||||
qemu
|
||||
qemu-guest-additions
|
||||
qgit
|
||||
@@ -4851,7 +4890,6 @@ rlwrap
|
||||
rng-tools
|
||||
robin-map
|
||||
roboto
|
||||
rocs
|
||||
rofi
|
||||
rpcbind
|
||||
rpcsvc-proto
|
||||
@@ -4866,6 +4904,7 @@ rtmpdump
|
||||
rttr
|
||||
ruby
|
||||
runc
|
||||
rust-bindgen
|
||||
rustc
|
||||
rxvt-unicode
|
||||
s2tc
|
||||
@@ -5062,12 +5101,13 @@ usb-modeswitch
|
||||
usb-modeswitch-data
|
||||
usbredir
|
||||
usbutils
|
||||
user-manager
|
||||
userspace-rcu
|
||||
usrbinjava
|
||||
usrbinvi
|
||||
usrsctp
|
||||
utf8proc
|
||||
utfcpp
|
||||
uthash
|
||||
util-linux
|
||||
util-macros
|
||||
uwsgi
|
||||
@@ -5174,6 +5214,7 @@ xfce4-whiskermenu-plugin
|
||||
xfconf
|
||||
xfdesktop
|
||||
xfontsel
|
||||
xfsdump
|
||||
xfsprogs
|
||||
xfwm4
|
||||
xhost
|
||||
|
||||
+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