Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
f232ff9
labs: add lab infrastructure and documentation
tavip Jun 30, 2017
cc3525c
labs: add kernel modules lab
tavip Jun 30, 2017
e80133f
labs: add kernel api lab
tavip Jun 30, 2017
a9e47bc
labs: add device drivers lab
tavip Jun 30, 2017
9983afd
labs: add I/O access and interrupts lab
tavip Jun 30, 2017
e4a004e
labs: add deferred work lab
tavip Jun 30, 2017
86d4a8f
labs: add memory mapping lab
tavip Jun 30, 2017
f08b9e4
labs: add device model lab
tavip Jun 30, 2017
605d223
labs: add lab infrastructure and documentation
tavip Jun 30, 2017
cda9ea5
labs: add kernel modules lab
tavip Jun 30, 2017
6c98f7c
labs: add kernel api lab
tavip Jun 30, 2017
c8f2815
labs: add device drivers lab
tavip Jun 30, 2017
ce41d39
labs: add I/O access and interrupts lab
tavip Jun 30, 2017
e59056d
labs: add deferred work lab
tavip Jun 30, 2017
4c5580e
labs: add memory mapping lab
tavip Jun 30, 2017
dd1229f
labs: add device model lab
tavip Jun 30, 2017
bdc7674
Merge pull request #4 from dbaluta/kernel-labs-v4.15
dbaluta Feb 11, 2018
ac75ef3
Documentation: move from labs to teaching/labs
tavip Feb 20, 2018
fbfab0e
Documentation: add support for slides
tavip May 30, 2017
0f59b21
tools: labs: build slides
tavip Feb 20, 2018
58e2976
Documentation: add ditaa sphinx directive
tavip Feb 20, 2018
5f89d7b
Documentation: sphinx: ditaa: fix relative image names
tavip Feb 20, 2018
8002421
tools: labs: add requirements.txt
tavip Feb 20, 2018
ca5465b
Documentation: teaching: add intro lecture
tavip Feb 20, 2018
414c483
Merge pull request #5 from tavip/lklabs-lectures-intro
tavip Feb 20, 2018
10cf683
.circleci: add initial build configuration
tavip Feb 21, 2018
3cb002d
Merge pull request #6 from tavip/lktp-ci
tavip Feb 22, 2018
77def8f
Documentation: fix common substitutions
tavip Feb 23, 2018
24cfdef
Merge pull request #8 from tavip/lktp-3
tavip Feb 24, 2018
77180a9
labs: add introduction lab
andanicolae Feb 25, 2018
e8ca6da
Merge pull request #10 from andanicolae/lab1-introduction-docs
tavip Feb 25, 2018
a16e12f
Documentation: teaching: convert TABS to spaces in ditaa directives
tavip Feb 24, 2018
f9e2546
hello_assignment: move sources from elf repo and configure build
alexandrasandulescu Feb 26, 2018
e38813b
hello_assignment: checker asks for module path
alexandrasandulescu Feb 26, 2018
d5010c7
hello_assignment: remove unnecessary files; fix coding style
alexandrasandulescu Feb 26, 2018
1c39ca7
Documentation: teaching: intro lecture: fix list unindent
tavip Feb 27, 2018
8a4b0a4
Documentation: conf.py: use add_stylesheet instead of html_context
tavip Feb 26, 2018
9260360
Documentation: add asciicast directive
tavip Feb 26, 2018
4cdab6d
Documentation: ditaa: stop on errors
tavip Feb 26, 2018
3689baa
Documentation: teaching: conf.py: add non breakable space substitution
tavip Feb 27, 2018
0f38c30
tools: labs: install gdb scripts
tavip Feb 27, 2018
b277d87
Corrected minor typos in intro lecture
alex-mocanu Feb 27, 2018
aa64318
Corrected formulation in intro lecture
alex-mocanu Feb 27, 2018
bdb7300
Documentation: teaching: add system calls lecture
tavip Feb 27, 2018
d49ac51
Merge pull request #14 from alex-mocanu/master
tavip Feb 27, 2018
1c634de
Merge pull request #13 from tavip/lktp-syscalls
tavip Feb 27, 2018
be0e9d8
Documentation: teaching: syscall lecture: fix slide to fit
tavip Feb 27, 2018
11584a0
Merge pull request #15 from tavip/lktp-syscalls-fixes
tavip Feb 27, 2018
0b2c9ac
Documentation: teaching: lectures: intro.rst: Corrected minor typos
rbaronescu Feb 27, 2018
55d91c1
Merge pull request #16 from rbaronescu/master
tavip Feb 27, 2018
9621a92
Merge pull request #11 from alexandrasandulescu/hello
tavip Feb 28, 2018
c28ef35
assignment: kernel-api: Add initial list skeleton file
dbaluta Mar 1, 2018
7b77a3d
assignment: kernel-api: Add checker
dbaluta Mar 1, 2018
bf831fd
Merge pull request #18 from dbaluta/master
tavip Mar 2, 2018
0c157a7
lab 02 nitpicking and broken links fix
andanicolae Mar 4, 2018
8ccd1c0
labs: kernel_modules: Add dyndbg exercise
valighita Mar 4, 2018
24e8f4a
Add cscope COMPILE_SOURCE paragraph
sergiu121 Mar 2, 2018
5955a65
Fix typos in intro lecture
sergiu121 Mar 2, 2018
3e37246
Fix typos in syscalls lecture
sergiu121 Mar 2, 2018
e23b879
Merge pull request #19 from Sergiu121/master
dbaluta Mar 4, 2018
28eabf8
Merge pull request #21 from valx90/lab02-add-missing-dyndbg-skel-dir
dbaluta Mar 5, 2018
a47f8fb
Merge pull request #20 from andanicolae/lab02-kernel-modules
dbaluta Mar 5, 2018
0f9c0c5
Documentation: teaching: lectures: syscalls.rst: Corrected minor typos
rbaronescu Mar 5, 2018
815b8cb
Merge pull request #25 from rbaronescu/master
dbaluta Mar 6, 2018
2b3cbe9
Corect typos
ramele1907 Mar 6, 2018
6d1bf51
Merge branch 'master' of https://github.com/ramele1907/linux
ramele1907 Mar 6, 2018
babf653
lab03: kernel_api: update exercises requirements
andanicolae Mar 6, 2018
b00025c
Merge pull request #26 from ramele1907/master
dbaluta Mar 7, 2018
70d5636
lab03: kernel_api: fixes
andanicolae Mar 10, 2018
bd169a7
Merge pull request #28 from andanicolae/lab03-update-exercises
dbaluta Mar 11, 2018
cfffb16
Documentation: lectures: Add draft 'Interrupts' lecture
dbaluta Mar 10, 2018
ed8e26a
Merge pull request #30 from dbaluta/master
dbaluta Mar 13, 2018
7568811
lab04: exercises: Fix TODO numbers.
valighita Mar 13, 2018
ed00a31
Merge pull request #33 from valx90/lab04-fix-wrong-todo-numbers
dbaluta Mar 13, 2018
2e95ab8
tracer_assignment: add checker and tracer skel
alexandrasandulescu Mar 15, 2018
0865b29
Merge pull request #34 from alexandrasandulescu/tracer-assignment
dbaluta Mar 16, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
version: 2
general:
artifacts:

