Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coursebox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tuhe
coursebox
Compare revisions
47e544f39ea04a5f82e9d153ffd8bd57a6f553e9 to f67bd98cecabf7841281ee10eb02381cecdfae0d
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
tuhe/coursebox
Select target project
No results found
f67bd98cecabf7841281ee10eb02381cecdfae0d
Select Git revision
Branches
devel
main
2 results
Swap
Target
tuhe/coursebox
Select target project
tuhe/coursebox
1 result
47e544f39ea04a5f82e9d153ffd8bd57a6f553e9
Select Git revision
Branches
devel
main
2 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source
2
udpates
· dbafd8f2
tuhe
authored
Jul 12, 2024
dbafd8f2
fixing problems
· f67bd98c
tuhe
authored
Jul 12, 2024
f67bd98c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.py
+4
-0
4 additions, 0 deletions
setup.py
src/coursebox/material/documentation.py
+1
-0
1 addition, 0 deletions
src/coursebox/material/documentation.py
src/coursebox/student_files/student_files.py
+9
-0
9 additions, 0 deletions
src/coursebox/student_files/student_files.py
with
14 additions
and
0 deletions
setup.py
View file @
f67bd98c
...
...
@@ -13,7 +13,11 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools
.
setup
(
name
=
"
coursebox
"
,
<<<<<<<
HEAD
version
=
"
0.1.20.2
"
,
=======
version
=
"
0.1.20.3
"
,
>>>>>>>
47e544
f39ea04a5f82e9d153ffd8bd57a6f553e9
author
=
"
Tue Herlau
"
,
author_email
=
"
tuhe@dtu.dk
"
,
description
=
"
A course management system currently used at DTU
"
,
...
...
This diff is collapsed.
Click to expand it.
src/coursebox/material/documentation.py
View file @
f67bd98c
...
...
@@ -92,6 +92,7 @@ def build_sphinx_documentation(cut_files=False, open_browser=True, build_and_cop
x
[
k
][
'
files
'
]
=
files
# print(">>> k class is: ")
# print(info_paths.core_conf['projects_all'][k])
f
=
info_paths
.
core_conf
[
'
projects_all
'
][
k
][
'
class
'
].
mfile
()
with
open
(
f
.
split
(
"
_grade.py
"
)[
0
],
'
r
'
)
as
ff
:
l
=
[
l
for
l
in
ff
.
read
().
splitlines
()
if
"
(Report)
"
in
l
].
pop
().
split
(
"
(
"
)[
0
].
split
(
"
"
)[
-
1
]
...
...
This diff is collapsed.
Click to expand it.
src/coursebox/student_files/student_files.py
View file @
f67bd98c
...
...
@@ -33,11 +33,20 @@ def setup_student_files(run_files=True,
from
coursebox.core.info
import
class_information
# info = class_information()
from
coursebox.core.info
import
core_conf
<<<<<<<
HEAD
try
:
PACKAGE
=
list
(
core_conf
[
'
projects_all
'
].
values
()).
pop
()[
'
module_public
'
].
split
(
"
.
"
)[
0
]
except
Exception
as
e
:
PACKAGE
=
core_conf
[
'
package
'
]
=======
# if 'package' not in core_conf:
if
len
(
core_conf
[
'
projects_all
'
])
>
0
:
PACKAGE
=
list
(
core_conf
[
'
projects_all
'
].
values
()).
pop
()[
'
module_public
'
].
split
(
"
.
"
)[
0
]
else
:
PACKAGE
=
list
(
core_conf
[
'
weeks_all
'
].
values
()).
pop
()[
'
module_public
'
].
split
(
"
.
"
)[
0
]
>>>>>>>
47e544
f39ea04a5f82e9d153ffd8bd57a6f553e9
if
censor_files
:
assert
not
run_files
,
"
You cannot run files while you are censoring them -- your scripts will crash. Call with run_files=False.
"
...
...
This diff is collapsed.
Click to expand it.