PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 26 → [WD23] Backup Project
[WD23] Backup Project
Started by ARV, Jun., 10 2021 7:24 PM - 5 replies
Registered member
462 messages
Posted on June, 10 2021 - 7:24 PM
Hi

I was creating backups of my project everyday, but I face something weird
note:
All my zips are on a server
I create zips from a project I have or I create the zip from windev itself

This is the thing

1. I extract all the files from my .zip
2. I Open my project from that extract zip
3. I see that my code from back then.
4. I do what I need to do to solve problems for production.
5. I close the project backup
6. Windev tell me that I need to save
7. I save the change (because why not)
8. I erase the backup and the zip from my pc

but what happend next?

1. I open my project like always
2. My principal project was change (for some reason)
4. I change everything that should be in first place. In the day I need to go back to my backup
5. I search my zip on my history of backups zips (not from the directory of windev)
6. I copy my zip and paste it on my pc
7. I extract all files from that zip on a directory
8. I don't have anything open on windev not even windev itself
9. I open windev
10. I open the project backup
11. It tell me to recompile
12. I choose not to recompile
13. It open everything but it show me the last code I type and not the code back then for some reason


Anyone Know what's going on?
There's a way to see the code back then?
Is it a bug from 23?

Please help!

--
Best Regards
ARV
Registered member
462 messages
Posted on June, 10 2021 - 10:24 PM
Hi

I know why that happend

The code I was editing the path of the file wasn't on the same path of the project

That's why the code always have the last code I save

Everything works fine

And was a wrong direction of myself

Why the project have the path outside of the project well that's how the project was when they give it to me

--
Best Regards
ARV
Registered member
30 messages
Posted on June, 11 2021 - 10:15 AM
Hello ARV,
why don't you use SCM with branches for this?
Registered member
462 messages
Posted on June, 11 2021 - 3:26 PM
Andrea Chiadò Piat wrote:
Hello ARV,
why don't you use SCM with branches for this?



Hi

I will consider this for the future, I will investigate and see how it works
I imagine that PCSoft have documentation about the SCM

Thanks for the reply

--
Best Regards
ARV
Registered member
462 messages
Posted on June, 11 2021 - 9:16 PM
Andrea Chiadò Piat wrote:
Hello ARV,
why don't you use SCM with branches for this?


Hi

I was searching about this and I found it really good

but I have some questions
I have my original project
This project I will create branches of the production version

but if the last production version have a bug and I need to fix it here's the thing I dont know

I know that If I change code and data base on my original project It could change the branch yes but

How do I open my branch and changed the code in that branch and then release a bug fix version?
What I mean?

I don't know how to open the branch and correct everything on the branch
Then when I fix it, I need to upload the change or in this case generate a new branch on the new version I have

How do I do that?

I know that I can alterate the original and from the original change all the branches I want but I want it to be the other way around, PC Soft say is possible but I don't know how to do it

Could you help me with this?

How do I do to have the exact same code of the last version of production to fix bugs

I know how to create branches and modify my original on the branches but imagen this

I change things on data base on my new version but in the meantime having this the client see a bug an report it, I search that same version the client have and open it, fix it and then that code I pass it on my original to have the exact same thing, How do I do this?

Hope I can make the idea clear

--
Best Regards
ARV
Registered member
462 messages
Posted on June, 11 2021 - 11:34 PM
Hi

Sorry I found the answer in this video



But thanks to you I found a easy way to get back on the production version THANK YOU!

--
Best Regards
ARV