Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit bea17a3

Browse files
authored
Update README/add source for illustrations (#101)
* Update README/add source for illustrations * Update license info
1 parent ae01b7b commit bea17a3

File tree

21 files changed

+33
-48
lines changed

21 files changed

+33
-48
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Apache License
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright © 2016-2019 Lightbend Inc.
189+
Copyright © 2020-2023 Lunatech Labs
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2016-2019 Lightbend Inc.
1+
Copyright 2020-2023 Lunatech Labs
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This repository is structured in such a way that it can be transformed into two
2323

2424
- A _studentified_ repository: this is a standalone sbt project which is typically used for teaching or learning purposes. A user of this repository will be working on one exercise at any one point in time and will be able to use a number of commands via the `cmtc` cli:
2525

26+
- `cmtc set-course-root`: Sets the location of the current course as the default location for subsequent cmtc command invocations.
2627
- `cmtc list-exercises`: will print a list of all available exercises. The current exercise is marked with a **_*_**.
2728
- `cmtc next-exercise`: move to the next exercise and pull in the tests (if any) and exercise instructions for that exercise. This command preserves the current state of the application leaving any code added or changed by the student unmodified.
2829
- `cmtc previous-exercise`: the opposite of the `next-exercise` command.
@@ -47,9 +48,9 @@ This repository is structured in such a way that it can be transformed into two
4748
repo by a process of `delinearization`
4849
- _There is a second use case for a linearized repo: it can can be used to inspect the differences between consecutive exercises (using a tools such as `SourceTree` or `GitKraken`)_
4950

50-
_Studentification_, _linearization_, and _delinearization_ as well as some administrative tasks (such as renumbering exercises), is done using the so-called [Course Management Tools](https://github.com/lightbend/course-management-tools).
51+
_Studentification_, _linearization_, and _delinearization_ as well as some administrative tasks (such as renumbering exercises), is done using the so-called [Course Management Tools](https://github.com/lunatech-labs/course-management-tools).
5152

52-
In the following sections, we'll explain `studentify`, `linearize` and `delinearize` commands.
53+
In the following sections, we'll explain how to `studentify` this course.
5354

5455
### How to _"studentify"_ a master repository
5556

exercises/exercise_000_sudoku_solver_initial_state/src/main/scala/org/lunatechlabs/dotty/SudokuSolverMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2016-2020 Lightbend, Inc.
2+
* Copyright © 2020-2023 Lunatech Labs.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
*
1414
* NO COMMERCIAL SUPPORT OR ANY OTHER FORM OF SUPPORT IS OFFERED ON
15-
* THIS SOFTWARE BY LIGHTBEND, Inc.
15+
* THIS SOFTWARE BY Lunatech Labs.
1616
*
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.

exercises/exercise_001_dotty_deprecated_syntax_rewriting/src/main/scala/org/lunatechlabs/dotty/SudokuSolverMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2016-2020 Lightbend, Inc.
2+
* Copyright © 2020-2023 Lunatech Labs.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
*
1414
* NO COMMERCIAL SUPPORT OR ANY OTHER FORM OF SUPPORT IS OFFERED ON
15-
* THIS SOFTWARE BY LIGHTBEND, Inc.
15+
* THIS SOFTWARE BY Lunatech Labs.
1616
*
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.

exercises/exercise_001_dotty_deprecated_syntax_rewriting/src/test/resources/logback-test.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,12 @@
99
</encoder>
1010
</appender>
1111

12-
<appender name="file" class="ch.qos.logback.core.FileAppender">
13-
<file>${coffee-house.log-file:-coffee-house.log}</file>
14-
<encoder>
15-
<pattern>%date{HH:mm:ss} %-5level [%X{akkaSource}] - %msg%n</pattern>
16-
</encoder>
17-
</appender>
18-
19-
<logger name="akka" level="ERROR" />
20-
21-
<logger name="com.lightbend.training.coffeehouse" level="warn" additivity="false">
22-
<appender-ref ref="console"/>
23-
<appender-ref ref="file"/>
24-
</logger>
25-
2612
<logger name="akka.actor.RepointableActorRef" level="warn" additivity="false">
2713
<appender-ref ref="console"/>
28-
<appender-ref ref="file"/>
2914
</logger>
3015

3116
<root level="warn">
3217
<appender-ref ref="console"/>
33-
<appender-ref ref="file"/>
3418
</root>
3519

3620
</configuration>

exercises/exercise_002_dotty_new_syntax_and_indentation_based_syntax/src/main/scala/org/lunatechlabs/dotty/SudokuSolverMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2016-2020 Lightbend, Inc.
2+
* Copyright © 2020-2023 Lunatech Labs.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
*
1414
* NO COMMERCIAL SUPPORT OR ANY OTHER FORM OF SUPPORT IS OFFERED ON
15-
* THIS SOFTWARE BY LIGHTBEND, Inc.
15+
* THIS SOFTWARE BY Lunatech Labs.
1616
*
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.

exercises/exercise_003_top_level_definitions/src/main/scala/org/lunatechlabs/dotty/SudokuSolverMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2016-2020 Lightbend, Inc.
2+
* Copyright © 2020-2023 Lunatech Labs.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
*
1414
* NO COMMERCIAL SUPPORT OR ANY OTHER FORM OF SUPPORT IS OFFERED ON
15-
* THIS SOFTWARE BY LIGHTBEND, Inc.
15+
* THIS SOFTWARE BY Lunatech Labs.
1616
*
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.

exercises/exercise_004_parameter_untupling/src/main/scala/org/lunatechlabs/dotty/SudokuSolverMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2016-2020 Lightbend, Inc.
2+
* Copyright © 2020-2023 Lunatech Labs.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
*
1414
* NO COMMERCIAL SUPPORT OR ANY OTHER FORM OF SUPPORT IS OFFERED ON
15-
* THIS SOFTWARE BY LIGHTBEND, Inc.
15+
* THIS SOFTWARE BY Lunatech Labs.
1616
*
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.

exercises/exercise_005_extension_methods/src/main/scala/org/lunatechlabs/dotty/SudokuSolverMain.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright © 2016-2020 Lightbend, Inc.
2+
* Copyright © 2020-2023 Lunatech Labs.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
*
1414
* NO COMMERCIAL SUPPORT OR ANY OTHER FORM OF SUPPORT IS OFFERED ON
15-
* THIS SOFTWARE BY LIGHTBEND, Inc.
15+
* THIS SOFTWARE BY Lunatech Labs.
1616
*
1717
* See the License for the specific language governing permissions and
1818
* limitations under the License.

0 commit comments

Comments
 (0)