GIT and new installation changed files

@George

Don’t know if it’s a bug, not-a-bug or a feature request.

In today’s update(2.6.3) there is at least one fix I was expecting for App Connect.

After installing and verifying that the bug was fixed I proceeded to commit again. I commit just before and just after the installation so I don’t have to bang my head to hard if I introduce a bug later on and start questioning if it was me or the update.

Anyway I was expecting to have a modified js for the app connect, but it’s not picked by Wappler’s GIT feature as a modification.

Is this to be expected?

I actually refreshed one more time and it now appeared. So there seems to be some issue with refresh. If I’m able to catch it again I will report it.

1 Like

It happened again and now I have some proof :slight_smile:

As you can see I made a commit just after Wappler 2.8.0 installation.

You can see the commit “Post Wappler 2.8.0”. I refreshed the file structure several times before committing.

4 commits later you can see one called “DB connection improvement done by Wappler 2.8.0” as that change popped several commits after the installation and today the current working copy shows 6 files changed by the installation of 2.8.0 which were not picked before.

Is it possible to improve the project folder sync/refresh so that GIT picks up all files that were changed just after the installation.

Files in your project are not updated directly, they are being updated as soon you edit a page where the component is used. Git should detect the changes directly when these files are updated.

Does that mean that I have to open every single page in my app so all changes are picked by Wappler and then by GIT?

Would it be possible to do this automatically?

From a source control perspective this seems quite the nightmare if I need to revert to a specific commit to isolate a bug introduced by a change in Wappler’s framework.

To update for example google maps you need indeed first open a page with google maps on it, only then the new google maps files are being copied. At this moment we don’t know which component are being used inside your project, but we will improve this in the future.

1 Like

Thanks for explaining. Well at least there is a workaround for this -> Opening all the pages :slight_smile:
Time consuming but available.

Looking forward.

1 Like

Improved workaround.

  1. Create dummy page with all wappler components included.
  2. Add page to .gitignore.
  3. Load page.
  4. Git profit.

Yes it will add all components to your app folder structure. But if you don’t use them it will just take hosting space but not network bandwidth.

2 Likes