Lesson plan
For fifteen participants at most, each in their own terminal. Two trainers make it easier: one shows on the screen, the other walks around the room.
| Time | Block | Participants | Trainer | Checkpoint |
|---|---|---|---|---|
| 0:00 – 0:15 | Install madbot-cli | Install madbot-cli, create their token, set MADBOT_API and MADBOT_TOKEN |
Displays the address of the site; insists on api., not app. |
madbot-cli version gives the version of madbot |
| 0:15 – 0:25 | Explore the instance | Read plugins, then plugins zenodo and plugins recherche_data_gouv |
Explains source and repository, shared parameters, credentials and settings | The block to paste of Recherche Data Gouv |
| 0:25 – 0:45 | Connect the source | Write depot.yaml, search the DOI, open the record, name three files |
Shows the file on the screen; reminds to use the identifier 24343971 rather than the DOI in the file |
browse shows the four files |
| 0:45 – 1:00 | Plan and apply | plan, apply, then plan again |
Explains + ~ = !, and that apply never deletes anything |
“Nothing to do” |
| 1:00 – 1:25 | Describe the submission | Give their token of the demo, add the submission, read fields, fill three fields |
Shows what madbot already filled; shows field on Data type |
plan announces three values, without errors |
| 1:25 – 1:40 | Submit | Check the url of the demo, apply --submit, status, open the deposit |
Has the url checked aloud before sending |
A DOI doi:10.82233/… |
| 1:40 – 1:50 | Optional | Add dictionnaire.csv, run again |
Has the line “A deposit cannot be updated yet” read | 1 change |
| 1:50 – 2:00 | Plug it into your platform | Discuss their case: sources, repositories, tools | Gathers the cases; presents private source, real repository, automated pipeline, Python | Each names their first step |
Rules of the room
Section titled “Rules of the room”- A participant who falls behind does not catch up: they take the file of the next block from the Answer key, and go on with the room. Thanks to
apply, nothing is lost: the file of the answer key creates what is missing. - At each checkpoint, ask with a show of hands who is there before moving to the next block.
- YAML errors (indentation, quotes) are the first blocker: have the file pasted in the editor of the projected screen rather than fixing it from afar.
- Before sending, remind aloud that the deposit goes to the demo, and have the
urlof therepositoryblock checked.
To plan for
Section titled “To plan for”- If the Recherche Data Gouv demo does not answer, the “Submit” block is done as a demonstration, with the deposit prepared the day before.
- If Zenodo refuses reads (quota), the participants concerned run
apply --retry-faileda minute later; see the guide. - The last block is a discussion: it may run longer at the expense of the optional block.
- Keep five minutes at the end of the workshop for the evaluation questionnaire, link displayed on the screen.

