Commit Graph

79 Commits

Author SHA1 Message Date
Satadru Pramanik
3daee683b3 crew: use zstd (#6703)
* Initial .zst support

* initial zstd changes

* reverse tar version condition

* Change extension to .tar.zst

* Add verbosity, use nice for zstd

* add tar to core

* Add tar to buildessential

* Add tar to bootstrap packages

* Add musl tar with zstd support

* add error for old tar on system

* Add zst support to gl.sh, add update of rust in zst package format

* Add check for zstd before decompressing .zst files

* change new tar dependency to i686 only

* add more musl fixes

* add musl paths to tar cmd

* Add musl_zstd update with libc

* add musl path to install path

* add zst to strip_dir

* Add spaces to gl.sh

* remove extraneous no_zstd
2022-02-03 19:03:52 -06:00
Satadru Pramanik
e492f28081 patchelf option during package creation, revamp of boolean symbol processing (#6661)
* initial commit of using patchelf during package creation

* requested changes

* simplify symbols

* suggested change

* switch sh to bash + suggested changes

* WIP changes to elf detection and property detection

* make boolean symbols dynamic in package.rb

* remove some debug code

* report file being patched when libraries are not found

* Add rubocop cleanups

* crew rubocop adjustments

* remove debug code

* bump version

* add is_musl? musl.rb loading

* suggested changes

* requested change
2022-02-03 08:12:58 -06:00
Ed Reel
cea13eff9f Add reload_constants command (#6686) 2022-01-29 16:31:15 -05:00
supechicken
bd02980d15 crew: Replace binutils/ar with a new library (#6642)
* Create deb_utils.rb

* Update crew

* Update core.rb

* Update const.rb

* Update deb_utils.rb

* Wrap as a module

Co-authored-by: Ed Reel <edreel@gmail.com>
2022-01-22 02:50:18 -06:00
supechicken
8132c60dbc install.sh: Add rsync as a core package (#6621)
* Update crew

* Update crew

* Bump version

* Update crew

* Update crew

* Update crew

* Update crew

* Update crew

* Update install.sh

* Update install.sh

* Update install.sh

* Update crew

* Update install.sh

* Update crew

* Update install.sh

* Update crew
2022-01-21 11:20:28 -05:00
Satadru Pramanik
add30dd4a6 Add git_fetchtags, simplify (.nil? or .empty?) to .to_s.empty? (#6640)
* Add git_fetchtags, simplify (.nil? or .empty?) to .to_s.empty?

* bump version

* remove duplicate check of @pkg.git_branch.to_s.empty?
2022-01-21 10:34:28 +08:00
Satadru Pramanik
22aea2a1f3 make env variables used by crew mostly booleans (#6634) 2022-01-19 15:24:02 -06:00
Satadru Pramanik
2a03fa9dae Crew: make update of device.json atomic and resilient to running out of disk space. (#6569) 2022-01-06 21:48:09 -06:00
Cassandra Watergate
c48385288a Fix git_hashtags with a / character (#6562)
* fix git_hashtags with / character

* bump version
2022-01-07 00:01:33 +08:00
Satadru Pramanik
9f734e8dd4 crew: Breakout .la renames as optional (#6551)
* crew: Make renaming .la files optional during builds

* add CREW_LA_RENAME_ENABLED to const.rb
2022-01-04 12:18:58 -06:00
Ed Reel
d7603d1389 Add postbuild function to crew (#6549) 2022-01-02 09:19:06 -05:00
supechicken
8fc7b84aac Add a downloader based on the net/http library (#6491)
* Use net http (#3)

* Add user agent header

* Update crew

* Update downloader.rb

* Update const.rb

* Fix const.rb crash.

Co-authored-by: Satadru Pramanik <satadru@umich.edu>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2021-12-23 21:53:50 -06:00
Satadru Pramanik
db1a337e64 Add fallback during install if rsync is not working (#6514) 2021-12-21 13:00:04 -06:00
Satadru Pramanik
a59fdbcab2 crew: use rsync for install locally in lieu of tar (#6490)
* crew: use rsync for install locally in lieu of tar

* file path logic required chomping
2021-12-21 11:51:28 -06:00
Satadru Pramanik
23ec8fc3b4 Keep crew from breaking when a package file for an installed package disappears. (#6471) 2021-12-09 16:20:34 -06:00
Satadru Pramanik
2d3987562b remove debug print 2021-12-08 16:13:06 -05:00
Satadru Pramanik
4e662c1bda crew: do not exclude .git when caching git dirs 2021-12-08 15:50:57 -05:00
Satadru Pramanik
12131eb3e3 crew: use hard links in packaging; after git download fetch git tags 2021-12-08 15:45:31 -05:00
supechicken
02d4b1b9df crew: Add autoremove command (#6273)
* Update package.rb
* Update README.md
* Bump minor version

Co-authored-by: Cassandra Watergate <55339220+saltedcoffii@users.noreply.github.com>
2021-11-29 18:06:52 -06:00
Satadru Pramanik
b932de1642 crew: fix typo (missing ?) (#6380) 2021-11-09 21:39:10 +08:00
Satadru Pramanik
af5036e68f Crew cache git granularity (#6379)
* Adjust git cachefile name to reflect branch commit if specified

* bump version
2021-11-08 13:41:47 -06:00
Satadru Pramanik
970e87726b crew: Adjust logic for branch/tag source_url, don't cache .git folders (#6375)
* crew: Simplify logic for branch/tag source_url, don't cache .git folders

* bump version
2021-11-07 22:56:29 -06:00
Satadru Pramanik
442d4f971c crew add verbose error with missing package dependencies (#6353)
* crew add verbose error with missing package dependencies

* bump version

* suggested changes
2021-11-01 13:40:29 -05:00
Satadru Pramanik
b2baa2b4a2 Appropriately print no package error when crew is passed a non-existing package (#6332)
* move no package error in crew

* bump version
2021-10-24 17:23:35 -05:00
Satadru Pramanik
f76626ed92 Switch upx to just use lzma to speed up builds (#6313) 2021-10-18 10:38:34 -05:00
supechicken
a37fc5bccf Fix crew upgrade (#6305)
* Update crew

* Update const.rb
2021-10-15 22:49:36 -05:00
supechicken
b98a26d340 crew: Clean up (#6275)
* Update crew

* Update const.rb
2021-10-14 11:07:55 -05:00
Satadru Pramanik
a3f9a819a4 Disable symlinks usage in shrink_archive function (#6291)
* Disable symlinks usage in shrink_archive function

* bump version
2021-10-11 16:33:15 -05:00
Satadru Pramanik
64d2001b35 crew: fix crew update reporting a potential package upgrade when a different package's package file is missing (#6259)
* inspect compat

* inspect compat take 2

* modify both search and update

* bump version

* requested changes
2021-09-27 12:42:24 -05:00
Satadru Pramanik
563dfef31d crew: Handle attempted removal of essential files (#6229)
* crew: Handle attempted removal of essential files

* Add info about essential files.

* bump version
2021-09-23 16:43:15 -05:00
Satadru Pramanik
9a5f6a52ab crew: improve 'Attempting to compress' output (#6152)
* crew: improve 'Attempting to compress' output

* bump version
2021-09-10 18:04:07 -05:00
Satadru Pramanik
6e32b7e4ec crew: modify upx logic to use concurrent-ruby (#6145)
* crew: modify upx logic to use concurrent-ruby

* bump version

* requested changes
2021-09-09 17:27:21 -05:00
Ed Reel
f97aa4b633 Add jdk16 package (#6050)
Include preflight fake packages in dependency resolver
2021-08-08 22:37:37 -04:00
Ed Reel
8a285eb753 Split crew warnings and error messages (#6023)
Simplify error logic
2021-08-06 11:35:15 -04:00
Ed Reel
9dc5ae3420 Fix no implicit conversion of Float into String in crew line 525 (#6016) 2021-07-31 00:08:43 +08:00
saltedcoffii
0a691d5dc0 fix /usr/local/bin/crew:525:in '+': no implicit conversion of Float into String (TypeError) 2021-07-29 08:29:10 -07:00
satmandu
5d106e0ab7 Container build tweaks (#5993) 2021-07-27 11:11:30 -05:00
Ed Reel
f1f9e55d80 Add crew constants from environment variables (#5992) 2021-07-27 11:16:22 -04:00
Cassandra Watergate
b10df69aca exit after other errors (#5983) 2021-07-24 13:58:25 -04:00
satmandu
29bf6ce602 Don't let crew break if CREW_PREFIX is set. (#5960)
* Don't let crew break if CREW_PREFIX is set.

* suggested changes
2021-07-14 16:06:22 -05:00
satmandu
26f02465af crew remove upx backup files not deleted (#5950) 2021-07-10 15:55:25 -05:00
satmandu
1d5d78d709 Use upx & shrink_dir by default (#5944)
* Use upx & shrink_dir by default

* bump version
2021-07-09 22:18:29 -05:00
satmandu
cf2ada53e8 Allow crew to handle git urls (#5933)
* Catch git urls in crew

* bump version

* simplify
2021-07-07 09:44:30 -05:00
supechicken
d20067a1c6 Fix .deb unarchive algorithm (#5931)
* Add files via upload

* Add exception switch back

* Bump version
2021-07-07 09:31:50 -04:00
satmandu
d1d2335361 Run postinstalls together, after all package installs, and run them in a tempdir instead of CREW_DEST_DIR (#5895)
* Do postinstalls after all packages are extracted.

* Use tempdir for postinstalls

* serialize postinstalls in resolve_dependencies_and_build

* Let a SKIP argument be used for sha256sums
2021-06-24 21:03:58 -05:00
satmandu
1db5043dea crew: Fix error message when executable scripts are found during build archiving (#5884)
* Fix error message when executable scripts are found

* bump version
2021-06-21 15:55:58 -05:00
satmandu
e97dd6494f Fix package upgrade order (#5853)
* Fix package upgrade order

* more dependency logic cleanup
2021-06-09 15:33:53 -05:00
satmandu
93276e3388 #2. Convert curl, git, pixz to static, and update dependencies... (#5837)
* Convert curl, git, pixz to static, and update dependencies...

* Make git, curl, pixz first to get updated.

* updates to curl, git, libcurl, openssl

* Update Git build, more carefully add upx compression.

* add libcurl dep to curl

* move license line

* don't save rdfind results

* curl and libidn2 changes

* fix remove check file

* curl changes, add package updates to fix sommelier
2021-06-07 12:01:45 -05:00
Ed Reel
9cd537c657 Fix crew list available and crew list compatible (#5823) 2021-05-29 10:09:40 -04:00
satmandu
0fdee308bb Use grep in crew whatprovides (#5797)
* Use grep in crew whatprovides

* Add check for working grep.

* uprev
2021-05-18 21:45:46 -05:00