Comments (1)
@eamelink
We can close this one IMO. In CMT 2.0, the tooling indeed generates a configuration file as part of the studentified repo.
It's a file named .cmt-config
located in the root folder of the studentified repo.
For example, for the Lunatech Quarkus course, this is the content of the configuration file generated by cmta
:
$ more .cmt-config
{
"active-exercise-folder" : "code",
"cmt-studentified-dont-touch" : [
"code/.idea",
"code/.bsp",
"code/.bloop",
"code/.vscode",
"code/.mvn",
"code/target",
"code/pom.xml"
],
"exercises" : [
"exercise_001_initial_state",
"exercise_002_a_qute_hello_world",
"exercise_003_qute_products",
"exercise_004_even_qute_products",
"exercise_005_products_from_the_database",
"exercise_006_CDI_and_ArC",
"exercise_007_Convert_endpoints_to_JSON",
"exercise_008_Adding_REST_data_Panache",
"exercise_009_Hook_up_the_React_app",
"exercise_010_Validation_and_PUT",
"exercise_011_Going_Reactive",
"exercise_012_Reactive_search_endpoint",
"exercise_013_Listen_and_Notify",
"exercise_014_Internal_Channels",
"exercise_015_Connecting_to_Kafka",
"exercise_016_Dead_Letter_Queue_and_Stream_filtering"
],
"read-me-files" : [
"README.md",
"EXERCISES.md"
],
"studentified-repo-solutions-folder" : ".cue",
"studentified-saved-states-folder" : ".savedStates",
"test-code-folders" : [
"src/test"
]
}
An advantage of this approach is that in "emergency situations", the config file can be patched up in place (imagine for example that a student uses an IDE that wasn't taken into account when the studentified artefact was created and that this IDE creates some IDE metadata folder. The student can then add the folder to the cmt.cmt-studentified-dont-touch
setting.
from course-management-tools.
Related Issues (20)
- Versioning HOT 1
- Installing Courses HOT 3
- Reporting
- Publishing
- CI: Check for license header
- Add the ability to control what [part of] the solution is added to a studentified repo
- cmta command for creating a new course repo
- Unify pulling tests & folders when moving between exercises
- Check for modified test code when moving between exercises HOT 1
- Move all configuration related files in a studentified repo to a single location HOT 1
- goto-exercise command should check if one is already at passed-in exercise
- cmta and cmtc commands should report an error when an undefined option is passed in
- Consider using dirs-dev HOT 2
- Is the `code` directory necessary? HOT 1
- No auto completion when pressing tab
- Better explain `-help` flag on how to display available flags HOT 1
- cmta install - a few loose ends
- cmta new and cmtc install requirements HOT 4
- Unexpected error requirement failed: Source file x is a directory HOT 4
- Cannot install course from zip file (or from Github repo) on Ubuntu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from course-management-tools.