Satadru Pramanik, DO, MPH, MEng
79efa1dfd5
Python => 3.13.0 ( #10585 )
...
* Python => 3.13
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix VER variables in const.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* bugfixes
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* More plumbing changes...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust py3_pip and py3_setuptools to not error during python3 preinstall.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix hash error
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add no_binaries_needed
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* bugfixes...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to pip.rb to fix python 3.13 builds.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add workaround for missing binaries...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update cmake
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add lots of package updates.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add py3_bcrypt, rename asciidoc, add more package builds.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* More updates
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* revert postgresql update
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* final updates?
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update curl
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add curl to essential packages to try to prevent unit test failure on i686.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* updates
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix accidental change to docker package.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fiz condition of no new updates leavimg a message with CREW_UNATTENDED set.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* more updates, add missing libabigail binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* rebuild py3_dbus_python
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add arm build for 5.10 musl_linuxheaders
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add builds for openimageio.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust ruby buildsystem slightly to use cache more, adjust unit tests to properly invoke setarch, add py3_pynacl, update libsodium.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Ruby adjustments...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* unit test adjustments...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* unit test adjustments...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add error message to pip install...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* expand pip error reporting
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* More pip adjustments.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more pip verbose error reporting.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add new workaround for pip failure on i686...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Refactor pip again...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* more refactoring...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust py3_pip version restriction.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Avoid container jdk dependency in snowflake.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update trove classifiers.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* adjust package fxn exit
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* adjust more jdk deps
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-10-12 16:03:50 -05:00
Satadru Pramanik, DO, MPH, MEng
65e0db8a91
Fix boolean logic, and also file path in build_updated_packages. ( #10506 )
...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-09-20 14:26:06 -05:00
Satadru Pramanik, DO, MPH, MEng
b77cb15fdf
Add timeout to crew highline prompts with defaults ( #10498 )
...
* Add timeout to agree_with_default functions.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more timeouts.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-09-19 14:59:11 -05:00
Satadru Pramanik, DO, MPH, MEng
24cda80f45
Add gem binary build functionality and also refactor upload to use regex in lieu of sed ( #10494 )
...
* Add initial plumbing for ruby gem-compiler use.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add binary gem building to ruby buildsystem.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Refactor upload to avoid sed.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add gem binary build plumbing to crew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add binary_compression to gems.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add ruby gem binaries.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move ruby_ruby_libversion to core.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Ruby gem update check should account for local versions.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove unused update_sha256 function.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add no_compile_needed to ruby_rubocop.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove ruby_gem_compiler from buildessential.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-09-19 11:52:39 -05:00
Satadru Pramanik, DO, MPH, MEng
db0de20fc4
Some pip refactoring... ( #10463 )
...
* Pip updates
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add wheel upload capability to crew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* reupload i686 binary of py3_twine
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add :in_install.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Mention uri in uri download failed message.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Have gem maintenance use cleanup instead of pristine.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add binaries for py3_importlib_metadata
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update scripts...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Suggested changes.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* dogfooding build_updated_packages script to make more updates...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* More changes to use CREW_GITLAB_PKG_REPO.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Suggested changes and tools updates.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Added a :prerelease property to buildsystems/pip because properties from package.rb are not seen by buildsystems/pip.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update i686 hash
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update last hash
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-09-13 15:58:21 -05:00
Maximilian Downey Twiss
3106ff0a2c
Add test for removed dependencies ( #10464 )
...
* Add test for removed dependencies
* Fix the reported issues
2024-09-12 22:00:32 -05:00
Satadru Pramanik, DO, MPH, MEng
172ca528a1
Python => 3.12.6 ( #10436 )
...
* remove @_ver from py3 packages, change to use pip, and rename where appropriate
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update py3_package versions.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* bump version of update_ruby...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Attempt to fix i686 install.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update core_packages.txt.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Python => 3.12.6
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove binaries...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove binaries from py3_ packages.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint/fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* move py3_wheel to pip
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move pytimeparse to pip.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add ruby_debug gem to buildessential since it is needed for irb.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* move py3_text_unidecode to pip
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* convert more packages to pip
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* replace appdirs with platformdirs
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Pip should unconditionally install...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust pip install...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust py3_python_ package deps
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add error message for which package file was not found.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* cleanup py3_typing_extensions
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update python packages...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add some binaries.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust py3_setuptools...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup py3_setuptools_rust
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* ruby adjustments
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add setuptools binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove ruby_debug from fixup deprecation list.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update py3_magic to py3_python_magic.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update python packages, adjust update_python script and buildsystems/pip
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix missing version in py3_parsedatetime.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update update scripts to use parallel.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add py3_patchelf and py3_libxml2 binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add unless defined check for USER in const.rb.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Change CREW_CONST_GIT_COMMIT from being a constant.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add binaries for py3_pyopenssl.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Have remove use pip if possible.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add more debug code to fixup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Prepare pip packages for build...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup py3_pyyaml
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update py3_pyyaml
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix py3_unsupported_python
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix py3_unsupported_python
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* remove some debug code
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* more pip updates
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more binaries.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add binaries for py3_pyopenssl.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add py3_oci binaries.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update py3_twine.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update py3_oci_cli binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* cleanup buildsystems/pip
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add binaries for sphinx
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update more packages.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add binary_compression to pip files
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-09-10 10:55:11 -05:00
Satadru Pramanik, DO, MPH, MEng
386f42ff6e
Fix for require issues with highline and glibc 2.37 refactor ( #10363 )
...
* Adjust highline requires.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Refactor glibc_build237.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust cmake logic for cmake_build_relative_dir.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update buildsystems...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Rebuild glibc 2.37 packages.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust fixup for case of loading from much older crew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Try to handle loading fixup on older crew update.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Handle older crew setups.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Use rubocop exclusion for only const.rb and fixup.rb.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove attr_accessor from buildsystems.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Force update compatible if coming from an older crew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* remove require_gem from package.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add fallback for remove.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* const tweaks...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust const.rb & fixup.rb to remove error messages on load after require.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Make remove run crew update compatible if being run on a newer underlying chromebrew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust fixup to be more resilient to being loaded in an older crew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Switch from symbolized json import.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Revert most changes.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust essential deps handling in fixup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Cleanup save_json in fixup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update highline
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* save json more.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* save json more.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* test remove changes
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more remove debug code.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more remove debug code.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add debug to fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add debug to fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add debug to fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Refresh crew json when calling crew functions or exiting fixup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Refresh crew json when calling crew functions or exiting fixup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix json string usage in remove
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* essential package debugging
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust remove debugging...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* more remove debugging
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove debugging code from commands/remove.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Remove more debugging code from lib/fixup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust remove test to test both remove with and without debug argument.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update const.rb to not set x86 constants when not on x86.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Set x86 constants to nil when not on x86.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Bump crew version.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-08-31 14:06:18 -05:00
Satadru Pramanik, DO, MPH, MEng
984bfec896
Polish agree usage in crew ( #10333 )
...
* Adjust agree options.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add agree_default_no function.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add more verbosity to agree_to_remove.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust crew use of agree.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust asks in vim packages.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add color to highline questions.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-08-22 14:17:52 -05:00
Satadru Pramanik, DO, MPH, MEng
12352730e5
Rebuild qt5_base for icu75.1, update qbittorrent, adjust qmake buildsystem ( #10330 )
...
* Rebuild qt5_base for Glibc 2.37 with Icu 75.1.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update qbittorrent, modify qmake buildsystem to try to enable newer glibc compatibility.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust min_glibc...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update obs and plplot package deps.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust obs deps.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust deps.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add nlopt, update stellarium, add new highline agree function to package.rb.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* bump version
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add min_glibc to stellarium
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust postremove message for stellarium.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fixup plplot.rb.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust agree function.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-08-21 19:25:11 -05:00
Satadru Pramanik, DO, MPH, MEng
d10bc9f6e6
Fixes #9524 , adjusts compatibility for glibc packages and adds file lists for glibc_build232, and adds max_glibc property ( #10319 )
...
* Fixes #9524 , adjusts compatibility for glibc packages and adds filelists for glibc_build232
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust logic to add max_glibc.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update packages.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust reason reporting logic.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Temporarily adjust unit test to avoid neweer armv7l container.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Modify unit test...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust unit test...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust unit test...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust unit test...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust unit test...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust unit test...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix indentation.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-08-18 21:24:10 -05:00
Satadru Pramanik, DO, MPH, MEng
c6b102fece
Use grep better to speed up crew remove of packages. ( #10309 )
...
* use grep to speed up crew remove
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* bump version
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* adjust logic
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add back CREW_ESSENTIAL_FILES to handle files like libC.so.6
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* adjust CREW_ESSENTIAL_FILES logic
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix package_files_that_overlap
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* cleanup output of package_files_that_overlap
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* debug
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Back out CREW_ESSENTIAL_FILES change, and use Package.load_package('pkg.rb').get_deps_list to find dependent packages of CREW_ESSENTIAL_PACKAGES in commands/remove.rb, and also fix Package.load_package('pkg.rb').get_deps_list to enable using it from commands/remove.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust removal message in crew.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust some punctuation and capitalization.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fix pkg_file path detection
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Only use CREW_LOCAL_REPO_ROOT file if it exists.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* suggested changes
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix ESSENTIAL_PACKAGE dependency expansion.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix essential_deps logic.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust remove logic to return quietly if in_upgrade, else exit 1, and also properly figure out essential_packages list.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix docopt so options like '-d' work.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add suggested changes for testing, add testing file for remove.rb, also in testing.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* more testing
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move recursive package function to package.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust function name.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* simplify
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* simplify
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Use File.mtime for @last_update_check as per suggestion by @Zopolis4.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move essential package determination to crew:generate_compatible.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move load_json and save_json to package_utils and just use symbols for the json array in remove and package_utils.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Unify json usage globally.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix one remove test.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Update remove.rb test.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* cleanup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Adjust remove test.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Try to use new Unit Tests...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix installsh: git config --local commands cannot be run unless the git repo is already setup.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move json functions to package_utils.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Fix docopt for real, add docopt unit test, have install.sh generate ruby gem filelists just like a regular buildsystems/ruby gem install.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Use CREW_META_PATH in install.sh.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Cleanup remove.rb tests.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add 'crew list essential'.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add unit test for list command.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Cleanup remove.rb test.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Cleanup wording.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move print_deps_tree to lib/package.rb.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Return changes from #10317
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-08-17 14:09:09 -05:00
Satadru Pramanik, DO, MPH, MEng
5621163c84
Refactor ruby gems in packages, crew cleanup of debugging, install.sh refactor for gems ( #10294 )
...
* Some ruby gem updates and cleanup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* bump version
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* move gem installs to core install
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add webkitgtk_6 binaries for x86_64, add librsvg binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add rebuilt librsvg binary for x86_64.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* rename gem function internals to make more sense
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* adjust webkitgtk_6 deps
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* update ruby gem packages, add a ruby gem package update script to tools
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* suggested changes
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* rebuild parted
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add parted binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* suggested changes
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* refactor ruby buildsystem
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* add libsdl2, freerdp binaries
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* sync crew function to lib/fixup
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* shellcheck fix
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add const for CREW_UPDATE_CHECK_INTERVAL
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Move time_difference into function for neatness.
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* suggested changes from @uberhacker
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* @Zopolis4 suggested change: Use git last update time
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add .blank? usage to downloader to avoid undefined method `empty?' for nil (NoMethodError)
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-08-13 11:25:39 -05:00
SupeChicken666
91f0f2ac98
lib/package: Get rid of eval strings ( #10117 )
...
* lib/package: Cleanup functions, get rid of `eval` strings
Signed-off-by: supechicken <me@supechicken666.dev >
* Fix error
Signed-off-by: supechicken <me@supechicken666.dev >
* Fix error
Signed-off-by: supechicken <me@supechicken666.dev >
* Add comments
Signed-off-by: supechicken <me@supechicken666.dev >
* Make rubocop happy
Signed-off-by: supechicken <me@supechicken666.dev >
* Fix error
Signed-off-by: supechicken <me@supechicken666.dev >
* Simplify
Signed-off-by: supechicken <me@supechicken666.dev >
* Bump crew version
Signed-off-by: supechicken <me@supechicken666.dev >
---------
Signed-off-by: supechicken <me@supechicken666.dev >
2024-07-10 14:49:10 -05:00
Maximilian Downey Twiss
33901368d7
Enable more rubocop cops ( #9980 )
...
* Remove self.check in python3.rb as tests were not actuallly being run
* Enable Lint/ImplicitStringConcatenation cop
* Enable Layout/CommentIndentation cop
* Remove unnecessary configuration of Layout/IndentationStyle to EnforcedStyle: spaces, as this is already the default
* Enable Layout/LeadingCommentSpace cop
* Enable Layout/SpaceInsideBlockBraces cop
* Enable Layout/SpaceInsideParens cop
* Enable Layout/TrailingEmptyLines cop
* Enable Lint/LiteralAsCondition cop
* Document the current issue stopping us from enabling Style/OptionalBooleanParameter
* Stop downloading our rubocop config when installing ruby_rubocop
2024-06-17 16:19:11 -04:00
Maximilian Downey Twiss
48e3bd316e
Rework load_package, set_package, search and copy_package ( #9658 )
2024-04-20 19:09:30 -05:00
Maximilian Downey Twiss
8b19dcd05a
Add lib/package_utils.rb to provide a number of package convenience functions. ( #9617 )
2024-04-10 13:00:04 -05:00
Ed Reel
1dd4b99f0a
Simplify crew prop command ( #9519 )
2024-03-22 14:12:25 -04:00
Satadru Pramanik, DO, MPH, MEng
a39ec41c3f
Set default 'binary_compression' to 'tar.zst', allow verbose option for all crew commands. ( #9505 )
...
* Set default 'binary_compression' to 'tar.zst'
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* shellcheck!
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add verbose option to all crew commands, use workaround for package logic
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* lint
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-03-20 12:33:09 -05:00
Ed Reel
7c17beeee7
Add check command ( #9501 )
2024-03-20 08:46:01 -04:00
Satadru Pramanik, DO, MPH, MEng
a7292dd91c
Add no_source_build property ( #9444 )
...
* Add no_source_build functionality
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
* Add to help.rb
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
---------
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-03-06 21:04:32 -06:00
Maximilian Downey Twiss
eddca7e0e8
Enable additional temporarily disabled cops ( #9394 )
2024-03-01 12:24:31 -05:00
Satadru Pramanik, DO, MPH, MEng
61b9796ce4
valgrind => 3.22 ( #9336 )
...
Signed-off-by: Satadru Pramanik <satadru@gmail.com >
2024-02-14 12:46:51 -06:00
Satadru Pramanik, DO, MPH, MEng
ac52769bad
Revert "Miscellaneous crew changes ( #9311 )" ( #9315 )
...
This reverts commit 7a5eff8945 .
2024-02-12 12:31:07 -06:00
Maximilian Downey Twiss
7a5eff8945
Miscellaneous crew changes ( #9311 )
...
* Make greater use of File.join when loading device.json
* Remove redundant check that the compatibility property exists (already checked by prop_test as part of CI)
* Don't pass architecture to lib/package.rb
* Replace @device[:architecture] with ARCH, do not create architecture section in device.json
* Refactor getting urls and sha256s in package.rb
* Use inplace sort on installed_packages instead of creating sorted_installed_packages
* Rework load_package to always only take one argument
* Only rescue package loading errors in set_package
* Remove generate_compatible
* Replace all calls to load_package with set_package
* Use _args instead of _ in prop_command
* Merge @short_verbose and @verbose
* Simplify filename detection in download
* Bump crew version
2024-02-12 12:38:18 -05:00
Maximilian Downey Twiss
f6dc1d8d4e
Derive binary_url in package.rb ( #7082 )
...
* Add binary_compression value to each package
* Remove binary_url values and arrays
* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00
Ed Reel
abcd5618d3
Add min_glibc property and include in applicable packages ( #9096 )
2023-12-16 11:51:54 -05:00
Maximilian Downey Twiss
d105a9c058
Run Rubocop 1.58 on tree ( #9041 )
2023-12-03 19:35:18 -05:00
Maximilian Downey Twiss
86a7814bda
Convert workflows to use reviewdog, run rubocop on tree ( #8939 )
2023-11-13 02:46:43 -05:00
SupeChicken666
9f77502974
Reimplementing #8890 (lib/const: Simplify + cleanup) ( #8901 )
...
* lib/const: Simplify + cleanup
* Fix nil issue
* Update const.rb
* Always convert result to boolean
* Always convert result to boolean
* Use File.join to prevent duplicate slashes
* rubocop: Disable `Lint/RedundantSafeNavigation` rule
* ruby_rubocop: Update checksum
* Fix logic
* Change `CREW_DLL_PREFIX` to `CREW_WINE_PREFIX`
* Use `&&` to concatenate commands
* Update const.rb
* Remove redundant `nil`
* Bump version
* Align + more cleanup
* Don't use ENV.fetch when default value is not needed
---------
Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com >
2023-11-08 10:24:46 -05:00
Satadru Pramanik, DO, MPH, MEng
ded56e955c
Use same ExitMessage for all packages asking to source ~/.bashrc ( #8900 )
...
* Use same ExitMessage for all packages asking to source ~/.bashrc
* refactor reload_source
* update mold
* add extra space
* fix msg
* rename macro
* change name of macro again, run rubocop on package.rb
* update mold => 2.3.2
2023-11-06 18:46:40 -06:00
Ed Reel
21f11675dd
Revert "lib/const: Simplify + cleanup ( #8890 )" ( #8895 )
...
This reverts commit f3a58c9492 .
Fixes `crew install vim` and `crew install cantarell_fonts`.
2023-11-05 17:49:42 -05:00
SupeChicken666
f3a58c9492
lib/const: Simplify + cleanup ( #8890 )
...
* lib/const: Simplify + cleanup
* Fix nil issue
* Update const.rb
* Always convert result to boolean
* Always convert result to boolean
* Use File.join to prevent duplicate slashes
* rubocop: Disable `Lint/RedundantSafeNavigation` rule
* ruby_rubocop: Update checksum
* Fix logic
* Change `CREW_DLL_PREFIX` to `CREW_WINE_PREFIX`
* Use `&&` to concatenate commands
* Update const.rb
* Remove redundant `nil`
* Bump version
* Align + more cleanup
* Don't use ENV.fetch when default value is not needed
2023-11-05 10:12:41 -06:00
SupeChicken666
7bf99a15c7
crew: Retry make with single thread if failed ( #8755 )
...
* crew: Retry `make` with `-j1` if build failed
* Fix bugs
* Fix bugs
* Bump Crew Version
---------
Co-authored-by: Satadru Pramanik, DO, MPH, MEng <satadru@gmail.com >
2023-10-13 11:51:27 -04:00
Maximilian Downey Twiss
2f42ff39cc
Run Rubocop on tree, again ( #8704 )
2023-09-29 07:51:08 -04:00
Maximilian Downey Twiss
ec27b6054d
Refactor buildsystem variables ( #8541 )
2023-08-08 18:22:12 -05:00
Maximilian Downey Twiss
a08df3431f
Detect rebuilds via changes in binary_sha256 when updating ( #8531 )
2023-08-04 00:26:03 -05:00
Ed Reel
d2728648a2
Xzutils 5.4.3 => 5.4.4 ( #8532 )
2023-08-03 06:59:06 -04:00
Satadru Pramanik, DO, MPH, MEng
d5d2d5551e
Add no_lto ( #8436 )
...
* Add no_lto
* add xorg_proto update
* update libepoxy as no_lto example
* add no_lto to packages
* move no_lto
2023-06-22 15:03:21 -05:00
Ed Reel
ea8b332a86
Add preremove package function ( #7988 )
...
Add preremove to transmission package
Co-authored-by: chronos <noreply@github.com >
2023-02-24 20:31:21 -05:00
Ed Reel
02d6b51c19
Add no_links property and CREW_NOT_LINKS environment variable ( #7779 )
2022-12-29 10:59:07 -05:00
supechicken
d060ba2c0a
crew: Add support for dependency version ranges ( #7725 )
...
* crew: Add support for dependency version ranges
* Fix errors
* Fix typos
* Update error message
* Fix logic
* Add suggested changes
2022-12-10 10:13:01 -06:00
Satadru Pramanik
00f4b755bb
adjust recursive build dep logic ( #7695 )
...
* adjust recursive build dep logic
* adjust logic
* adjust logic
* adjust logic
* cleanup
2022-11-29 18:05:52 -06:00
Satadru Pramanik
538d786d5c
revert package.rb set_property as unnecessary ( #7618 )
2022-11-10 14:54:17 -06:00
Satadru Pramanik
47838138db
crew: Add cflags for armv7l, add some CREW_ constants ( #7585 )
...
* Add armv7l cflags and CREW_KERNEL_VERSION const
* Adjust package code which uses kernel version
* rework logic
* adjust logic
* debugging
* add CREW_IN_CONTAINER
* Use CREW_IN_CONTAINER in packages.
* Add CREW_IS_AMD and CREW_IS_INTEL
* suggested changes
* test new cpu logic
* cleanup cpu logic
* add CREW_CPU_VENDOR
* fix cpu detection on x86
* lint
* fix package dynamic versioning
* lint changes
* update for non-x86, and make linuxheaders a one-shot deal
* add 5.10 x86_64 binaries for linuxheaders
* lint
* suggested changes
* fix musl_linuxheaders
* show container info in sysinfo
* Use CREW_KERNEL_VERSION
* add markdown interpretation code
* refactor markdown code
* modify issue template to get markdown code for crew sysinfo
* attempt to change the issue template to the newer github yaml format
* move issue template to yaml file
* update Linters logic
* lint crew
* update linter.rb too
* bump linter.rb version
2022-11-08 16:18:09 -06:00
Satadru Pramanik
042a3a616b
crew: cache builds ( #7544 )
...
* crew: cache builds
* make linter suggestions
* remove debug code
* Tear out some musl_zstd code
* use a dir higher up for the build cache archive
* fixup extraction dir for cached builds
* save backup of build cache instead of overwriting
* change int signal handler
* remove debug code
* Add checks for cachefile sha256 hash files
* suggested changes; change all File.exists to File.file
* bump minorversion
* change error message to informational orange
2022-10-25 10:46:12 -05:00
supechicken
4f840557db
lib/selector: Add selector library, apply to jdk and hunspell ( #7473 )
...
* Add selector library, apply to `jdk` and `hunspell`
* Make rubocop happy
* Fix syntax error
* jdk: Fetch version from packages
* Auto update version number
* hunspell: wrap with `ARGV.include?`
* Fix syntax error
* Make rubocop happy
* jdk: use `Dir[]`
* Generate options dynamically
2022-10-16 00:32:23 -05:00
supechicken
9eb887589f
Run preflight check on dependencies also, remove autoremove command ( #7455 )
...
* Run preflight check on dependencies, remove `autoremove` cmd
* Export `compatible?` method
* Update `crew`
* Add a warning for missing `compatibility` field
* Bump version
* Make rubocop happy
* Remove `is_compatible?` function
* Colored output requires `lib/color.rb`
* readme: Remove `autoremove` command
* Change from warning to error
* `return false`
* Make rubocop happy
* Update crew
* Use `File.join`
2022-10-08 10:06:24 -05:00
Ed Reel
2b09b03a48
Add no_compress, no_shrink and no_strip boolean options ( #7416 )
...
* Add no_compress, no_shrink and no_strip boolean options
* Remove empty lines in bin/crew
2022-09-17 18:46:33 -04:00
Maximilian Downey Twiss
f6cea137b4
Fix rubocop errors that snuck in ( #7335 )
2022-08-23 22:35:03 -04:00