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

Try out OSH on Void Linux scripts #92

Open
andychu opened this Issue Mar 25, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@andychu
Contributor

andychu commented Mar 25, 2018

Thread that got me interested here: https://lobste.rs/s/8fd1pd/into_void_void_linux_description_review

Code: https://github.com/voidlinux/xbps

Since OSH 0.4 can run Alpine, Aboriginal, and Debian scripts, there's a good chance it can run Void scripts, or is within spitting distance of it.

@andychu

This comment has been minimized.

Show comment
Hide comment
@andychu

andychu Mar 25, 2018

Contributor

Actually I'm not sure where the source is, xbps has mostly C code, and this one is obsolete:

https://github.com/voidlinux/xbps-src

EDIT: It lives at the root here: https://github.com/voidlinux/void-packages

Only 800 lines.

Contributor

andychu commented Mar 25, 2018

Actually I'm not sure where the source is, xbps has mostly C code, and this one is obsolete:

https://github.com/voidlinux/xbps-src

EDIT: It lives at the root here: https://github.com/voidlinux/void-packages

Only 800 lines.

@maxice8

This comment has been minimized.

Show comment
Hide comment
@maxice8

maxice8 Mar 26, 2018

xbps-src is only 800 lines but in the process of building it sources various files in common/

$ tokei common
-------------------------------------------------------------------------------
 Language            Files        Lines         Code     Comments       Blanks
-------------------------------------------------------------------------------
 Shell                 154         6945         5311          751          883
-------------------------------------------------------------------------------
 Total                 154         6945         5311          751          883
-------------------------------------------------------------------------------

maxice8 commented Mar 26, 2018

xbps-src is only 800 lines but in the process of building it sources various files in common/

$ tokei common
-------------------------------------------------------------------------------
 Language            Files        Lines         Code     Comments       Blanks
-------------------------------------------------------------------------------
 Shell                 154         6945         5311          751          883
-------------------------------------------------------------------------------
 Total                 154         6945         5311          751          883
-------------------------------------------------------------------------------
@olamiko

This comment has been minimized.

Show comment
Hide comment
@olamiko

olamiko May 15, 2018

Hi, I can possibly do this if you point out the right way to me

olamiko commented May 15, 2018

Hi, I can possibly do this if you point out the right way to me

@andychu

This comment has been minimized.

Show comment
Hide comment
@andychu

andychu May 15, 2018

Contributor

Are you a Void Linux user? Presumably it uses bash, and you can rebuild Void Linux packages with bash.

If that's the case, then in theory you should be able to build Void Linux packages with OSH, and that's what I'm looking to test.

Somebody already built OSH on Void Linux, and apparently it works. (There is a conflict with the packaging system that prevents it from being packaged, but that shouldn't stop you from building and running it.)

Contributor

andychu commented May 15, 2018

Are you a Void Linux user? Presumably it uses bash, and you can rebuild Void Linux packages with bash.

If that's the case, then in theory you should be able to build Void Linux packages with OSH, and that's what I'm looking to test.

Somebody already built OSH on Void Linux, and apparently it works. (There is a conflict with the packaging system that prevents it from being packaged, but that shouldn't stop you from building and running it.)

@olamiko

This comment has been minimized.

Show comment
Hide comment
@olamiko

olamiko May 16, 2018

Oh, I thought it requires a bit of tweaking. Unfortunately, I am not a Void Linux user. I could help with other important issues if you can point out the most important

olamiko commented May 16, 2018

Oh, I thought it requires a bit of tweaking. Unfortunately, I am not a Void Linux user. I could help with other important issues if you can point out the most important

@andychu

This comment has been minimized.

Show comment
Hide comment
@andychu

andychu May 16, 2018

Contributor

Do you have any shell scripts you've written yourself or that you use often and know well? I would start by building OSH and running those scripts with it. Then let me know if it succeeds or fails.

You can post a message on #oil-discuss on oilshell.zulipchat.com, or file a new issue if there is a clear bug.

Thanks!

Contributor

andychu commented May 16, 2018

Do you have any shell scripts you've written yourself or that you use often and know well? I would start by building OSH and running those scripts with it. Then let me know if it succeeds or fails.

You can post a message on #oil-discuss on oilshell.zulipchat.com, or file a new issue if there is a clear bug.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment