Compare commits

...

32 Commits

Author SHA1 Message Date
clrbuilder b7184a56a8 Update packages file for version 39630
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-07-14 05:37:18 -07:00
clrbuilder 976837dd36 Update packages file for version 39620
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-07-13 00:07:09 -07:00
clrbuilder 6102ce39b8 Update packages file for version 39610
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-07-11 00:08:15 -07:00
clrbuilder 4ed6de4b77 Update packages file for version 39600
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-07-07 12:42:26 -07:00
clrbuilder 5af73631bd Update packages file for version 39590
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-07-06 07:19:14 -07:00
clrbuilder 7a63c36293 Update packages file for version 39550
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-07-03 11:31:57 -07:00
clrbuilder 442543a9aa Update packages file for version 39540
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-06-29 00:06:26 -07:00
clrbuilder 43b28277c0 Update packages file for version 39530
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-06-28 14:39:47 -07:00
clrbuilder c371f6a233 Update packages file for version 39490
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-06-27 15:09:21 -07:00
clrbuilder 485815c4fe Update packages file for version 39470
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-06-27 00:07:28 -07:00
clrbuilder ffd02240f4 Update packages file for version 39460
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-06-26 16:11:45 -07:00
clrbuilder 69e4a64658 Update packages file for version 39450
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-06-23 09:07:00 -07:00
William Douglas 61a91af0ff Fix logic for detecting new vendor
Missing grouping in vendor .git changed caused detection failures.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-06-01 15:08:51 -07:00
clrbuilder fc6b90aaa5 Update packages file for version 38830
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-18 07:56:02 -07:00
clrbuilder b25ec94cf9 Update packages file for version 38820
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-17 13:01:55 -07:00
clrbuilder a8500a2645 Update packages file for version 38810
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-17 07:48:28 -07:00
clrbuilder 9d15900efd Update packages file for version 38800
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-14 09:13:47 -07:00
clrbuilder 9d101b84cf Update packages file for version 38760
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-12 11:23:10 -07:00
clrbuilder 89d86df8d3 Update packages file for version 38750
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-11 00:07:27 -07:00
clrbuilder 23e40ddcd8 Update packages file for version 38740
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-06 00:07:15 -07:00
clrbuilder e0a40a10f2 Update packages file for version 38710
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-04-03 14:52:16 -07:00
clrbuilder 3b76c04f7f Update packages file for version 38700
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-30 16:26:28 -07:00
clrbuilder 8b9b13698f Update packages file for version 38690
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-30 11:21:18 -07:00
clrbuilder 1f2b9cc5a7 Update packages file for version 38680
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-30 00:06:55 -07:00
William Douglas aa0028d372 Correct test for config value being set
Fix the vendor.py test checking if cargo vendoring should be done.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-03-29 16:31:28 -07:00
clrbuilder fb17b414ed Update packages file for version 38650
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-28 00:08:23 -07:00
William Douglas ead0c3e12d Only vendor if cargo_vendor is true not just if it exists
Signed-off-by: William Douglas <william.douglas@intel.com>
2023-03-27 10:19:53 -07:00
clrbuilder 610754dddd Update packages file for version 38640
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-24 13:27:46 -07:00
William Douglas ef9417d080 Add checks to ensure options.conf is valid
Signed-off-by: William Douglas <william.douglas@intel.com>
2023-03-24 11:18:11 -07:00
William Douglas dcc38f2193 Add vendor target
Add handling for a vendor target that will handle specific vendor
requirements from a package's options.conf.

The initial change adds handling for 'cargo vendor', creating a new
repo in the configured git repositiory and setting up the ARCHIVES
variable in the package's Makefile.

If the repo already exists, the tooling will check if a repo change
was detected after re-vendoring the sources. If a change is detected
the new content will be pushed and the ARCHIVES variable will be
updated.

