Search found 309 matches

Go to advanced search

by plgarcia
Mon Mar 23, 2020 8:37 am
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

As I told you the problem is to have a way to clearly identify what archive relates to what project, knowing that the format of the date can be changed at any moment by the user. how to make the difference of the archives of the 2 following projects: project.FCStd project-1.FCStd project-20200301.FC...
by plgarcia
Sun Mar 22, 2020 10:45 am
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

Hello Double extension causes problems when the second extension is program extension ie (.exe, .bat, .cmd, .msi, .dll and some others). Therefore, I do not agree that this multiple extension represents a risk. I just searched on my PC (with grepwin that is a more reliable tool that windows search) ...
by plgarcia
Sat Mar 21, 2020 8:53 pm
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

Yes I agree and that is why I modify the configuration of any PC to show all extensions.
But our files are not a malware right.
No anti-virus will discard such a file. right?
As long as FCBak file extension is unknown windows display both extensions. Right?

So where is the problem?
by plgarcia
Sat Mar 21, 2020 8:41 am
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

Are we really certain the 2 dots in the name cause problem. I never had such problems and I have been using many protection softwarein my life. I did not find on the web messages that double extension in files lead to misbehavior of anti-virus. I am not certain it is a problem. But this is used by s...
by plgarcia
Fri Mar 20, 2020 9:11 pm
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

Your way would mix the files of the different projects saved in the same folder. That is why the name followed by the date is a better way sorting. The backup policy is base on the date of the file so that whatever the logic of the naming of the backup they can be properly ordered to delete the elde...
by plgarcia
Fri Mar 20, 2020 12:46 pm
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

New proposal
And what if we put the - between the date and the FCBak extension.
Eventially swap both FCBak-<the date>

Like that the part of the name before the . is alway what is to be compared in Backup policy.
by plgarcia
Fri Mar 20, 2020 12:43 pm
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

OK I continue the analysis this week-end. To keep the number of archives we list the documents starting with the same name. I have to think a way to avoid confusions of the archives in this case. I often add a -1 -2 to a project name when I want to keep a version.

I take that this week-end.
Regards
by plgarcia
Fri Mar 20, 2020 10:13 am
Forum: Developers corner
Topic: dot in filename issue with new backup policy
Replies: 36
Views: 1414

Re: dot in filename issue with new backup policy

In fact what we can do is simply remove the . between the name and the date.
If somebody wants a - it can put it in the format what could be the default.

Tell me what you prefer either force a - instead of a . or move the separator in the format.
Regards
by plgarcia
Fri Mar 20, 2020 9:58 am
Forum: Archived Pull Requests
Topic: [Merged] PR#1148: Backup files policy
Replies: 74
Views: 12617

Re: [Merged] PR#1148: Backup files policy

Sorry I am not able to find the topic.
Is it this problem of have 2 dots in the file name?
https://forum.freecadweb.org/viewtopic.php?f=10&t=44211

Regards
by plgarcia
Wed Feb 26, 2020 12:34 pm
Forum: Archived Pull Requests
Topic: [Merged] PR#1148: Backup files policy
Replies: 74
Views: 12617

Re: PR#1148: Backup files policy

Dear all, As I promised long ago I will write a bit of documentation, in fact what is to be incorporated in the page you are pointing at. The backup policy is checked and applied when a project is saved on the only files concerning this project. There are 2 different behaviors to name the backup fil...

Go to advanced search