<div dir="ltr"><b>Thank you very much Andrew</b>, but these things are too difficult for me, I want Cinelerra to be safe and simple. People who like computers understand that they like to play and try these things, but audiovisual technicians are not computer scientists, we simply work with computers because they are a good tool. It is the difference between a mechanic and a racing driver, the driver does not have to know mechanics.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 15 ene 2021 a las 8:00, Andrew Randrianasulu via Cin (<<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">В сообщении от Friday 15 January 2021 09:42:44 Rafa Mar Multimedia en Gnu\Linux via Cin написал(а):<br>
> Safety always has to come first, always.<br>
> Would you work with hard drives a thousand times faster than current ones,<br>
> but if you do a bad shutdown, you lose all your information without the<br>
> possibility of recovering it? I do not.<br>
<br>
You might be badly surprized ... :/<br>
(hint: SSDs sometimes die)<br>
<br>
<br>
> <br>
> It is always better slow but surely than fast with irrecoverable risks. As<br>
> is the possibility of a wrong click on this button with a very valuable<br>
> file in the EDL path and Cinelerra with another project loaded ... a simple<br>
> mistake, click and goodbye work.<br>
<br>
There will be *no* this button by default ....<br>
<br>
> <br>
> So I do not want to work, and I find it difficult to recommend an<br>
> application that can give a user this "bad shot".<br>
> <br>
> I think that GG would have had no problem in reviewing the function of this<br>
> button and given the great risk that it entails, it would have done the<br>
> resource of numbering the file, instead of overwriting it if the precaution<br>
> had NOT been taken to rename in the "EDL path: "<br>
> <br>
> In this way, for users like Igor Ubuntu it remains the same, and for new<br>
> users it is no longer dangerous.<br>
> <br>
> >*You also can try to put xml project files under git source control...*<br>
> This I don't know how to do it. I don't even know what it is.<br>
<br>
Oh, I actually tried it just now.<br>
<br>
So, navigate in terminal to your (hidden) .bcast5 folder<br>
<br>
from inside it <br>
create .gitignore file with this content:<br>
<br>
cat .gitignore<br>
*.idx<br>
*.mkr<br>
<br>
('cat' shows file, for creating it you can use some redirection ...or just your favourite editor)<br>
<br>
run:<br>
<br>
root@slax:~/.bcast5# git init<br>
Инициализирован пустой репозиторий Git в /root/.bcast5/.git/<br>
root@slax:~/.bcast5# git add .<br>
root@slax:~/.bcast5# git commit<br>
<br>
I use root user here, because I compile / edit from root. Not your idea of safety,<br>
so use same procedure in your normal user directory.<br>
<br>
Now, if git doesn't known you yet you will be asked to do those two things <br>
(only once per user, or once per repo)<br>
<br>
<br>
git config --global user.email "<a href="mailto:you@example.com" target="_blank">you@example.com</a>"<br>
git config --global <a href="http://user.name" rel="noreferrer" target="_blank">user.name</a> "Ваше Имя"<br>
<br>
this set name/email globally. Run without --global for only making those settings<br>
effective in current git repo.<br>
<br>
Now ' git commit' should work, for me it shows mcedit with some prepared commit message and<br>
list of files to commit. I just entered phrase describing current date/time and word 'backup'<br>
<br>
When you exit editor commit will be made.<br>
<br>
[master (корневой коммит) fb0d435] backup-01-15-2021, 09:43<br>
7 files changed, 1939 insertions(+)<br>
create mode 100644 .gitignore<br>
create mode 100644 Cinelerra_plugins<br>
create mode 100644 Cinelerra_rc<br>
create mode 100644 backup.prev<br>
create mode 100644 backup.xml<br>
create mode 100644 batchrender.rc<br>
create mode 100644 ladspa_plugins._usr_lib_ladspa<br>
<br>
<br>
if you do not want your _plugins caches to be there just add them to .gitignore<br>
<br>
now, you can use usual git log/ git reset --hard <commit> for reviewing log and resetting settings<br>
<br>
Works with any text and xml files :}<br>
<br>
In theory you can put git commit at the end of bash command file, and use this file<br>
for starting CinGG ? (not tested), so at any app quit it will commit changes, INCLUDING <br>
those backup.xml/backup.prev<br>
<br>
<br>
Of course if your project xml saves somewhere else - just use same procedure there ....<br>
<br>
Not as nice as integrated solution, but hopefully should work with any application!<br>
<br>
> <br>
> Greetings Andrew and thank you very much for your excellent work.<br>
> <br>
> El vie, 15 ene 2021 a las 7:12, Andrew Randrianasulu via Cin (<<br>
> <a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>>) escribió:<br>
> <br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>