Compare commits

...

39 Commits

Author SHA1 Message Date
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
clrbuilder 878e4e2b0b Update packages file for version 38570
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-16 00:07:52 -07:00
clrbuilder c1a0943a4e Update packages file for version 38550
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-14 15:24:17 -07:00
clrbuilder e7bb8022eb Update packages file for version 38530
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-14 00:06:59 -07:00
clrbuilder 854d1383df Update packages file for version 38520
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-10 11:55:36 -08:00
clrbuilder 34929eedc8 Update packages file for version 38410
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-03-07 00:06:38 -08:00
clrbuilder 37ceeabcf2 Update packages file for version 38380
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-28 18:04:55 -08:00
clrbuilder 22bcab527f Update packages file for version 38340
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-24 12:53:07 -08:00
clrbuilder 96827eba4b Update packages file for version 38300
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-21 00:06:13 -08:00
clrbuilder 209c76a22d Update packages file for version 38290
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-20 14:57:21 -08:00
clrbuilder 9b30546825 Update packages file for version 38280
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-16 00:06:23 -08:00
clrbuilder e114f003f5 Update packages file for version 38270
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-14 00:05:54 -08:00
clrbuilder be6d64a55b Update packages file for version 38260
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-13 14:26:47 -08:00
clrbuilder f9b8dab2a6 Update packages file for version 38220
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-07 00:07:51 -08:00
clrbuilder d324a604f2 Update packages file for version 38210
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-05 08:21:05 -08:00
clrbuilder 50dce59f66 Update packages file for version 38200
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-02 00:07:04 -08:00
clrbuilder 089cb1b6b6 Update packages file for version 38190
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-02-01 12:27:31 -08:00
clrbuilder 3c76c8ff41 Update packages file for version 38180
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-01-31 16:42:23 -08:00
clrbuilder bc355116ae Update packages file for version 38120
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-01-24 00:07:13 -08:00
clrbuilder 2263c2cc23 Update packages file for version 38100
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-01-19 00:07:21 -08:00
clrbuilder 3e53d2c8f4 Update packages file for version 38080
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-01-17 00:09:44 -08:00
clrbuilder abba4bc351 Update packages file for version 38070
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2023-01-13 14:08:46 -08:00
4 changed files with 259 additions and 26 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
+123 -26
View File
@@ -80,6 +80,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 +260,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 +319,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
@@ -446,6 +450,7 @@ R-geojson
R-geometry R-geometry
R-gert R-gert
R-getopt R-getopt
R-gfonts
R-ggfortify R-ggfortify
R-ggjoy R-ggjoy
R-ggplot2 R-ggplot2
@@ -491,6 +496,7 @@ R-htmlwidgets
R-httpcode R-httpcode
R-httpuv R-httpuv
R-httr R-httr
R-httr2
R-hunspell R-hunspell
R-hwriter R-hwriter
R-hypergeo R-hypergeo
@@ -582,6 +588,7 @@ R-mathjaxr
R-matrixStats R-matrixStats
R-matrixcalc R-matrixcalc
R-maxLik R-maxLik
R-mclogit
R-mclust R-mclust
R-mcmc R-mcmc
R-mda R-mda
@@ -1032,6 +1039,7 @@ Vulkan-Headers
Vulkan-Loader Vulkan-Loader
Vulkan-Tools Vulkan-Tools
WALinuxAgent WALinuxAgent
WPEBackend-fdo
WireGuard WireGuard
XStatic-term.js XStatic-term.js
Z3 Z3
@@ -1288,6 +1296,7 @@ compat-libpng-soname12
compat-libsigc++-soname20 compat-libsigc++-soname20
compat-libsoup-soname-24 compat-libsoup-soname-24
compat-libva-soname1 compat-libva-soname1
compat-libvpx-soname7
compat-lua-52 compat-lua-52
compat-lua-53 compat-lua-53
compat-openssl-soname11 compat-openssl-soname11
@@ -1384,6 +1393,7 @@ dolphin
dolphin-plugins dolphin-plugins
dos2unix dos2unix
dosfstools dosfstools
dotconf
double-conversion double-conversion
dovecot dovecot
doxygen doxygen
@@ -1482,6 +1492,7 @@ font-util
fontconfig fontconfig
fontforge fontforge
fonttools fonttools
forkstat
fortune-mod fortune-mod
fossil fossil
frameworkintegration frameworkintegration
@@ -1593,6 +1604,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
@@ -2041,6 +2053,7 @@ libaccounts-glib
libaccounts-qt libaccounts-qt
libadwaita libadwaita
libaio libaio
libao
libappindicator libappindicator
libarchive libarchive
libass libass
@@ -2104,7 +2117,6 @@ libffi
libfido2 libfido2
libfixmath libfixmath
libfm libfm
libfm-qt
libfontenc libfontenc
libfreehand libfreehand
libftdi1 libftdi1
@@ -2115,6 +2127,7 @@ libgee
libgeotiff libgeotiff
libgit2 libgit2
libgit2-glib libgit2-glib
libglvnd
libgnome-keyring libgnome-keyring
libgnomekbd libgnomekbd
libgpg-error libgpg-error
@@ -2159,7 +2172,6 @@ libksieve
libksysguard libksysguard
liblangtag liblangtag
liblogging liblogging
liblxqt
libmaxminddb libmaxminddb
libmbim libmbim
libmediaart libmediaart
@@ -2213,7 +2225,6 @@ libqalculate
libqb libqb
libqmi libqmi
libqrtr-glib libqrtr-glib
libqtxdg
libqxp libqxp
libratbag libratbag
librdkafka librdkafka
@@ -2250,7 +2261,6 @@ libstaroffice
libstatgrab libstatgrab
libstemmer_c libstemmer_c
libstoragemgmt libstoragemgmt
libsysstat
libtasn1 libtasn1
libtermkey libtermkey
libthai libthai
@@ -2261,6 +2271,7 @@ libtorrent-rasterbar
libtraceevent libtraceevent
libtracefs libtracefs
libudev0-shim libudev0-shim
libunibreak
libuninameslist libuninameslist
libunistring libunistring
libunwind libunwind
@@ -2286,6 +2297,7 @@ libwebp
libwnck libwnck
libwnck3 libwnck3
libwpd libwpd
libwpe
libwpg libwpg
libwps libwps
libxcvt libxcvt
@@ -2320,6 +2332,8 @@ linux-lts2018
linux-lts2019 linux-lts2019
linux-lts2020 linux-lts2020
linux-lts2021 linux-lts2021
linux-ltscurrent
linux-ltsprev
linux-mainline linux-mainline
linux-oracle linux-oracle
linux-preempt-rt linux-preempt-rt
@@ -2329,8 +2343,8 @@ lksctp-tools
llvm llvm
llvm11 llvm11
llvm12 llvm12
llvm13
llvm14 llvm14
llvm15
lm-sensors lm-sensors
lmdb lmdb
logrotate logrotate
@@ -2353,21 +2367,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
@@ -2507,6 +2506,7 @@ nginx-mainline
nginx-rtmp-module nginx-rtmp-module
nginx-upload-module nginx-upload-module
nginx_cookie_flag_module nginx_cookie_flag_module
ngspice
ngx-fancyindex ngx-fancyindex
ngx_brotli ngx_brotli
ngx_http_auth_pam_module ngx_http_auth_pam_module
@@ -2540,6 +2540,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
@@ -2562,7 +2563,6 @@ openQA
openal-soft openal-soft
openblas openblas
openbox openbox
opencl-clang
opencl-headers opencl-headers
openconnect openconnect
openct openct
@@ -2619,7 +2619,6 @@ pavucontrol
pbzip2 pbzip2
pciutils pciutils
pcmanfm pcmanfm
pcmanfm-qt
pcp pcp
pcre pcre
pcre2 pcre2
@@ -3564,6 +3563,7 @@ pmdk
pmix pmix
pngcrush pngcrush
po4a po4a
poco
podman podman
polkit polkit
polkit-kde-agent polkit-kde-agent
@@ -3615,6 +3615,7 @@ pyotp
pyparted pyparted
pypi-absl_py pypi-absl_py
pypi-abydos pypi-abydos
pypi-accelerate
pypi-acme pypi-acme
pypi-adal pypi-adal
pypi-aiodns pypi-aiodns
@@ -3623,8 +3624,10 @@ 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-aniso8601 pypi-aniso8601
pypi-ansi2html pypi-ansi2html
pypi-ansible_builder pypi-ansible_builder
@@ -3640,6 +3643,7 @@ pypi-argh
pypi-argon2_cffi pypi-argon2_cffi
pypi-argon2_cffi_bindings pypi-argon2_cffi_bindings
pypi-argparse pypi-argparse
pypi-argparse_manpage
pypi-arrow pypi-arrow
pypi-asgiref pypi-asgiref
pypi-asn1crypto pypi-asn1crypto
@@ -3655,6 +3659,7 @@ pypi-asyncssh
pypi-asynctest pypi-asynctest
pypi-atomicwrites pypi-atomicwrites
pypi-atpublic pypi-atpublic
pypi-attrdict
pypi-attrs pypi-attrs
pypi-autocommand pypi-autocommand
pypi-automat pypi-automat
@@ -3678,8 +3683,10 @@ 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-bkcharts pypi-bkcharts
pypi-black pypi-black
pypi-bleach pypi-bleach
@@ -3702,7 +3709,10 @@ pypi-bumpversion
pypi-cachecontrol pypi-cachecontrol
pypi-cached_property pypi-cached_property
pypi-cachetools pypi-cachetools
pypi-cachez
pypi-cachy pypi-cachy
pypi-cairocffi
pypi-cairosvg
pypi-calver pypi-calver
pypi-capturer pypi-capturer
pypi-cattrs pypi-cattrs
@@ -3730,11 +3740,13 @@ pypi-click_completion
pypi-click_help_colors pypi-click_help_colors
pypi-click_log pypi-click_log
pypi-clikit pypi-clikit
pypi-cloudevents
pypi-cloudflare pypi-cloudflare
pypi-cmarkgfm 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
@@ -3757,7 +3769,9 @@ 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-cu2qu pypi-cu2qu
pypi-curio pypi-curio
pypi-cve_bin_tool pypi-cve_bin_tool
@@ -3771,11 +3785,18 @@ pypi-dataclasses
pypi-datetime pypi-datetime
pypi-debugpy pypi-debugpy
pypi-decorator pypi-decorator
pypi-deepmerge
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
pypi-diffusers
pypi-dill pypi-dill
pypi-diskcache pypi-diskcache
pypi-distlib pypi-distlib
@@ -3809,6 +3830,7 @@ pypi-eternalegypt
pypi-etils pypi-etils
pypi-etuples pypi-etuples
pypi-evdev pypi-evdev
pypi-eventlet
pypi-exceptiongroup pypi-exceptiongroup
pypi-exdir pypi-exdir
pypi-execnet pypi-execnet
@@ -3816,6 +3838,7 @@ pypi-executing
pypi-expandvars pypi-expandvars
pypi-expecttest pypi-expecttest
pypi-fabric pypi-fabric
pypi-fairscale
pypi-falcon pypi-falcon
pypi-fasteners pypi-fasteners
pypi-fastimport pypi-fastimport
@@ -3830,6 +3853,7 @@ pypi-flake8_docstrings
pypi-flake8_import_order pypi-flake8_import_order
pypi-flaky pypi-flaky
pypi-flask pypi-flask
pypi-flatbuffers
pypi-flatten_json pypi-flatten_json
pypi-flit pypi-flit
pypi-flit_core pypi-flit_core
@@ -3849,6 +3873,8 @@ pypi-geventhttpclient
pypi-ghp_import pypi-ghp_import
pypi-gitdb pypi-gitdb
pypi-gitpython pypi-gitpython
pypi-glad
pypi-glfw
pypi-gmqtt pypi-gmqtt
pypi-google_api_core pypi-google_api_core
pypi-google_api_python_client pypi-google_api_python_client
@@ -3856,14 +3882,19 @@ pypi-google_apitools
pypi-google_auth pypi-google_auth
pypi-google_auth_httplib2 pypi-google_auth_httplib2
pypi-google_auth_oauthlib pypi-google_auth_oauthlib
pypi-google_cloud_core
pypi-google_cloud_secret_manager pypi-google_cloud_secret_manager
pypi-google_cloud_storage
pypi-google_crc32c
pypi-google_pasta pypi-google_pasta
pypi-google_reauth pypi-google_reauth
pypi-google_resumable_media
pypi-googleapis_common_protos pypi-googleapis_common_protos
pypi-gql pypi-gql
pypi-graphql_core pypi-graphql_core
pypi-graphviz pypi-graphviz
pypi-greenlet pypi-greenlet
pypi-griffe
pypi-grpc_google_iam_v1 pypi-grpc_google_iam_v1
pypi-grpcio pypi-grpcio
pypi-grpcio_channelz pypi-grpcio_channelz
@@ -3879,19 +3910,24 @@ pypi-h5py
pypi-hammock pypi-hammock
pypi-hatch_fancy_pypi_readme pypi-hatch_fancy_pypi_readme
pypi-hatch_nodejs_version pypi-hatch_nodejs_version
pypi-hatch_requirements_txt
pypi-hatch_vcs pypi-hatch_vcs
pypi-hatchling pypi-hatchling
pypi-heapdict pypi-heapdict
pypi-hjson
pypi-hkp4py pypi-hkp4py
pypi-home_assistant_frontend pypi-home_assistant_frontend
pypi-hpack pypi-hpack
pypi-hsluv
pypi-html5lib pypi-html5lib
pypi-httpcore pypi-httpcore
pypi-httplib2 pypi-httplib2
pypi-httpretty pypi-httpretty
pypi-httpx pypi-httpx
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
@@ -3913,6 +3949,7 @@ pypi-inflect
pypi-inflection pypi-inflection
pypi-influxdb pypi-influxdb
pypi-iniconfig pypi-iniconfig
pypi-installer
pypi-intervaltree pypi-intervaltree
pypi-invoke pypi-invoke
pypi-iocapture pypi-iocapture
@@ -3948,6 +3985,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
@@ -3963,11 +4001,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
@@ -3983,9 +4025,14 @@ 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_object_proxy pypi-lazy_object_proxy
pypi-ldap3 pypi-ldap3
pypi-libarchive_c pypi-libarchive_c
pypi-libevdev
pypi-lightning_utilities
pypi-linkify_it_py pypi-linkify_it_py
pypi-livereload pypi-livereload
pypi-llfuse pypi-llfuse
@@ -4002,6 +4049,7 @@ pypi-markdown2
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
@@ -4009,7 +4057,16 @@ pypi-meson_python
pypi-mido pypi-mido
pypi-minikanren pypi-minikanren
pypi-mistune pypi-mistune
pypi-mkdocs
pypi-mkdocs_autorefs
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_python
pypi-ml_dtypes
pypi-mock pypi-mock
pypi-modulegraph pypi-modulegraph
pypi-molecule pypi-molecule
@@ -4063,12 +4120,14 @@ pypi-onnx
pypi-opcodes pypi-opcodes
pypi-openshift pypi-openshift
pypi-opt_einsum pypi-opt_einsum
pypi-ordered_set
pypi-ouimeaux pypi-ouimeaux
pypi-outcome pypi-outcome
pypi-ovirt_imageio 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
@@ -4076,6 +4135,7 @@ 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
@@ -4087,15 +4147,19 @@ pypi-pbr
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
pypi-perl pypi-perl
pypi-persist_queue
pypi-persistent pypi-persistent
pypi-pexpect pypi-pexpect
pypi-phabricator pypi-phabricator
pypi-pickleshare pypi-pickleshare
pypi-picobox
pypi-pid pypi-pid
pypi-pidigits
pypi-pillow pypi-pillow
pypi-pint pypi-pint
pypi-pip pypi-pip
@@ -4103,6 +4167,8 @@ pypi-pip_tools
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
@@ -4133,6 +4199,7 @@ pypi-pure_eval
pypi-purestorage pypi-purestorage
pypi-purity_fb pypi-purity_fb
pypi-py pypi-py
pypi-py3nvml
pypi-py_cpuinfo pypi-py_cpuinfo
pypi-pyaml pypi-pyaml
pypi-pyasn1 pypi-pyasn1
@@ -4178,7 +4245,9 @@ pypi-pyopenssl
pypi-pyparsing pypi-pyparsing
pypi-pyperclip pypi-pyperclip
pypi-pyperf pypi-pyperf
pypi-pypowerflex
pypi-pyproject_api pypi-pyproject_api
pypi-pyproject_hooks
pypi-pyproject_metadata pypi-pyproject_metadata
pypi-pyprojectx pypi-pyprojectx
pypi-pypsrp pypi-pypsrp
@@ -4186,6 +4255,7 @@ pypi-pyqrcode
pypi-pyqt6_sip pypi-pyqt6_sip
pypi-pyqt_builder pypi-pyqt_builder
pypi-pyquery pypi-pyquery
pypi-pyramid
pypi-pyreadline pypi-pyreadline
pypi-pyrfc3339 pypi-pyrfc3339
pypi-pyro4 pypi-pyro4
@@ -4239,6 +4309,7 @@ pypi-python_version
pypi-python_xlib pypi-python_xlib
pypi-pythran pypi-pythran
pypi-pytoolconfig pypi-pytoolconfig
pypi-pytorch_lightning
pypi-pytz pypi-pytz
pypi-pytz_deprecation_shim pypi-pytz_deprecation_shim
pypi-pyu2f pypi-pyu2f
@@ -4275,8 +4346,10 @@ 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-retype pypi-retype
pypi-rfc3339_validator pypi-rfc3339_validator
pypi-rfc3986 pypi-rfc3986
@@ -4296,9 +4369,9 @@ pypi-ruamel.yaml.clib
pypi-s3transfer pypi-s3transfer
pypi-salib pypi-salib
pypi-sanic_routing pypi-sanic_routing
pypi-scikit-learn
pypi-scikit_build pypi-scikit_build
pypi-scikit_image pypi-scikit_image
pypi-scikit_learn
pypi-scp pypi-scp
pypi-scrypt pypi-scrypt
pypi-seaborn pypi-seaborn
@@ -4309,6 +4382,7 @@ pypi-selenium
pypi-selinux pypi-selinux
pypi-semantic_version pypi-semantic_version
pypi-send2trash pypi-send2trash
pypi-sentencepiece
pypi-sentinels pypi-sentinels
pypi-sentry_sdk pypi-sentry_sdk
pypi-seqdiag pypi-seqdiag
@@ -4325,6 +4399,7 @@ pypi-shapely
pypi-shellingham pypi-shellingham
pypi-simplegeneric pypi-simplegeneric
pypi-six pypi-six
pypi-slugify
pypi-smart_open pypi-smart_open
pypi-smartypants pypi-smartypants
pypi-smmap pypi-smmap
@@ -4342,10 +4417,12 @@ pypi-sphinx_feature_classification
pypi-sphinx_gallery pypi-sphinx_gallery
pypi-sphinx_issues pypi-sphinx_issues
pypi-sphinx_last_updated_by_git pypi-sphinx_last_updated_by_git
pypi-sphinx_mdinclude
pypi-sphinx_notfound_page pypi-sphinx_notfound_page
pypi-sphinx_rtd_theme pypi-sphinx_rtd_theme
pypi-sphinx_theme_builder pypi-sphinx_theme_builder
pypi-sphinx_togglebutton pypi-sphinx_togglebutton
pypi-sphinxcontrib.jquery
pypi-sphinxcontrib_apidoc pypi-sphinxcontrib_apidoc
pypi-sphinxcontrib_applehelp pypi-sphinxcontrib_applehelp
pypi-sphinxcontrib_bibtex pypi-sphinxcontrib_bibtex
@@ -4373,7 +4450,10 @@ pypi-sqlparse
pypi-sshtunnel pypi-sshtunnel
pypi-stack_data pypi-stack_data
pypi-statsmodels pypi-statsmodels
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
@@ -4395,17 +4475,20 @@ 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
pypi-tomlkit pypi-tomlkit
pypi-toolz pypi-toolz
pypi-torchmetrics
pypi-tornado pypi-tornado
pypi-tornado_xstatic pypi-tornado_xstatic
pypi-tox 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
@@ -4453,6 +4536,10 @@ pypi-urwid
pypi-user_agents pypi-user_agents
pypi-userpath pypi-userpath
pypi-uvloop pypi-uvloop
pypi-venusian
pypi-verboselogs
pypi-versioneer
pypi-vine
pypi-virtualenv pypi-virtualenv
pypi-volatile pypi-volatile
pypi-voluptuous pypi-voluptuous
@@ -4477,6 +4564,7 @@ pypi-wrapt
pypi-wsgiproxy2 pypi-wsgiproxy2
pypi-wsproto pypi-wsproto
pypi-wurlitzer pypi-wurlitzer
pypi-xgboost
pypi-xmldiff pypi-xmldiff
pypi-xmljson pypi-xmljson
pypi-xmlschema pypi-xmlschema
@@ -4496,11 +4584,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
@@ -4541,6 +4632,7 @@ python-utils
python-zeep python-zeep
python-zstandard python-zstandard
python3 python3
pytorch
pyudev pyudev
qalculate-gtk qalculate-gtk
qatlib qatlib
@@ -4593,7 +4685,6 @@ qtwebchannel
qtwebengine qtwebengine
qtwebsockets qtwebsockets
qtx11extras qtx11extras
qtxdg-tools
qtxmlpatterns qtxmlpatterns
quagga quagga
quassel quassel
@@ -4623,6 +4714,7 @@ rest
restic restic
rhythmbox rhythmbox
rinutils rinutils
ripgrep
rlwrap rlwrap
rng-tools rng-tools
robin-map robin-map
@@ -4667,6 +4759,7 @@ seahorse
seatd seatd
sed sed
seer seer
sentencepiece
serf serf
setserial setserial
setxkbmap setxkbmap
@@ -4688,9 +4781,12 @@ slirp4netns
slurm slurm
smartcols smartcols
smartmontools smartmontools
smemstat
snappy snappy
sndio
socat socat
sof-bin sof-bin
softflowd
solid solid
sonnet sonnet
sos sos
@@ -4750,7 +4846,6 @@ sympy
syndication syndication
synergy synergy
syntax-highlighting syntax-highlighting
sysdig
syslinux syslinux
sysprof sysprof
sysstat sysstat
@@ -4809,6 +4904,7 @@ tracker
tracker-miners tracker-miners
tree tree
tree-sitter tree-sitter
trurl
tzdata tzdata
uchardet uchardet
ucpp ucpp
@@ -4865,7 +4961,7 @@ wayland
wayland-protocols wayland-protocols
wcslib wcslib
webkitgtk webkitgtk
webkitgtk50 webkitgtk60
weechat weechat
weston weston
wget wget
@@ -4948,6 +5044,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()