-
Notifications
You must be signed in to change notification settings - Fork 427
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 Module: docker_build #103
Conversation
My idea would be to re-use the current modules. Inside the docker build, for each step it selects a random other module and runs it once. Would that be possible? |
Not all modules are suited for that but perhaps you can just use the same data set of the other modules and mesh 'em together to create someting believable. |
Hm dummer.. that would be a lot of duplicated code in that case. Are there modules which could be run once or would that require rewriting the app? |
It should be possible to call the cc module in the middle of another one. Try it, it likely just works as expected. |
Do you need any further mentoring to get this wrapped up? I think it's a really cool idea and I'd like it in. |
I did not have the time to look into it, but it's on my todo list. |
No worries, just checking. :)
…On Thu, Jan 23, 2020, 19:37 Kevin Woblick ***@***.***> wrote:
I did not have the time to look into it, but it's on my todo list.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#103?email_source=notifications&email_token=AAAANAGILQZH2J64MNCHBOLQ7HPWXA5CNFSM4JZ4AM52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJYMGMQ#issuecomment-577815346>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAANACZZ6IDZ5TLSIFN4QLQ7HPWXANCNFSM4JZ4AM5Q>
.
|
Took some time but finally manged to get this running. Used the implementation from the main.rs file. The command runs a random other module a single time, then chooses a new random one. Last needed: some command signatures for the modules. Thought about implementing them into the modules directly, like |
@Kovah Sorry for the loooong silence. I did a pretty major refactor of genact and everything is now much more modern, using wasm-bindgen and proper modularization. However, changes for modules themselves should be minimal. I kind of like the idea of command signatures as you suggest. They could we somewhat lightly generated and also serve for other modules. Their invocation doesn't need to make too much sense. Are you still interested in getting this merged? I certainly would like it! |
Sure, I till have a look at this later. |
Hey, did you have a chance to look at this? :) |
Will take a look later. Can you assign this issue to me? 🤔 |
Updated the module with the latest structure. It's working good so far. Before:
After:
|
There's a problem: The |
Hey, are you still interested in getting this merged? |
Absolutely, I just stopped working on it because of these weird CI errors. Couldn't get everything fixed. If you have an idea, please share it with me. |
It's fixed. Hoooray! 🥳 |
Very nice, will take a look soon! |
So I had a proper look and the output certainly is great and nice idea! I'll merge it as is as it took so long to get here but I'm wondering whether you're interested in doing some follow-up work as well. For instance, currently, the output is a little broken on the web version which should be easy to fix with a At any rate, good job. I'm happy we can finally get this in! |
This is currently WIP.
Managed to get everything working so far, the last thing missing is to properly print instructions. Pulling instructions from a list like all other data wouldn't be the problem, but I would also like to print generic output for instructions that run and are not cached.
Example:
should output something like
but I'm not sure how to implement this. Any ideas?
Also, hope the current code is not that horrifying. 😬