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

Add a few simple non-POSIX bash'isms #8

Closed
pombredanne opened this issue Jun 29, 2021 · 6 comments
Closed

Add a few simple non-POSIX bash'isms #8

pombredanne opened this issue Jun 29, 2021 · 6 comments

Comments

@pombredanne
Copy link
Collaborator

Some common bash'ism (non-POSIX) include substrings such as ${foo:4:2} and replacement as in ${foo/bar/baz}
I have a PR in the works. Would you be open to include these?

@pombredanne
Copy link
Collaborator Author

I pushed #9 for your review

@kojiromike
Copy link
Owner

Thanks, awesome!

I've enabled the actions. I'll try to take a closer look at the code today.

@pombredanne
Copy link
Collaborator Author

pombredanne commented Jul 1, 2021

Thanks! And FWIW, this will be used to support aboutcode-org/purldb#307 and in particular aboutcode-org/purldb#307 but also in the future a lightweight parsing and eval of various shell-based package manifests beyond Alpine Linux (e.g. Arch, Gentoo, MSYS2 and also autotools and a few more)

@pombredanne
Copy link
Collaborator Author

Fixed with the merger of aboutcode-org/scancode.io#9

@kojiromike
Copy link
Owner

I haven't finished automating deployment to pypi, so I'll do a manual one at some point.

@kojiromike
Copy link
Owner

0.2.0 wheel and sdist are on pypi. Please let me know how they work for you.

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

No branches or pull requests

2 participants