-
Notifications
You must be signed in to change notification settings - Fork 52
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 IO to OpenEducation methodology #75
base: main
Are you sure you want to change the base?
Conversation
a351b9b
to
d84d43a
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.
Check my comments to see some easy first fixes and also why the build fails. Then when it passes I'll make a more in-depth review.
- Move the task descriptions from the
reading/
files to each task'sREADME.md
- Remove references to the common makefiles (
.../common/makefile/*.mk
). Copy their content to each makefile that includes them so the tasks don't depend on outside resources.
chapters/io/client-server-model/drills/tasks/client-server/README.md
Outdated
Show resolved
Hide resolved
chapters/io/io-internals/drills/tasks/buffering/support/libc_buffering.c
Outdated
Show resolved
Hide resolved
chapters/io/io-internals/drills/tasks/buffering/support/printf_buffering.c
Outdated
Show resolved
Hide resolved
chapters/io/io-internals/drills/tasks/buffering/support/no_buffering.c
Outdated
Show resolved
Hide resolved
chapters/io/local-io-in-action/drills/tasks/simple-file-operations/support/Makefile
Outdated
Show resolved
Hide resolved
chapters/io/pipes/drills/tasks/receive-challenges/support/Makefile
Outdated
Show resolved
Hide resolved
d84d43a
to
18a5278
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.
The build fails because chapters/io/arena/drills/tasks/mini-shell/
is missing its support/
folder which causes the Makefile symlink to point to an invalid path.
chapters/io/file-mappings/drills/tasks/file-mappings/support/benchmark_cp.sh
Outdated
Show resolved
Hide resolved
chapters/io/remote-io/drills/tasks/receive-challenges/support/Makefile
Outdated
Show resolved
Hide resolved
chapters/io/remote-io/drills/tasks/send-receive/support/receiver.py
Outdated
Show resolved
Hide resolved
18a5278
to
d5907ce
Compare
Published at https://cs-pub-ro.github.io/operating-systems/75/ |
@razvand, since I also made changes to the content itself, I think you should also review this. |
5fd9558
to
7e8cb71
Compare
af7d673
to
965059c
Compare
965059c
to
c0a25c0
Compare
Published at https://cs-pub-ro.github.io/operating-systems/75/ |
Tasks and guides are stored in tasks/<task>/README.md, but are referenced as <task.md> for simplicity. This commit accounts for this when solving links. Signed-off-by: Alex Apostolescu <[email protected]>
Previously, only links from labs were rerouted. This commit updates the links from all file types, namely: guides, tasks, questions, reading, and media. Signed-off-by: Alex Apostolescu <[email protected]>
Questons are media files are placed in directories on their own, on the same level. This commit accounts for this when generating the .view files, and prepends '../' to media links in question files. Signed-off-by: Alex Apostolescu <[email protected]>
Using greedy regexes collapses consecutive links when solving them e.g. [a](b) [c](d) gets collapsed to [a](d). This commits prevents this using non-greedy regexes. Signed-off-by: Alex Apostolescu <[email protected]>
Show links that do not match expected patterns after solving references. Signed-off-by: Alex Apostolescu <[email protected]>
This commit restructures the IO chapter according to OpenEdu methodology. This comprises of: - refactoring and changing the order of chapters - generating support files from solution - breaking arena into smaller sections - fixing Makefiles from tasks to be self-contained Signed-off-by: Mihnea Firoiu <[email protected]> Signed-off-by: Alex Apostolescu <[email protected]> solve checkpatch
c0a25c0
to
531f0a8
Compare
Prerequisite Checklist
Description of changes
Align the IO course to the OpenEdu methodology.
Change the content of laboratories and change the "storyline" to:
Besides these, in
quides/
you can find adjacent topics not mandatory to finish the labs, such asfile-descriptor table and open file table
,file-mappings
,kernel caching
, andsendfile benchmarking
.