jobs:
build:
docker:
- image: lktp/publish:0.2
environment:
[email protected]:linux-kernel-labs/linux-kernel-labs.github.io.git
steps:
- restore_cache:
key: code-tree-shallow
- run:
name: checkout
command: |
set -x
mkdir -p ~/.ssh/
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
git config --global user.email "[email protected]"
git config --global user.name "Circle CI"
if ! [ -d linux ]; then
git clone --depth=1 $CIRCLE_REPOSITORY_URL;
fi
if cd linux; then
if [[ $CIRCLE_BRANCH == pull/* ]]; then
git fetch --depth=1 origin $CIRCLE_BRANCH/head;
else
git fetch --depth=1 origin $CIRCLE_BRANCH;
fi
git reset --hard $CIRCLE_SHA1
cd ..
fi
if ! [ -d linux-kernel-labs.github.io ]; then
git clone --depth=1 $GITHUB_IO
fi
if cd linux-kernel-labs.github.io; then
git fetch --depth=1 origin master
git reset --hard origin/master
cd ..
fi
- save_cache:
key: code-tree-shallow-{{ epoch }}
paths:
- /home/ubuntu/project/linux/.git
- /home/ubuntu/project/linux-kernel-labs.github.io/.git
- run:
name: build
command: |
rm -rf linux/Documentation/output
cd linux/tools/labs && make docs
- add_ssh_keys:
fingerprints:
"8e:db:3c:ef:d0:4e:84:9f:78:46:e9:2f:1a:1e:32:81"
- run:
name: publish
command: |
set -x
if cd linux-kernel-labs.github.io; then
rm -rf $CIRCLE_BRANCH
mkdir -p $CIRCLE_BRANCH
cp -r ../linux/Documentation/output/teaching/* $CIRCLE_BRANCH/
git add $CIRCLE_BRANCH/
git commit --allow-empty -m "Publish $CIRCLE_BRANCH (built from ${CIRCLE_PULL_REQUEST:-$CIRCLE_BRANCH})"
git push
export GITHUB_SHA=$CIRCLE_SHA1
export GITHUB_USER=linux-kernel-labs
export GITHUB_REPO=$CIRCLE_PROJECT_REPONAME
export GITHUB_CONTEXT="ci/circleci: publish"
export GITHUB_TARGET_URL="http://linux-kernel-labs.github.io/$CIRCLE_BRANCH"
export GITHUB_DESCRIPTION="published at $GITHUB_TARGET_URL"
github-status-reporter --state success --debug
cd ..
fi

workflows:
version: 2
build:
jobs:
- build
3 changes: 3 additions & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ quiet_cmd_sphinx = SPHINX $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
htmldocs:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,html,$(var),,$(var)))

slides:
@+$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,slides,$(var),,$(var)))

linkcheckdocs:
@$(foreach var,$(SPHINXDIRS),$(call loop_cmd,sphinx,linkcheck,$(var),,$(var)))

Expand Down
21 changes: 16 additions & 5 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
import sys
import os
import sphinx
import subprocess

from distutils.version import LooseVersion

# Get Sphinx version
major, minor, patch = sphinx.version_info[:3]
Expand Down Expand Up @@ -42,6 +45,16 @@
else:
extensions.append("sphinx.ext.pngmath")

try:
hglyph_ver = subprocess.check_output(["hieroglyph", "--version"])
if LooseVersion(hglyph_ver) > LooseVersion("1.0.0"):
extensions.append('hieroglyph')
except:
None

extensions.append("ditaa")
extensions.append("asciicast")

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down Expand Up @@ -184,11 +197,9 @@

html_static_path = ['sphinx-static']

html_context = {
'css_files': [
'_static/theme_overrides.css',
],
}
def setup(app):
app.add_stylesheet('theme_overrides.css')


# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
1 change: 1 addition & 0 deletions Documentation/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ epub: all
xml: all
latex: $(IMGPDF) all
linkcheck:
slides: all

clean:
-rm -f $(DOTTGT) $(IMGTGT) ${TARGETS} 2>/dev/null
Expand Down
Loading