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

New PaSh version #735

Merged
merged 39 commits into from
Nov 19, 2024
Merged

New PaSh version #735

merged 39 commits into from
Nov 19, 2024

Conversation

angelhof
Copy link
Member

No description provided.

angelhof and others added 30 commits May 31, 2023 15:33
Move another module to the expansion library
Support speculative unsafe commands (like break and continue)
[Renewed] Refactor preprocessor architecture to enhance extensibility
Signed-off-by: Forthoney <[email protected]>
initialize libdash only on first call
Add black formatter to future branch
Pin pash-annotations version
Merge pull request #705 from binpash/main-pin
Make parallel_pipelines default, with a limit
Forthoney and others added 9 commits December 17, 2023 10:06
Move all ArgParser variants to single cli.py module
Remove lists as default arguments in functions
* refact branch rebase off of future; introduce custom error (UnparallelizableError and AdjLineNoteImplemented Error) caught before general errors, introduce custom error to ast_to_ir and ir in compiler at appropriate places with more detail error messages

Signed-off-by: YUUU23 <[email protected]>

* refactor: import custom error to ast_to_ir, raise unparallelizable err in pash_compiler

Signed-off-by: YUUU23 <[email protected]>

* refactor: put all expansion custom error from the sh_expand library (expand.py file) under one ExpansionError class in custom_error to catch and log these errors separately

Signed-off-by: YUUU23 <[email protected]>

* fix: remove duplicated ExpansionError in excepts (compile_ir)

Signed-off-by: YUUU23 <[email protected]>

* refactor: import ExpansionError (ExpansionError class initiated within expand package

Signed-off-by: YUUU23 <[email protected]>

* delete: remove expand.py changes as it will be changed in the original package

Signed-off-by: YUUU23 <[email protected]>

* fix: import expansion error

Signed-off-by: YUUU23 <[email protected]>

---------

Signed-off-by: YUUU23 <[email protected]>
#722)

* feat: --assert_all_regions_parallelizable flag that has the same function as old assert_compiler_success flag; new assert_compiler_success flag now will not exit with error when regions are unparallelizable and exit with error when general exceptions are caught

Signed-off-by: YUUU23 <[email protected]>

* update flag description, variable name, more specific respose

Signed-off-by: YUUU23 <[email protected]>

---------

Signed-off-by: YUUU23 <[email protected]>
* Add passing bash version to read_vars_file

Signed-off-by: Bolun Thompson <[email protected]>

* Add reading bash version in pa.sh, not in python

Signed-off-by: Bolun Thompson <[email protected]>

---------

Signed-off-by: Bolun Thompson <[email protected]>
* Fix: when compiler uses IFS, set it to default

Signed-off-by: Bolun Thompson <[email protected]>

* fix: remove local path from test

Signed-off-by: Bolun Thompson <[email protected]>

---------

Signed-off-by: Bolun Thompson <[email protected]>
Co-authored-by: Bolun Thompson <[email protected]>
@angelhof angelhof marked this pull request as ready for review November 19, 2024 00:41
Copy link

OS =
CPU =
Ram =
Hash = 00a5017
Kernel=
||
|-|-|-|-|-|-|-|-|-|

Copy link

OS:ubuntu-20.04
Tue Nov 19 00:44:16 UTC 2024
intro: 2/2 tests passed.
interface: 42/42 tests passed.
compiler: 54/54 tests passed.

@angelhof angelhof merged commit 0d0a563 into main Nov 19, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants