Git

Steven Talbot · Friday Demos · February 16, 2024 · 5:22

Git workflows in the data model. Our in-app versioning is great for quick fixes, but for more robust workflows and backups, git has become the standard. Now you get both in Omni.

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. this one is all stuff that was built more or less in the last 24 hours so hope it works uh so this have made this invisible unstyled settings page on the IDE and there's with one button to configure git I've got a fresh private repo in my personal space or whatever personal GitHub hit this button hit configure git so it made what it did here and this is building up some stuff that buck did too um again it just dumped out this public key thing it tells me to go put it in my git repo hopefully my git pseudo hasn't expired you're going to have to see me do two Factor authentication here let's see right access add key hooray that makes the demo smoother

  2. uh and then it says my little toast thing my you great ux here says hit Ure get sync hit the button pray the demo God they didn't just break when I merged name go back here hey look he was just used go to my code there it is there's all my little whatever all the stuff this silly local mod I have is now in G so that's the most basic thing let's try here's where things get more interesting uh and more dicey let's see so now I've got get synced up I go to a workbook I make a new field whatever it's just any change I go to promote my model now it's not just Auto promoting it wants me to say like I have

  3. G so tell me what this is uh there we go it promoted go over here there it is my commit hoay I added average it's in G um and let's try one or two more things relationship just any change now suddenly I make a make change now the save changes I'm in the share I'm not in a branch save changes button is gone it says it's probably me to create a branch this is my canonical Branch name even though it takes longer to type uh so now I'm on a branch I save I can do the same thing where I do hopefully this works I just direct promoted that Branch there we go so so there's my little Branch promotion and then here's why we're

  4. actually doing all this well there's more reasons why we're doing all this that I haven't built yet but the so let's get out of that Branch uh oh can't spell doesn't matter uh let's create another branch save all right so we've got this Branch with this changing it and then I can go and again hope it works all right so now it bopped me to GitHub um there might be a better a less a smoother way to do that uh maybe like a thing like hey go here to creative but here I just I just sent you straight to GitHub with this thing with uh so I can make my P PR and there we go now I've got a PR and uh and now

  5. this is where the demo ends because like it gets awkward if I were to merge this PR omy wouldn't know about it uh and I can go back to Omni and merge the branch normally but then the pr wouldn't know about it so this is where we need to figure out I think I think it's going to be too to tell users they can't hit this button um I think we're going to have to allow them to hit this button and then configure a web hook so that we know that they merg the poll request uh but but that doesn't exist yet so uh yeah that's that's the kind of get V Zer of hacked up that's like get v.5 at least may maybe more

  6. it needs some it needs if nothing else that page needs uh the settings page needs some styling last 24 hours they there's a lot of the get functionality Buck actually has been very quietly putting a lot of like the core stuff to interact with this for DVT so I built on some a lot of his stuff