Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 2.0.9 Rough support for more kernels #125

Merged
merged 37 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
1aeb9dd
feat: use HEAD when -G receives an invalid tag
jgabaut Oct 24, 2024
8233430
feat: add -Z to avoid using env CFLAGS
jgabaut Oct 30, 2024
679f57d
feat: long flags refuse args starting with -
jgabaut Oct 31, 2024
e30f350
feat: short flags refuse args starting with -
jgabaut Oct 31, 2024
4a6dac0
chore: update CHANGELOG
jgabaut Oct 31, 2024
05f3104
feat: refactor -C to take flags directly
jgabaut Oct 31, 2024
07d6bcd
feat: add backwards compatible -C flag improvement
jgabaut Oct 31, 2024
9cb3ccd
feat: backcomp when not using -Z
jgabaut Oct 31, 2024
5743835
fix: echo_active_flags() correctly reports -C, -Y
jgabaut Oct 31, 2024
c94934c
chore: update CHANGELOG
jgabaut Oct 31, 2024
722f109
chore: only use HEAD when actually passing a tag
jgabaut Oct 31, 2024
01b597c
feat: refactor to add amboso_build_step()
jgabaut Nov 5, 2024
844ba04
feat: refactor to add amboso_delete_step()
jgabaut Nov 5, 2024
4d971f1
chore: drop build_fn.sh
jgabaut Nov 8, 2024
aaacdd1
feat: WIP anvilPy build support
jgabaut Nov 8, 2024
c8ddc1d
feat: add grepping main entry from pyproject.toml
jgabaut Nov 8, 2024
53d1871
chore: check grepping results
jgabaut Nov 8, 2024
43b56e1
feat: add anvilPy_git_restore() to handle switchback of gitmode builds
jgabaut Nov 8, 2024
422b1b4
chore: drop noisy log
jgabaut Nov 8, 2024
bd68ccc
chore: update good_vers.k output
jgabaut Nov 8, 2024
325ee02
chore: update bad_vers.k output
jgabaut Nov 8, 2024
7600f48
chore: add experimental warn for anvilPy usage
jgabaut Nov 8, 2024
3ab3be2
chore: pass stego_dir to anvilPy_build_step() to find pyproject.toml
jgabaut Nov 8, 2024
6e78386
feat: add min_amboso_v_morekern to refuse new kerns in backcomp
jgabaut Nov 8, 2024
9abd489
feat: set build_flag to 1 for interpreter no make
jgabaut Nov 8, 2024
714fa6c
feat: add min_amboso_v_anvilPy_kern to guard usage of anvilPy in back…
jgabaut Nov 8, 2024
62c1538
chore: move interpr_does_make update into proper branch
jgabaut Nov 8, 2024
9fb7344
chore: catch python -m build failures
jgabaut Nov 8, 2024
da31312
chore: spaces for main_entry grep
jgabaut Nov 9, 2024
a4bc4dd
feat: handle custom kern
jgabaut Nov 11, 2024
76cac4e
feat: handle git mode for custom kern
jgabaut Nov 11, 2024
d492d60
chore: pass target_d and bin_name separately
jgabaut Nov 15, 2024
6bdffe6
chore: add target_d init to custom_build_step()
jgabaut Nov 15, 2024
1caad3f
feat: custom script could move the bin itself
jgabaut Nov 20, 2024
09caa34
feat: check for disallowed chars in custom builder string
jgabaut Nov 25, 2024
1a9a29a
chore: version bump
jgabaut Nov 26, 2024
433fe08
chore: update CHANGELOG
jgabaut Nov 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [2.0.9] - 2024-11-26

### Added

- Add -Z to pass custom CFLAGS
- Avoids reading passed CFLAGS var
- Add 2.1.0 support from stego.lock
- Add rough support for anvilPy kern
- Add rough support for custom kern

### Changed

- Flags expecting an argument refuse args starting with -
- Pass AMBOSO_ALLOW_FLAGS_HYPHEN_ARG >0 to skip this check
- Try reading AMBOSO_CONFIG_ARG_ISFILE to use -C with flags directly
- Setting it to 0 enables the new, backwards incompatible behaviour
- Fix echo_active_flags() reporting -C incorrectly
- Try using HEAD when -G receives an invalid tag
- Refactor build, delete step to make init and purge iterative

## [2.0.8] - 2024-10-24

### Changed
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export SHELL=/bin/bash

VERSION="2.0.8"
ANVIL_C_HEADER_VERSION="2.0.8"
VERSION="2.0.9"
ANVIL_C_HEADER_VERSION="2.0.9"

ECHO_VERSION="./amboso"
RUN_VERSION := $(shell $(ECHO_VERSION) -qv)
Expand Down
4 changes: 2 additions & 2 deletions amboso
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ kernel_release="$(uname -r)"
kernel_version="$(uname -v)"
machine_name="$(uname -m)"
os_name="$(uname -o)"
amboso_currvers="2.0.8"
expected_AMBOSO_API_LVL="2.0.8"
amboso_currvers="2.0.9"
expected_AMBOSO_API_LVL="2.0.9"
amboso_testflag_version="2.0.3"
verbose_flag=0
tell_uname_flag=0
Expand Down
1,175 changes: 795 additions & 380 deletions amboso_fn.sh

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions kazoj/bone/good_vers.k.stdout
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[INFO] Using {amboso-C}
[QUERY] ( 1.0.0 ) binary not found in ( ./binv1.0.0 ).
2 changes: 1 addition & 1 deletion kazoj/bone/std_amboso_set.k.stdout
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[INFO] Using {2.0.3} version standard
2.0.8
2.0.9
2 changes: 1 addition & 1 deletion kazoj/bone/try_amboso_sourcing.k
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

expected_AMBOSO_API_LVL="2.0.8"
expected_AMBOSO_API_LVL="2.0.9"

verbose_flag=1
tell_uname_flag=0
Expand Down
2 changes: 1 addition & 1 deletion kazoj/bone/try_amboso_sourcing.k.stderr
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[PREP] Running with "$AMBOSO_API_LVL" [ 2.0.8 ]; min is { 2.0.8 }.
[PREP] Running with "$AMBOSO_API_LVL" [ 2.0.9 ]; min is { 2.0.9 }.
1 change: 1 addition & 0 deletions kazoj/kulpo/bad_vers.k.stdout
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[INFO] Using {amboso-C}
[ERROR] ( 69 ) is not a supported tag.

[ERROR] Run with -h for help.
Expand Down
1 change: 1 addition & 0 deletions stego.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ errortestsdir = "kulpo"
"2.0.6" = "Init subcommand uses passed dir basename"
"2.0.7" = "Handle long options, better help, earlier help flag handling, parse global config file, collect flag arg handling in functions, collect stego anvil_version and anvil_kern handling in functions"
"2.0.8" = "Fix realpath incompatibility with macos, refactor target_awk to be exported as AMBOSO_AWK_NAME"
"2.0.9" = "Use HEAD when -G receives an invalid tag"