REVIEW: Integrated Version Control with Git

Works like a charm, even took notice of previous commits made in the other program.

The best part: it ook less than a minute to commit 2900 files.

3 Likes

I have an existing repo that I created and maintained through Conveyor from Wildbit. Had a couple of file to commit on my current project and did it through Wappler interface.

Then wanted to test the revert feature but it is disabled on all files I right click on. Is this because the git repo was not created through Wappler in the first place?

18

Revert is only for uncommitted files only. To get them back to the last committed state.

More advanced history backtrack and branches will be available soon

1 Like

Ok Cool! Got it, thanks

Yes, forgot to mention that we have Git natively compiled with Wappler.

So next to the awesome speed it also has the advantage that no external git program is required any more.

Everything is included in Wappler!

3 Likes

Will it be possible to upload specific files from previous versions/commits? Rarely would I want to re-upload a complete site.

Will there be a way to add exclusions? Currently, could we add exclusions in .git/info/exclude or .gitignore (or neither)?

The file diffing feature you mentioned sounds very useful. I don’t know if it will be possible, but what I would find very useful would be a way to compare local and remote versions of a particular file (ie current versions).

I’m wondering how new versions of Wappler .js files etc. will be handled after an update. Will we see ‘M’ and ‘A’ next to the relevant files? That would be useful.

I’m looking forward to see how this all develops. Git is a great addition to Wappler.

1 Like

Brilliant, gone are my daily backups and dragging files back onto the live section from those folders and all so easy!

2 Likes

Yes - only changed files will be uploaded. You will get a nice synchronization overview of the difference and choose what do you want to do.

Yes Git works with a simple list in file called .gitignore. We will be adding global settings for that just as we now also have settings for ftp to exclude files in the Global Wappler FTP settings

Yes we will offer a special code diffing view in Wappler so you can clearly see the difference. Might even make a visual diffing tool so you can visually see the difference between two html pages. Like two design views next to each other where the differences are highlighted.

Diffing is important when you want to switch to different versions - or just to inspect what has changed.

Yes Wappler’s extensions assets files, will just show as any other updated files. So you can commit them nicely together in your Wappler project git repository.

We will be making also more improvements there in the future as global Wappler Extensions assets updater and keeping also note of which extensions version were used in which project, so those stay with your version control in sync.

2 Likes

Thanks George - that all sounds excellent.

I used the file comparison feature in Dreamweaver a lot - or, rather, from within DW. DW doesn’t actually have its own diff tool, but you just had to enter the path to your chosen diff software in Preferences, and the selected files (eg local and remote version) would open up in that application, side by side. I suppose many of these tools must work in similar ways. It would great if such a feature were built into Wappler, but this might be a simpler/additional option.

1 Like

Am I being dumb… I cant seem to see the Git icon (running the latest version of Wappler currently)

Hello @datguru,
As explained these are still experimental features, so you need to enable experimental features in Wappler settings, then restart Wappler:

1 Like

Thanks Teodor… sorry I couldnt see anything in the post that said experimental needed to be enabled… working perfectly now though

QoL improvement: Add next to the commit button an additional self-explanatory button called “Commit and Push”.

hey! it’d be great if we did not have to enter the user and pass on GIT every time we reopen Wappler!
can we have ‘save password’ or just save it bu default?

2 Likes

Have you set up a Personal Access Token in your GitHub settings? You can enter this in to Wappler so you do not have to keep signing in every time you open Wappler.

On GitHub go to Settings / Developer Settings / Personal Access Tokens, and generate a Token. Then in Wappler go to Options / Git and add your token there.

:wink:

1 Like

@nshkrsh right …
@Dave I am using plesk git extension and wappler doesnt store my git password .

I’m not so sure about Plesk sorry @s.alpaslan maybe @George or @Teodor can help out?

not using GitHub.
we’re using Azure’s Git.

for us it stores neither the username nor the password.