13 Commits

Author SHA1 Message Date
chromebrew-actions[bot]
d74c42954e Build: zed started at 2025-07-28-04UTC. (#12281)
* move zed to rust build

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust rust buildsystem

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add cargo_about

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Updating package files for linux/386 to branch zed.

* Adjust ruby buildsystem

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add solargraph dep to zed

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* adjust rust buildsystem

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust rust flags.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust build

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust zed and build scripts

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust zed build...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust rust build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Build on linux/amd64 to branch zed.

* Updating package files for linux/386 to branch zed.

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* reorder deps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust zed build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* zed: Package File Update Run on linux/386 container.

* Add back png files to build

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* zed: Package File Update Run on linux/386 container.

* Adjust zed package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* zed: Build Run on linux/amd64.

* zed: Package File Update Run on linux/386 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
2025-07-29 21:41:01 +00:00
github-actions[bot]
626a53a7a7 Update buildsystems to use buildsystem name variables, and report contents of those variables/methods during use. (#11936)
* Update buildsystems, update jq, add jq to core for arm.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Only report build options if they exist.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix overeager sed replacement.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* workflow debugging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add logging for build errors.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Revert to function in each package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update jq since it needs gcc14 to build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to buildsystems

* remove deprecated gfbgraph

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix git tag for gnome_maps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update llvm20 package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update gnome_maps deps.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Abstract out buildsystems_methods reporting.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Keep LIBC_VERSION const from being empty.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update crew_profile_base and libxml2

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* clarify

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libarchive

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update libavif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add libxml2 build comment.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add build comment to libarchive.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Don't warn for missing directory during package removal.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-23 19:50:48 +00:00
github-actions[bot]
8796d687f5 Fix method reporting in buildsystems, Fix Rust buildsystem, Rebuild uutils_coreutils. (#11930)
* Revamp rust buildsystem.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Rebuild uutils_coreutils correctly.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add better method printing to buildsystems.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Unify gem_name and gem_version variables.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* cleanup

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add variable for packages to skip during install testing portion of unit tests.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Avoid system override in python3 postinstall.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Remove old pip 23.2.1 workaround.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-05-22 15:52:26 +00: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
a74a2a331c Require package.rb from buildsystems properly. (#10478)
* Require package.rb from buildsystems properly.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update build script to not prompt for aarch64 build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update packages with 'yes | tools/build_updated_packages.rb' to make sure nothing broke.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update awscli binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-14 15:29:01 -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
66ca77930b Add libc version and chromeos milestone to container bash prompts (#10335)
* Use agree_to_remove in ruby_pry.rb.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add cmake options for build_relative_dir

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust cmake buildsystems.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Alphabetize properties in buildsystems/python.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add updated crew_profile_base.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add missing filelists, add glibc fallback to gcc packages.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add milestone to container git prompt.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Use more heredocs for the git commands.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust git postinstall.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add binaries.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust unit test to do build test right after crew upgrade.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Suggested changes.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-08-22 21:26:03 -05:00
Satadru Pramanik, DO, MPH, MEng
2f745cc5f0 Update gtk4, libdrm, mesa, test buildsystems changes, make unit tests easier to debug (#10311)
* Update gtk4, test buildsystems changes, test unit test changes

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* continue testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* continue testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* try to fix unit-test

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more testing

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Move container unit tests to a script for easier debugging.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix paths

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Use simpler unit test script for arm too.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix unit test yaml

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* debugging...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* debugging...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add git settings for when GitHub is down.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix Unit-Test.yml

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust Unit-Test.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more unit test adjustments

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add missing &&

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust unit tests further...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix armv7l unit test, update libdrm.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add mesa builds

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update mesa package

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* debugging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add early exit from arm unit test if no arm packages have changed.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix path and suffix removal.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add more reporting.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust escaping in grep...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust git configs for network connectivity locally only.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Make git changes local not global.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* make git changes local

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update changed-files actions

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* suggested changes

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-08-16 13:11:57 -05:00
SupeChicken666
f9738c639d buildsystem: Use native ruby block in install_extras (#10110)
* buildsystem: Use native ruby block in `install_extras`

Signed-off-by: supechicken <me@supechicken666.dev>

* Make rubocop happy, disable `Security/Eval` cop

Signed-off-by: supechicken <me@supechicken666.dev>

---------

Signed-off-by: supechicken <me@supechicken666.dev>
2024-07-09 08:56:03 -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
Ed Reel
72c9ab195e Add install_extras properties to buildsystems (#9101) 2023-12-19 09:13:19 -05:00
SupeChicken666
d6c5ce79e6 Remove redundant use of .to_s (#8917) 2023-11-10 07:44:50 -05:00
Satadru Pramanik, DO, MPH, MEng
2d8645cd42 Python 3.12.0 (#8728)
* Add python buildsystem

* tk rebuild

* Initial x86_64,i686 python 3.12 builds

* update meson package

* update python3 to have all compat

* update packages

* Add PYTHON env variable.

* add arm build

* update x86_64 binary

* add i686 binary

* update more packages

* fixup

* fixup

* updates

* fixup

* updates

* updates

* refactor python buildsystem

* refactor python buildsystem

* adjust buildsystems/python

* refactor buildsystems/python

* refactor some core py3 packages

* python package rebuilds

* fix package versioning

* update asciidoc

* update libxml2

* update itstool and py3_libxml2

* boost => 1.83

* update gnome packages

* update py3_pip

* update xcb_proto

* add pip buildsystem

* py3_websockets using pip buildsystem

* more pip updates

* update cython, libnghttp2

* update py3_packaging, py3_pyparsing

* rebuild libcaca

* update talloc, tevent

* update tdb

* update lmdb

* update py3_dnsmarkdown, py3_markdown

* update ldb

* fixup

* fix cmake llvm dep

* update py3_pyyaml

* more llvm17 adjustments

* update py3_pygments

* fixup

* smbclient => 4.19.0

* update py3_abimap

* update py3_pytz

* update py3_wcwidth py3_pyte

* build py3_xlrd.rb py3_et_xmlfile.rb py3_openpyxl.rb py3_olefile.rb py3_babel.rb

* py3_six

* build py3_pyicu.rb py3_pytimeparse.rb py3_text_unidecode.rb py3_slugify.rb py3_isodate.rb py3_leather.rb py3_parsedatetime.rb py3_agate.rb py3_agate_excel.rb

* update py3_packaging

* py3_dbfread.rb  py3_agate_dfb.rb py3_sqlalchemy.rb py3_agate_sql.rb

* py3_alabaster.rb py3_argcomplete.rb py3_appdirs.rb py3_click.rb

* add py3_soupsieve

* rebuild gstreamer for libvpx, build py3_editables.rb py3_pathspec.rb py3_pluggy.rb py3_trove_classifiers.rb py3_hatchling.rb py3_hatch_vcs.rb py3_hatch_fancy_pypi_readme.rb py3_attrs.rb py3_beautifulsoup4.rb py3_dateutil.rb py3_arrow.rb

* build py3_setuptools_scm.rb py3_semantic_version.rb py3_typing_extensions.rb py3_setuptools_rust.rb

* rebuild qtbase

* fixup packages

* update cpython

* make pip/python use nproc

* update numpy, but remove binaries

* Convert remaining python packages to pip without binaries

* add new packages to packages.yaml

* remove pip binaries

* refactor pip

* align pip update code betwen python3 and py3_pip

* fixup

* py3_pip needs building

* adjust depends logic

* refactor pip dependency

* bump buildessential

* bump version

* cleanup

* refactor pip

* switch py3_build to pip

* fixup depends ordering

* add spacing before no_compile_needed

* add missing no_compile_needed
2023-10-06 15:41:29 -05:00