-
Notifications
You must be signed in to change notification settings - Fork 40
Add Makefile, configuration files and scripts #19
Add Makefile, configuration files and scripts #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @StefanJum. See my comments.
82bf8b9
to
5a2b7db
Compare
Done @razvand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a .gitignore
file. Probably as a new commit.
@razvand added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Razvan Deaconescu razvand@unikraft.io
Approved-by: Razvan Deaconescu razvand@unikraft.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion, we should not be adding .config*
files to the repository additional scripts on the top-level (at least, in the state that they are in: they should have relative data (e.g. user paths) and unset
attributes removed.) Additionally, the tutorial contains the same information as the scripts, these should be removed. Finally, and most importantly, kraft
was entirely removed from the README. In my opinion this is a mistake. We are aiming to make KraftKit the first-class and go-to-choice for using and building Unikraft. The README should start with this, and progress with "for advanced, or first-principle usage"
What
Yes, we can do that after If people will see |
Hi @StefanJum,
The new scripts
No. We must direct people to KraftKit regardless of the state of the documentation (which I am working on full-time now). Thi README is part of the same documentation and waiting for one piece elsewhere is not the right approach. We should update all relevant documents to usage with KraftKit. Finally, there are admittedly bugs in KraftKit, like there are with Unikraft itself. This document only serves one persona and does not help us in getting valuable bug reports and user experience stories with KraftKit. Redirecting people away will not benefit us, short-, mid- or long-term. Finally, the relevant USoC channels should contain information about how to get started, in the USoC website and on Discord, outside of this README. This README should not be tailored for USoC. |
Then what do you mean by
I highly doubt that newcomers will start using a new project / tool / whatever (being that
|
@nderjung, this is easier for everyone. Once KraftKit comes about, we'll just update the README. We can also make plenty of updates such as moving the documentation for each app in centralized repository, and provide extensive instructions and improve things. But that's not immediate. We simply make it work now and update it later. Good now is better than perfect sometime later. We can make it perfect at a later time. As long as nothing breaks (and it doesn't) there is no problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the preamble (see below) at the start of the README and:
- Remove the
run-qemu-aarch64
andrun-qemu-x86_64
scripts, adjust the README to include what they include. No need to dirty the repo with scripts that contain 1-liners; - Remove all
# XXX is not set
config options; - Remove the attributes
CONFIG_UK_BASE
andCONFIG_UK_APP
as they contain your personal directories and they are overwritten by Unikraft's build system; - Remove
CONFIG_UK_FULLVERSION
andCONFIG_UK_CODENAME
options, these are also overwritten; - Rename
config-qemu-aarch64
to.config.helloworld_qemu-arm64
- Rename
config-qemu-x86_64
to.config.helloworld_qemu-x86_64
Ignore files and folders that are output from the set up, configure, build or run steps. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
656e39d
to
3983089
Compare
3983089
to
83c1e91
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@StefanJum, see my comments.
83c1e91
to
3f64ed7
Compare
Check again @razvand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a suggestion.
3f64ed7
to
84560f1
Compare
Done @razvand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some other comments.
84560f1
to
802abe6
Compare
Done |
802abe6
to
8e3ddae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @StefanJum.
Reviewed-by: Razvan Deaconescu razvand@unikraft.io
Approved-by: Razvan Deaconescu razvand@unikraft.io
Thank you for incorporating the changes @StefanJum :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments, @StefanJum
8e3ddae
to
92cf611
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some other minor comments.
Update the README with instructions on setting up, configuring, building and running the helloworld app with Unikraft. As part of it, add Makefile files, configuration files and scripts; they are referenced in the `README.md` file. Current instructions cover the use of QEMU/KVM platform (both on x86_64 and on AArch64) and GCC. Firecraker/KVM, Xen, Linux platforms and Clang are not yet documented. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
92cf611
to
e9dbe55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Razvan Deaconescu razvand@unikraft.io
Approved-by: Razvan Deaconescu razvand@unikraft.io
Update the README with instructions on setting up, configuring, building and running the helloworld app with Unikraft. As part of it, add Makefile files, configuration files and scripts; they are referenced in the `README.md` file. Current instructions cover the use of QEMU/KVM platform (both on x86_64 and on AArch64) and GCC. Firecraker/KVM, Xen, Linux platforms and Clang are not yet documented. Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com> Reviewed-by: Razvan Deaconescu <razvand@unikraft.io> Approved-by: Razvan Deaconescu <razvand@unikraft.io> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Closes: #19
Update the README with instructions on setting up, configuring, building and running the helloworld app with Unikraft. As part of it, add Makefile files, configuration files and scripts; they are referenced in the
README.md
file.Current instructions cover the use of QEMU/KVM platform (both on x86_64 and on AArch64) and GCC. Firecraker/KVM, Xen, Linux platforms and Clang are not yet documented.