Signed-off-by: William Douglas <william.douglas@intel.com>
2023-03-23 15:01:17 -07:00
clrbuilder 9be96daea4 Update packages file for version 38630
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-23 00:07:26 -07:00
clrbuilder 1350df4df6 Update packages file for version 38620
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-21 14:46:06 -07:00
4 changed files with 266 additions and 59 deletions
+5
View File
@@ -157,6 +157,10 @@ pullrebase:
fi \ fi \
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: preautospec-checks:
#help autospec: automatically generates a specfile. If there is #help autospec: automatically generates a specfile. If there is
@@ -171,6 +175,7 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
exit 1; \ exit 1; \
fi fi
@printf 'PKG_NAME := %s\nURL = %s\nARCHIVES = %s\n\ninclude ../common/Makefile.common\n' $(PKG_NAME) '$(firstword $(value NEWURL) $(value URL))' '$(value ARCHIVES)' > Makefile @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 \ python3 $(TOPLVL)/projects/autospec/autospec/autospec.py \
--target . \ --target . \
--integrity \ --integrity \
+3
View File
@@ -35,6 +35,9 @@ PKG_BASE_URL = https://github.com/clearlinux-pkgs
# Location where project repos are hosted. # Location where project repos are hosted.
PRJ_BASE_URL = https://github.com/clearlinux PRJ_BASE_URL = https://github.com/clearlinux
# Location where vendor repos are hosted.
VND_BASE_URL =
# Project repos that are integral to the common tooling. # Project repos that are integral to the common tooling.
PROJ_PKGS = autospec clr-bundles common PROJ_PKGS = autospec clr-bundles common
+130 -59
View File
@@ -5,9 +5,8 @@ CGNS
CUnit CUnit
Coin Coin
CopyQ CopyQ
Cura
CuraEngine
DML DML
Endeavour
F-Engrave F-Engrave
FreeRDP FreeRDP
GConf GConf
@@ -40,13 +39,11 @@ OpenIPMI
OpenSC OpenSC
OpenSP OpenSP
Pacemaker Pacemaker
ParaView
PyMySQL PyMySQL
PyQt5 PyQt5
PySocks PySocks
PyYAML PyYAML
QAT_engine QAT_engine
QGIS
R R
R-AER R-AER
R-ATR R-ATR
@@ -80,6 +77,7 @@ R-DendSer
R-Deriv R-Deriv
R-DescTools R-DescTools
R-DiagrammeR R-DiagrammeR
R-DiceDesign
R-DistributionUtils R-DistributionUtils
R-DoseFinding R-DoseFinding
R-Ecdat R-Ecdat
@@ -259,6 +257,7 @@ R-caret
R-cclust R-cclust
R-cellranger R-cellranger
R-checkmate R-checkmate
R-chk
R-chron R-chron
R-circlize R-circlize
R-classInt R-classInt
@@ -317,6 +316,8 @@ R-dendextend
R-desc R-desc
R-devtools R-devtools
R-dfoptim R-dfoptim
R-diagram
R-dials
R-dichromat R-dichromat
R-diffobj R-diffobj
R-diffusionMap R-diffusionMap
@@ -1015,30 +1016,29 @@ SDL_image
SDL_mixer SDL_mixer
SDL_net SDL_net
SDL_ttf SDL_ttf
SFCGAL
SFML SFML
SPIRV-Cross SPIRV-Cross
SPIRV-Tools SPIRV-Tools
SVT-AV1 SVT-AV1
SVT-HEVC SVT-HEVC
SmartXbar
Solaar Solaar
Sphinx Sphinx
SuiteSparse SuiteSparse
TLP TLP
Thunar Thunar
UCD UCD
Uranium
VTK VTK
Vc Vc
Vulkan-Headers Vulkan-Headers
Vulkan-Loader Vulkan-Loader
Vulkan-Tools Vulkan-Tools
WALinuxAgent WALinuxAgent
WPEBackend-fdo
WireGuard WireGuard
XStatic-term.js XStatic-term.js
Z3 Z3
abireport abireport
abseil-cpp
accel-config accel-config
accountsservice accountsservice
acl acl
@@ -1083,6 +1083,7 @@ arpack-ng
artikulate artikulate
asciidoc asciidoc
asciinema asciinema
asio
aspell aspell
aspell-de aspell-de
aspell-en aspell-en
@@ -1130,7 +1131,6 @@ bcc
bcftools bcftools
bdftopcf bdftopcf
bemenu bemenu
bijiben
bind-utils bind-utils
binutils binutils
binwalk binwalk
@@ -1203,14 +1203,13 @@ casync
ccache ccache
ccid ccid
cdparanoia cdparanoia
ceph
ceph-deploy
cereal cereal
cfitsio cfitsio
cgdb cgdb
cgit cgit
check check
cheese cheese
chirp
chrony chrony
chrpath chrpath
cifs-utils cifs-utils
@@ -1273,18 +1272,15 @@ colordiff
columbiad columbiad
compat-atkmm-soname16 compat-atkmm-soname16
compat-babeltrace-one compat-babeltrace-one
compat-boost-soname1.74.0
compat-cairomm-soname10 compat-cairomm-soname10
compat-curl-gnutls-soname4 compat-codec2-soname1
compat-enchant-soname1 compat-enchant-soname1
compat-fuse-soname2 compat-fuse-soname2
compat-gcc-10 compat-gcc-10
compat-gcr-soname1 compat-gcr-soname1
compat-gdal-soname27
compat-glibmm-soname24 compat-glibmm-soname24
compat-gnome-bluetooth-soname-13 compat-gnome-bluetooth-soname-13
compat-gtksourceview-soname3 compat-gtksourceview-soname3
compat-icu4c-soname67
compat-json-c-soname4 compat-json-c-soname4
compat-libffi-soname6 compat-libffi-soname6
compat-libpng-soname12 compat-libpng-soname12
@@ -1294,12 +1290,10 @@ compat-libva-soname1
compat-libvpx-soname7 compat-libvpx-soname7
compat-lua-52 compat-lua-52
compat-lua-53 compat-lua-53
compat-openssl-soname11
compat-pangomm-soname14 compat-pangomm-soname14
compat-protobuf-soname29 compat-protobuf-soname29
compat-readline-soname5 compat-readline-soname5
compat-rest-soname07 compat-tiff-soname5
compat-webkitgtk-soname40
component component
compute-image-packages compute-image-packages
configobj configobj
@@ -1333,7 +1327,6 @@ cups-bjnp
cups-filters cups-filters
cups-pk-helper cups-pk-helper
curl curl
curl-mini
custom_inherit custom_inherit
cycler cycler
cyrus-sasl cyrus-sasl
@@ -1388,6 +1381,7 @@ dolphin
dolphin-plugins dolphin-plugins
dos2unix dos2unix
dosfstools dosfstools
dotconf
double-conversion double-conversion
dovecot dovecot
doxygen doxygen
@@ -1427,7 +1421,6 @@ emacs
emacs-x11 emacs-x11
embree embree
enchant enchant
enlightenment
eog eog
eog-plugins eog-plugins
epm epm
@@ -1450,10 +1443,11 @@ extra-cmake-modules
f2fs-tools f2fs-tools
faas-cli faas-cli
fakeroot fakeroot
falcosecurity-libs
fann fann
farstream farstream
faultstat
fcgi fcgi
fdm_materials
fdupes fdupes
feh feh
fetchmail fetchmail
@@ -1481,6 +1475,7 @@ flrig
fltk fltk
fluidsynth fluidsynth
fmt fmt
fnotifystat
folks folks
font-util font-util
fontconfig fontconfig
@@ -1489,6 +1484,7 @@ fonttools
forkstat forkstat
fortune-mod fortune-mod
fossil fossil
fprintd
frameworkintegration frameworkintegration
freedv freedv
freeglut freeglut
@@ -1534,7 +1530,6 @@ geocode-glib
geos geos
gettext gettext
gexiv2 gexiv2
gfbgraph
gflags gflags
gftp gftp
gh gh
@@ -1598,6 +1593,7 @@ gnome-music
gnome-online-accounts gnome-online-accounts
gnome-panel gnome-panel
gnome-photos gnome-photos
gnome-remote-desktop
gnome-screensaver gnome-screensaver
gnome-screenshot gnome-screenshot
gnome-session gnome-session
@@ -1609,7 +1605,6 @@ gnome-system-monitor
gnome-terminal gnome-terminal
gnome-text-editor gnome-text-editor
gnome-themes-extra gnome-themes-extra
gnome-todo
gnome-tweaks gnome-tweaks
gnome-user-docs gnome-user-docs
gnome-video-effects gnome-video-effects
@@ -1642,7 +1637,6 @@ grantleetheme
graphene graphene
graphite graphite
graphviz graphviz
grass
grep grep
grig grig
grilo grilo
@@ -1730,7 +1724,6 @@ iftop
igsc igsc
igt-gpu-tools igt-gpu-tools
iio-sensor-proxy iio-sensor-proxy
imagescan
imapfilter imapfilter
imlib2 imlib2
indent indent
@@ -1746,6 +1739,7 @@ intel-gmmlib
intel-hybrid-driver intel-hybrid-driver
intel-ipsec-mb intel-ipsec-mb
intel-media-driver intel-media-driver
intel-one-mono
intelhex intelhex
intltool intltool
ioping ioping
@@ -1794,7 +1788,6 @@ kactivities
kactivities-stats kactivities-stats
kactivitymanagerd kactivitymanagerd
kalarm kalarm
kalarmcal
kamera kamera
kanagram kanagram
kapidox kapidox
@@ -1846,7 +1839,6 @@ kdegraphics-thumbnailers
kdelibs4support kdelibs4support
kdenetwork-filesharing kdenetwork-filesharing
kdenlive kdenlive
kdepim-apps-libs
kdepim-runtime kdepim-runtime
kdeplasma-addons kdeplasma-addons
kdesdk-kioslaves kdesdk-kioslaves
@@ -1949,6 +1941,7 @@ kpackage
kparts kparts
kpeople kpeople
kpimtextedit kpimtextedit
kpipewire
kpkpass kpkpass
kplotting kplotting
kpty kpty
@@ -1981,6 +1974,7 @@ ksysguard
ksystemlog ksystemlog
ksystemstats ksystemstats
kteatime kteatime
ktextaddons
ktexteditor ktexteditor
ktextwidgets ktextwidgets
ktimer ktimer
@@ -2020,10 +2014,8 @@ less
level-zero level-zero
leveldb leveldb
lftp lftp
libArcus lib4sbom
libCharon
libMED libMED
libSavitar
libX11 libX11
libXScrnSaver libXScrnSaver
libXaw libXaw
@@ -2046,6 +2038,7 @@ libaccounts-glib
libaccounts-qt libaccounts-qt
libadwaita libadwaita
libaio libaio
libao
libappindicator libappindicator
libarchive libarchive
libass libass
@@ -2093,6 +2086,7 @@ libe-book
libebur128 libebur128
libeconf libeconf
libedit libedit
libei
libepoxy libepoxy
libepubgen libepubgen
liberation-fonts liberation-fonts
@@ -2109,8 +2103,8 @@ libffi
libfido2 libfido2
libfixmath libfixmath
libfm libfm
libfm-qt
libfontenc libfontenc
libfprint
libfreehand libfreehand
libftdi1 libftdi1
libgcrypt libgcrypt
@@ -2165,7 +2159,6 @@ libksieve
libksysguard libksysguard
liblangtag liblangtag
liblogging liblogging
liblxqt
libmaxminddb libmaxminddb
libmbim libmbim
libmediaart libmediaart
@@ -2196,6 +2189,7 @@ libnma
libnotify libnotify
libnsl libnsl
libnumbertext libnumbertext
libnvme
liboauth liboauth
libodfgen libodfgen
libogg libogg
@@ -2219,7 +2213,6 @@ libqalculate
libqb libqb
libqmi libqmi
libqrtr-glib libqrtr-glib
libqtxdg
libqxp libqxp
libratbag libratbag
librdkafka librdkafka
@@ -2256,7 +2249,6 @@ libstaroffice
libstatgrab libstatgrab
libstemmer_c libstemmer_c
libstoragemgmt libstoragemgmt
libsysstat
libtasn1 libtasn1
libtermkey libtermkey
libthai libthai
@@ -2293,6 +2285,7 @@ libwebp
libwnck libwnck
libwnck3 libwnck3
libwpd libwpd
libwpe
libwpg libwpg
libwps libwps
libxcvt libxcvt
@@ -2319,7 +2312,6 @@ linux-current
linux-firmware linux-firmware
linux-firmware-ipu linux-firmware-ipu
linux-hyperv-lts linux-hyperv-lts
linux-iot-lts2018
linux-iot-lts2018-preempt-rt linux-iot-lts2018-preempt-rt
linux-libc-headers linux-libc-headers
linux-lts2017 linux-lts2017
@@ -2329,17 +2321,17 @@ linux-lts2020
linux-lts2021 linux-lts2021
linux-ltscurrent linux-ltscurrent
linux-ltsprev linux-ltsprev
linux-mainline
linux-oracle linux-oracle
linux-preempt-rt linux-preempt-rt
linux-tools linux-tools
linuxptp linuxptp
lksctp-tools lksctp-tools
lldpd
llvm llvm
llvm11 llvm11
llvm12 llvm12
llvm13
llvm14 llvm14
llvm15
lm-sensors lm-sensors
lmdb lmdb
logrotate logrotate
@@ -2362,21 +2354,6 @@ luarocks
lutris lutris
luv luv
lv2 lv2
lxqt-about
lxqt-admin
lxqt-build-tools
lxqt-config
lxqt-globalkeys
lxqt-notificationd
lxqt-openssh-askpass
lxqt-panel
lxqt-policykit
lxqt-powermanagement
lxqt-qtplugin
lxqt-runner
lxqt-session
lxqt-sudo
lxqt-themes
lynx lynx
lz4 lz4
lzlib lzlib
@@ -2504,6 +2481,7 @@ netbase
netcdf netcdf
netdata netdata
nethogs nethogs
netplan
nettle nettle
network-manager-applet network-manager-applet
networkmanager-qt networkmanager-qt
@@ -2511,6 +2489,7 @@ newt
nfs-utils nfs-utils
nftables nftables
nghttp2 nghttp2
nghttp3
nginx nginx
nginx-mainline nginx-mainline
nginx-rtmp-module nginx-rtmp-module
@@ -2550,6 +2529,7 @@ numactl
numatop numatop
numlockx numlockx
numpy-stl numpy-stl
nv-codec-headers
nvme-cli nvme-cli
oath-toolkit oath-toolkit
obs-studio obs-studio
@@ -2572,7 +2552,6 @@ openQA
openal-soft openal-soft
openblas openblas
openbox openbox
opencl-clang
opencl-headers opencl-headers
openconnect openconnect
openct openct
@@ -2580,8 +2559,6 @@ opencv
openexr openexr
openjade openjade
openjdk openjdk
openjdk11
openjdk13
openjpeg openjpeg
openldap openldap
openmpi openmpi
@@ -2610,9 +2587,11 @@ oxygen-icons5
p11-kit p11-kit
p7zip p7zip
pacrunner pacrunner
pagemon
paho.mqtt.c paho.mqtt.c
paho.mqtt.cpp paho.mqtt.cpp
palapeli palapeli
pam_wrapper
pandas pandas
pandoc pandoc
pango pango
@@ -2621,6 +2600,7 @@ parallel
parley parley
parted parted
pass pass
passwdqc
patch patch
patchelf patchelf
patchutils patchutils
@@ -2629,7 +2609,6 @@ pavucontrol
pbzip2 pbzip2
pciutils pciutils
pcmanfm pcmanfm
pcmanfm-qt
pcp pcp
pcre pcre
pcre2 pcre2
@@ -2850,6 +2829,7 @@ perl-Devel-Refactor
perl-Devel-Size perl-Devel-Size
perl-Devel-StackTrace perl-Devel-StackTrace
perl-Devel-StackTrace-AsHTML perl-Devel-StackTrace-AsHTML
perl-Devel-StackTrace-Extract
perl-Devel-Symdump perl-Devel-Symdump
perl-Digest-CRC perl-Digest-CRC
perl-Digest-HMAC perl-Digest-HMAC
@@ -2995,6 +2975,7 @@ perl-IO-Interactive
perl-IO-Interactive-Tiny perl-IO-Interactive-Tiny
perl-IO-Interface perl-IO-Interface
perl-IO-Multiplex perl-IO-Multiplex
perl-IO-Pager
perl-IO-Pipely perl-IO-Pipely
perl-IO-Prompter perl-IO-Prompter
perl-IO-Socket-INET6 perl-IO-Socket-INET6
@@ -3049,6 +3030,7 @@ perl-List-UtilsBy
perl-Locale-Maketext-Gettext perl-Locale-Maketext-Gettext
perl-Locale-Maketext-Lexicon perl-Locale-Maketext-Lexicon
perl-Locale-Msgfmt perl-Locale-Msgfmt
perl-Locale-gettext
perl-Log-Agent perl-Log-Agent
perl-Log-Any perl-Log-Any
perl-Log-Contextual perl-Log-Contextual
@@ -3274,6 +3256,7 @@ perl-Sub-Exporter
perl-Sub-Exporter-ForMethods perl-Sub-Exporter-ForMethods
perl-Sub-Exporter-Progressive perl-Sub-Exporter-Progressive
perl-Sub-Identify perl-Sub-Identify
perl-Sub-Infix
perl-Sub-Info perl-Sub-Info
perl-Sub-Install perl-Sub-Install
perl-Sub-Name perl-Sub-Name
@@ -3317,6 +3300,7 @@ perl-Test-Fatal
perl-Test-File perl-Test-File
perl-Test-File-ShareDir-Dist perl-Test-File-ShareDir-Dist
perl-Test-Fork perl-Test-Fork
perl-Test-Future-IO-Impl
perl-Test-Identity perl-Test-Identity
perl-Test-Inter perl-Test-Inter
perl-Test-LWP-UserAgent perl-Test-LWP-UserAgent
@@ -3460,13 +3444,13 @@ perl-boolean
perl-common-sense perl-common-sense
perl-constant-defer perl-constant-defer
perl-curry perl-curry
perl-gettext
perl-inc-latest perl-inc-latest
perl-indirect perl-indirect
perl-latest perl-latest
perl-libwww-perl perl-libwww-perl
perl-libxml-perl perl-libxml-perl
perl-local-lib perl-local-lib
perl-match-simple
perl-multidimensional perl-multidimensional
perl-namespace-autoclean perl-namespace-autoclean
perl-namespace-clean perl-namespace-clean
@@ -3574,6 +3558,7 @@ pmdk
pmix pmix
pngcrush pngcrush
po4a po4a
poco
podman podman
polkit polkit
polkit-kde-agent polkit-kde-agent
@@ -3584,7 +3569,6 @@ popt
portaudio portaudio
portmidi portmidi
postfix postfix
postgis
postgresql postgresql
potrace potrace
powerdevil powerdevil
@@ -3634,10 +3618,12 @@ pypi-aiohttp
pypi-aiohttp_cors pypi-aiohttp_cors
pypi-aiosignal pypi-aiosignal
pypi-aiosmtpd pypi-aiosmtpd
pypi-aiosqlite
pypi-alabaster pypi-alabaster
pypi-altgraph pypi-altgraph
pypi-amqp pypi-amqp
pypi-aniso8601 pypi-aniso8601
pypi-annotated_types
pypi-ansi2html pypi-ansi2html
pypi-ansible_builder pypi-ansible_builder
pypi-ansible_compat pypi-ansible_compat
@@ -3668,6 +3654,8 @@ pypi-asyncssh
pypi-asynctest pypi-asynctest
pypi-atomicwrites pypi-atomicwrites
pypi-atpublic pypi-atpublic
pypi-attr
pypi-attrdict
pypi-attrs pypi-attrs
pypi-autocommand pypi-autocommand
pypi-automat pypi-automat
@@ -3682,6 +3670,7 @@ pypi-azure_mgmt_netapp
pypi-azure_mgmt_network pypi-azure_mgmt_network
pypi-azure_mgmt_resource pypi-azure_mgmt_resource
pypi-azure_mgmt_storage pypi-azure_mgmt_storage
pypi-b4
pypi-babel pypi-babel
pypi-backcall pypi-backcall
pypi-backoff pypi-backoff
@@ -3691,6 +3680,7 @@ pypi-bashlex
pypi-bcrypt pypi-bcrypt
pypi-beautifulsoup4 pypi-beautifulsoup4
pypi-beniget pypi-beniget
pypi-billiard
pypi-binaryornot pypi-binaryornot
pypi-bindep pypi-bindep
pypi-bitmath pypi-bitmath
@@ -3753,6 +3743,7 @@ pypi-cmarkgfm
pypi-cmd2 pypi-cmd2
pypi-codecov pypi-codecov
pypi-colorama pypi-colorama
pypi-coloredlogs
pypi-colorlog pypi-colorlog
pypi-columnize pypi-columnize
pypi-comm pypi-comm
@@ -3768,6 +3759,7 @@ pypi-contextvars
pypi-contourpy pypi-contourpy
pypi-cookiecutter pypi-cookiecutter
pypi-coverage pypi-coverage
pypi-coverage_enable_subprocess
pypi-coveralls pypi-coveralls
pypi-cppy pypi-cppy
pypi-crashtest pypi-crashtest
@@ -3775,6 +3767,7 @@ pypi-crcmod
pypi-cryptography pypi-cryptography
pypi-cryptography_vectors pypi-cryptography_vectors
pypi-cs pypi-cs
pypi-csscompressor
pypi-cssselect pypi-cssselect
pypi-cssselect2 pypi-cssselect2
pypi-cu2qu pypi-cu2qu
@@ -3794,6 +3787,10 @@ pypi-deepmerge
pypi-deepspeed pypi-deepspeed
pypi-deprecated pypi-deprecated
pypi-deprecation pypi-deprecation
pypi-devpi_client
pypi-devpi_common
pypi-devpi_process
pypi-devpi_server
pypi-diff_cover pypi-diff_cover
pypi-diff_match_patch pypi-diff_match_patch
pypi-diffoscope pypi-diffoscope
@@ -3809,6 +3806,7 @@ pypi-django_babel
pypi-django_compressor pypi-django_compressor
pypi-django_discover_runner pypi-django_discover_runner
pypi-django_nose pypi-django_nose
pypi-dkimpy
pypi-dnacentersdk pypi-dnacentersdk
pypi-dns_lexicon pypi-dns_lexicon
pypi-dnspython pypi-dnspython
@@ -3846,7 +3844,9 @@ pypi-fastimport
pypi-fastjsonschema pypi-fastjsonschema
pypi-filecache pypi-filecache
pypi-filelock pypi-filelock
pypi-findpython
pypi-fissix pypi-fissix
pypi-fixtures
pypi-flake8 pypi-flake8
pypi-flake8_blind_except pypi-flake8_blind_except
pypi-flake8_class_newline pypi-flake8_class_newline
@@ -3861,6 +3861,7 @@ pypi-flit_core
pypi-flit_scm pypi-flit_scm
pypi-folium pypi-folium
pypi-fontmath pypi-fontmath
pypi-freetype_py
pypi-freezegun pypi-freezegun
pypi-frozenlist pypi-frozenlist
pypi-fsspec pypi-fsspec
@@ -3872,9 +3873,12 @@ pypi-gcs_oauth2_boto_plugin
pypi-gevent pypi-gevent
pypi-geventhttpclient pypi-geventhttpclient
pypi-ghp_import pypi-ghp_import
pypi-git_filter_repo
pypi-gitdb pypi-gitdb
pypi-gitpython pypi-gitpython
pypi-glad
pypi-glfw pypi-glfw
pypi-glyphslib
pypi-gmqtt pypi-gmqtt
pypi-google_api_core pypi-google_api_core
pypi-google_api_python_client pypi-google_api_python_client
@@ -3927,6 +3931,7 @@ pypi-httpx
pypi-huggingface_hub pypi-huggingface_hub
pypi-humanfriendly pypi-humanfriendly
pypi-humanize pypi-humanize
pypi-hupper
pypi-hyperframe pypi-hyperframe
pypi-hyperlink pypi-hyperlink
pypi-hypothesis pypi-hypothesis
@@ -3984,6 +3989,7 @@ pypi-jmespath
pypi-joblib pypi-joblib
pypi-josepy pypi-josepy
pypi-jpype1 pypi-jpype1
pypi-jsmin
pypi-json5 pypi-json5
pypi-jsondiff pypi-jsondiff
pypi-jsonlines pypi-jsonlines
@@ -3999,11 +4005,15 @@ pypi-jupyter_events
pypi-jupyter_nbgallery pypi-jupyter_nbgallery
pypi-jupyter_packaging pypi-jupyter_packaging
pypi-jupyter_server pypi-jupyter_server
pypi-jupyter_server_fileid
pypi-jupyter_server_mathjax pypi-jupyter_server_mathjax
pypi-jupyter_server_terminals pypi-jupyter_server_terminals
pypi-jupyter_server_ydoc
pypi-jupyter_sphinx pypi-jupyter_sphinx
pypi-jupyter_ydoc
pypi-jupyterlab pypi-jupyterlab
pypi-jupyterlab_launcher pypi-jupyterlab_launcher
pypi-jupyterlab_link_share
pypi-jupyterlab_pygments pypi-jupyterlab_pygments
pypi-jupyterlab_server pypi-jupyterlab_server
pypi-jupyterlab_widgets pypi-jupyterlab_widgets
@@ -4019,12 +4029,15 @@ pypi-kubernetes
pypi-langcodes pypi-langcodes
pypi-lark_parser pypi-lark_parser
pypi-latexcodec pypi-latexcodec
pypi-lavacli
pypi-lazy
pypi-lazy_loader pypi-lazy_loader
pypi-lazy_object_proxy pypi-lazy_object_proxy
pypi-ldap3 pypi-ldap3
pypi-libarchive_c pypi-libarchive_c
pypi-libevdev pypi-libevdev
pypi-lightning_utilities pypi-lightning_utilities
pypi-linkchecker
pypi-linkify_it_py pypi-linkify_it_py
pypi-livereload pypi-livereload
pypi-llfuse pypi-llfuse
@@ -4038,9 +4051,12 @@ pypi-macholib
pypi-mako pypi-mako
pypi-markdown pypi-markdown
pypi-markdown2 pypi-markdown2
pypi-markdown_exec
pypi-markdown_include
pypi-markdown_it_py pypi-markdown_it_py
pypi-matplotlib pypi-matplotlib
pypi-matplotlib_inline pypi-matplotlib_inline
pypi-maturin
pypi-mdit_py_plugins pypi-mdit_py_plugins
pypi-mdurl pypi-mdurl
pypi-mergedeep pypi-mergedeep
@@ -4051,10 +4067,15 @@ pypi-mistune
pypi-mkdocs pypi-mkdocs
pypi-mkdocs_autorefs pypi-mkdocs_autorefs
pypi-mkdocs_exclude pypi-mkdocs_exclude
pypi-mkdocs_gen_files
pypi-mkdocs_htmlproofer_plugin
pypi-mkdocs_material_extensions pypi-mkdocs_material_extensions
pypi-mkdocs_monorepo_plugin
pypi-mkdocstrings pypi-mkdocstrings
pypi-mkdocstrings_python pypi-mkdocstrings_python
pypi-ml_dtypes
pypi-mock pypi-mock
pypi-moddb
pypi-modulegraph pypi-modulegraph
pypi-molecule pypi-molecule
pypi-molecule_docker pypi-molecule_docker
@@ -4106,6 +4127,7 @@ pypi-olefile
pypi-onnx pypi-onnx
pypi-opcodes pypi-opcodes
pypi-openshift pypi-openshift
pypi-openstep_plist
pypi-opt_einsum pypi-opt_einsum
pypi-ordered_set pypi-ordered_set
pypi-ouimeaux pypi-ouimeaux
@@ -4114,6 +4136,7 @@ pypi-ovirt_imageio
pypi-packaging pypi-packaging
pypi-paho_mqtt pypi-paho_mqtt
pypi-pandocfilters pypi-pandocfilters
pypi-parameterized
pypi-paramiko pypi-paramiko
pypi-parse pypi-parse
pypi-parse_type pypi-parse_type
@@ -4121,17 +4144,23 @@ pypi-parsedatetime
pypi-parsley pypi-parsley
pypi-parso pypi-parso
pypi-partd pypi-partd
pypi-passlib
pypi-paste pypi-paste
pypi-pastedeploy pypi-pastedeploy
pypi-pastel pypi-pastel
pypi-patatt
pypi-pathlib2 pypi-pathlib2
pypi-pathspec pypi-pathspec
pypi-pathtools pypi-pathtools
pypi-patsy pypi-patsy
pypi-pbr pypi-pbr
pypi-pdfminer.six
pypi-pdm
pypi-pdm_backend
pypi-pdm_pep517 pypi-pdm_pep517
pypi-pecan pypi-pecan
pypi-ped pypi-ped
pypi-pefile
pypi-pep517 pypi-pep517
pypi-pep621 pypi-pep621
pypi-pep8 pypi-pep8
@@ -4143,13 +4172,17 @@ pypi-phabricator
pypi-pickleshare pypi-pickleshare
pypi-picobox pypi-picobox
pypi-pid pypi-pid
pypi-pidigits
pypi-pillow pypi-pillow
pypi-pint pypi-pint
pypi-pip pypi-pip
pypi-pip_tools pypi-pip_tools
pypi-pipdeptree
pypi-pkgconfig pypi-pkgconfig
pypi-pkginfo pypi-pkginfo
pypi-pkgutil_resolve_name pypi-pkgutil_resolve_name
pypi-plaster
pypi-plaster_pastedeploy
pypi-platformdirs pypi-platformdirs
pypi-plotly pypi-plotly
pypi-pluggy pypi-pluggy
@@ -4179,7 +4212,9 @@ pypi-ptyprocess
pypi-pure_eval pypi-pure_eval
pypi-purestorage pypi-purestorage
pypi-purity_fb pypi-purity_fb
pypi-purl
pypi-py pypi-py
pypi-py3dns
pypi-py3nvml pypi-py3nvml
pypi-py_cpuinfo pypi-py_cpuinfo
pypi-pyaml pypi-pyaml
@@ -4227,15 +4262,19 @@ pypi-pyparsing
pypi-pyperclip pypi-pyperclip
pypi-pyperf pypi-pyperf
pypi-pypowerflex pypi-pypowerflex
pypi-pypresence
pypi-pyproject_api pypi-pyproject_api
pypi-pyproject_hooks pypi-pyproject_hooks
pypi-pyproject_metadata pypi-pyproject_metadata
pypi-pyprojectx pypi-pyprojectx
pypi-pypsrp pypi-pypsrp
pypi-pyqrcode pypi-pyqrcode
pypi-pyqt5_sip
pypi-pyqt6_sip pypi-pyqt6_sip
pypi-pyqt_builder pypi-pyqt_builder
pypi-pyquery pypi-pyquery
pypi-pyramid
pypi-pyrate_limiter
pypi-pyreadline pypi-pyreadline
pypi-pyrfc3339 pypi-pyrfc3339
pypi-pyro4 pypi-pyro4
@@ -4308,6 +4347,7 @@ pypi-qtpy
pypi-rapidfuzz pypi-rapidfuzz
pypi-rapidfuzz_capi pypi-rapidfuzz_capi
pypi-rcssmin pypi-rcssmin
pypi-rdflib
pypi-readme_renderer pypi-readme_renderer
pypi-recommonmark pypi-recommonmark
pypi-regex pypi-regex
@@ -4326,6 +4366,7 @@ pypi-requirements_parser
pypi-resolvelib pypi-resolvelib
pypi-responses pypi-responses
pypi-restructuredtext_lint pypi-restructuredtext_lint
pypi-retrolab
pypi-retry pypi-retry
pypi-retry_decorator pypi-retry_decorator
pypi-retryz pypi-retryz
@@ -4386,6 +4427,7 @@ pypi-sniffio
pypi-snowballstemmer pypi-snowballstemmer
pypi-sortedcontainers pypi-sortedcontainers
pypi-soupsieve pypi-soupsieve
pypi-spdx_tools
pypi-sphinx pypi-sphinx
pypi-sphinx_ansible_theme pypi-sphinx_ansible_theme
pypi-sphinx_argparse pypi-sphinx_argparse
@@ -4430,7 +4472,9 @@ pypi-sshtunnel
pypi-stack_data pypi-stack_data
pypi-statsmodels pypi-statsmodels
pypi-storops pypi-storops
pypi-strictyaml
pypi-subprocess_tee pypi-subprocess_tee
pypi-suds
pypi-sure pypi-sure
pypi-svg.path pypi-svg.path
pypi-tabulate pypi-tabulate
@@ -4452,6 +4496,7 @@ pypi-three_merge
pypi-tifffile pypi-tifffile
pypi-tinycss2 pypi-tinycss2
pypi-tldextract pypi-tldextract
pypi-tokenizers
pypi-toml pypi-toml
pypi-tomli pypi-tomli
pypi-tomli_w pypi-tomli_w
@@ -4464,6 +4509,7 @@ pypi-tox
pypi-tqdm pypi-tqdm
pypi-traitlets pypi-traitlets
pypi-trampolim pypi-trampolim
pypi-translationstring
pypi-trimesh pypi-trimesh
pypi-trio pypi-trio
pypi-trio_websocket pypi-trio_websocket
@@ -4478,6 +4524,7 @@ pypi-types_dataclasses
pypi-types_docutils pypi-types_docutils
pypi-types_enum34 pypi-types_enum34
pypi-types_ipaddress pypi-types_ipaddress
pypi-types_jsonschema
pypi-types_mock pypi-types_mock
pypi-types_psutil pypi-types_psutil
pypi-types_pyopenssl pypi-types_pyopenssl
@@ -4498,20 +4545,25 @@ pypi-tzdata
pypi-tzlocal pypi-tzlocal
pypi-ua_parser pypi-ua_parser
pypi-uc_micro_py pypi-uc_micro_py
pypi-ufo2ft
pypi-ufolib2 pypi-ufolib2
pypi-uharfbuzz pypi-uharfbuzz
pypi-ujson pypi-ujson
pypi-unearth
pypi-unicodedata2 pypi-unicodedata2
pypi-unidecode pypi-unidecode
pypi-unidiff pypi-unidiff
pypi-uritemplate pypi-uritemplate
pypi-uritools
pypi-urllib3 pypi-urllib3
pypi-urlobject pypi-urlobject
pypi-urwid pypi-urwid
pypi-user_agents pypi-user_agents
pypi-userpath pypi-userpath
pypi-uvloop pypi-uvloop
pypi-venusian
pypi-verboselogs pypi-verboselogs
pypi-versioneer
pypi-vine pypi-vine
pypi-virtualenv pypi-virtualenv
pypi-volatile pypi-volatile
@@ -4521,6 +4573,7 @@ pypi-vsts_cd_manager
pypi-waitress pypi-waitress
pypi-warlock pypi-warlock
pypi-watchdog pypi-watchdog
pypi-wcmatch
pypi-wcwidth pypi-wcwidth
pypi-webcolors pypi-webcolors
pypi-webencodings pypi-webencodings
@@ -4537,6 +4590,8 @@ pypi-wrapt
pypi-wsgiproxy2 pypi-wsgiproxy2
pypi-wsproto pypi-wsproto
pypi-wurlitzer pypi-wurlitzer
pypi-wxPython
pypi-xcffib
pypi-xgboost pypi-xgboost
pypi-xmldiff pypi-xmldiff
pypi-xmljson pypi-xmljson
@@ -4557,11 +4612,14 @@ pypi-xstatic_objectpath
pypi-xstatic_roboto_fontface pypi-xstatic_roboto_fontface
pypi-xvfbwrapper pypi-xvfbwrapper
pypi-xyzservices pypi-xyzservices
pypi-y_py
pypi-yamllint pypi-yamllint
pypi-yamlloader pypi-yamlloader
pypi-yapf pypi-yapf
pypi-yarg pypi-yarg
pypi-yarl pypi-yarl
pypi-yattag
pypi-ypy_websocket
pypi-zabbix_api pypi-zabbix_api
pypi-zc.lockfile pypi-zc.lockfile
pypi-zeroconf pypi-zeroconf
@@ -4608,6 +4666,7 @@ qalculate-gtk
qatlib qatlib
qbittorrent qbittorrent
qca-qt5 qca-qt5
qcoro
qemu qemu
qemu-guest-additions qemu-guest-additions
qgit qgit
@@ -4623,6 +4682,8 @@ qt-creator
qt3d qt3d
qt5ct qt5ct
qt6base qt6base
qt6svg
qt6tools
qtbase qtbase
qtcanvas3d qtcanvas3d
qtcharts qtcharts
@@ -4655,7 +4716,6 @@ qtwebchannel
qtwebengine qtwebengine
qtwebsockets qtwebsockets
qtx11extras qtx11extras
qtxdg-tools
qtxmlpatterns qtxmlpatterns
quagga quagga
quassel quassel
@@ -4666,6 +4726,7 @@ rabbitmq-c
rabbitmq-server rabbitmq-server
rage rage
ragel ragel
rapidjson
raptor2 raptor2
rasqal rasqal
rclone rclone
@@ -4685,6 +4746,7 @@ rest
restic restic
rhythmbox rhythmbox
rinutils rinutils
ripgrep
rlwrap rlwrap
rng-tools rng-tools
robin-map robin-map
@@ -4753,7 +4815,9 @@ smartcols
smartmontools smartmontools
smemstat smemstat
snappy snappy
sndio
socat socat
socket.io-client-cpp
sof-bin sof-bin
softflowd softflowd
solid solid
@@ -4812,6 +4876,7 @@ swupd-probe
swupd-search swupd-search
sxiv sxiv
sympy sympy
syncthing
syndication syndication
synergy synergy
syntax-highlighting syntax-highlighting
@@ -4873,6 +4938,7 @@ tracker
tracker-miners tracker-miners
tree tree
tree-sitter tree-sitter
trurl
tzdata tzdata
uchardet uchardet
ucpp ucpp
@@ -4906,6 +4972,7 @@ uwsgi
v4l-utils v4l-utils
vala vala
valgrind valgrind
valijson
vbox-integration vbox-integration
vifm vifm
vim vim
@@ -4929,7 +4996,8 @@ wayland
wayland-protocols wayland-protocols
wcslib wcslib
webkitgtk webkitgtk
webkitgtk50 webkitgtk60
websocketpp
weechat weechat
weston weston
wget wget
@@ -4939,6 +5007,7 @@ wine
wireless-regdb-master wireless-regdb-master
wireplumber wireplumber
wireshark wireshark
wl-clipboard
wlroots wlroots
wmctrl wmctrl
woff2 woff2
@@ -4961,6 +5030,7 @@ xcursor-themes
xcursorgen xcursorgen
xdg-dbus-proxy xdg-dbus-proxy
xdg-desktop-portal xdg-desktop-portal
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-kde xdg-desktop-portal-kde
xdg-user-dirs xdg-user-dirs
@@ -5012,6 +5082,7 @@ xmlsec1
xmlstarlet xmlstarlet
xmlto xmlto
xmodmap xmodmap
xnec2c
xorg-fonts xorg-fonts
xorg-server xorg-server
xorgproto xorgproto
Executable
+128
View File
@@ -0,0 +1,128 @@
#!/usr/bin/env python3
import argparse
import configparser
import os
import re
import shutil
import subprocess
import tempfile
import time
from git import Repo
import requests
def vendor_check():
if not os.path.isfile('options.conf'):
return False
config = configparser.ConfigParser(interpolation=None)
config.read('options.conf')
if 'autospec' not in config.sections():
return False
if vendor := config['autospec'].get('cargo_vendor'):
if vendor == "true":
return 'cargo'
return False
def get_args():
parser = argparse.ArgumentParser()
parser.add_argument('url')
parser.add_argument('name')
parser.add_argument('git')
return parser.parse_args()
def setup_content(url):
tdir = tempfile.mkdtemp()
outfile = os.path.join(tdir, os.path.basename(url))
response = requests.get(url, timeout=30)
response.raise_for_status()
with open(outfile, 'wb') as cfile:
cfile.write(response.content)
subprocess.run(f"tar xf {outfile}", shell=True, cwd=tdir, check=True)
os.remove(outfile)
return tdir
def setup_cargo_vendor(path):
for dirpath, _, files in os.walk(path):
for fname in files:
if fname == "Cargo.toml":
return dirpath
return False
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)
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(f"git remote add origin {git_uri}", cwd=vendor_path,
shell=True, check=True)
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)
shutil.rmtree(vendor_path)
subprocess.run('cargo vendor', cwd=path, shell=True, check=True)
subprocess.run(f"cp -a {backup_vendor_git} {vendor_git}", cwd=path,
shell=True, check=True)
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 commit -m "vendor update"', cwd=vendor_path,
shell=True, check=True)
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)
subprocess.run(f"git push origin main:main {tag}", cwd=vendor_path,
shell=True, check=True)
time.sleep(30)
return tag
def update_cargo_sources(name, tag):
makefile = []
archive_match = 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 + '[a-zA-Z0-9_\-.]+\.tar\.xz', line):
new_archives = re.sub(archive_match + '[a-zA-Z0-9_\-.]+\.tar\.xz',
f"{archive_match}-{tag}.tar.xz\n", line)
else:
new_archives = f"ARCHIVES = {archive_match}-{tag}.tar.xz ./vendor\n"
makefile.append(new_archives)
else:
makefile.append(line)
with open('Makefile', 'w', encoding='utf8') as mfile:
mfile.writelines(makefile)
def main():
vtype = vendor_check()
if not vtype:
return
args = get_args()
tdir = setup_content(args.url)
if vtype == 'cargo':
vdir = setup_cargo_vendor(tdir)
if vdir:
tag = update_cargo_vendor(vdir, args.name, args.git)
if tag:
update_cargo_sources(args.name, tag)
shutil.rmtree(tdir)
if __name__ == '__main__':
main()