Automate asciinema screencasts#6197
Conversation
|
I have found a good way to implement this - isolate the example form the host by using a docker container. This way I get a disposable system I can freely |
|
Hmm, I usually don't use docker. Just ssh to localhost to simulate a "remote" repo? |
|
It's not just the remote example. I need some safe place to make a mess without messing up the machine of the developer doing the recording:
Using docker seemed like a neat way to make a mess and clean it up.
What do you use instead? |
I have been in this boat too, but now I am quite comfortable with it and the power is worth the learning curve. |
|
I use VMs and vagrant (for borg mainly for automated platform testing). |
|
I guess I'll have to learn vagrant then. |
|
@ThomasWaldmann I have found some time to work on this. Reimplemented installation and basic usage via Vagrant. Take a look. |
|
Thanks! Will do, but likely after 1.2.0 release. |
|
This should be ready now. |
vagrant is magic: sometimes it decides to type "exit" into stdin
The previous example had an incorrect sequence of arguments in the --qr-html case. I have also updated --paper for consistency
We need some sample data to propoerly demo the backup. I have selected 30 random wallpapers form wikimedia commons
|
Found / fixed some typos (squashed the fixes into the changeset where they were introduced). |
|
Next thing I will try is to adapt this for borg2 (we definitely need new screencasts there as a lot of stuff changed). If I succeed, shall I just push the stuff to your branch? Guess you'ld need to open a new PR then against the borg2 branch. Update: hmm, no, I'll just update it to borg 1.2.1 and merge it into master. borg2 update can be done later. |
|
Thanks @hexagonrecursion! |
Automate asciinema screencasts
|
Great thing and great idea to automate that! BTW, are the (new) screencasts already live? As https://www.borgbackup.org/demo.html still shows the old ones… |
|
@rugk https://github.com/borgbackup/borgbackup.github.io/tree/source/_assets there is the old stuff still. guess one could have a look first at old vs. new and then, if all is ok, update the files there. PRs welcome. |
Fix #2909
Manually generating asciinema screencasts is:
This is my attempt to automate the process
TODO:
add color (if you want it)This is needed to run the following command from the basic usage example: