How does the Studio interact with Git?

Six Stars

How does the Studio interact with Git?

Hello

We are on 6.4.1 and were wondering if Talend Studio's interaction with Git is non-standard?

 

I ask as when I go into my file system I see a file structure like below within my workspace that seems to represent a git branch structure:

 

/Users/me/my-workspace/.repositories/1416375320/branches/develop/ACTUALNAMEOFTALENDPROJECT

 

/Users/me/my-workspace/.repositories/1416375320/branches/master/ACTUALNAMEOFTALENDPROJECT

 

/Users/me/my-workspace/.repositories/1416375320/branches/feature-branch1/ACTUALNAMEOFTALENDPROJECT

 

Now, when I run 

git status

on the command line multiple times in the following folders 

/Users/me/my-workspace/.repositories/1416375320

/Users/me/my-workspace/.repositories/1416375320/branches

/Users/me/my-workspace/.repositories/1416375320/branches/develop

/Users/me/my-workspace/.repositories/1416375320/branches/develop/ACTUALNAMEOFTALENDPROJECT

It tells me that I am

 

On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)

each time even though my Studio says I am on develop and have all changes from Git.

 

I ask as interested to know if

 

1) this is a way of using git I've not used before.

2) can git command line be used safely in these directories to undertake normal git operations

3) is this the same in version 7

 

many thanks

Employee

Re: How does the Studio interact with Git?

Hi,

 

   Could you please go through the below links?

 

https://help.talend.com/reader/5Q~PAWPfymNJZLXDuV36Lw/e3zcWkb425eWpl8dGREd9Q

 

https://help.talend.com/reader/a7hx_I9mEONM6em~Ni~Hfw/kT4j19tT_Dvm9t8L6BkW7g

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Nine Stars

Re: How does the Studio interact with Git?

I have read those documents before but I still don't know how to commit to my local branch with git and give a commit message.  The only time I know it commits is when I restart Studio because it forces me to commit and does not provide a field for me to enter a message.

 

Also, Talend projects are not saved as Java source or pure XML, but as binary embedded in XML, right?  So a git diff is not useful because diffed binary is unreadable.  Can you clarify?  Is it best practice to use git command line for commits in your Talend projects?

 

Maybe it is because I am new to git, but git support is pretty disappointing and confusing in Talend.

 

I am using Talend 7.0 Data Integration enterprise edition.

--
Please give Kudos and mark topics as solved where appropriate.
Employee

Re: How does the Studio interact with Git?

Hi,

 

    Could you please check below Webinar done by one of my colleague?

image.png

 

There are lot of other Webinars under Architect Sessions page which deals with GIT, Continous Integration etc.

 

https://www.talend.com/customer-success/architect-sessions/

 

I hope they will give you a good idea.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Six Stars

Re: How does the Studio interact with Git?

Hi Thanks for those links are interesting. Esp the option to "Use Commit Messages" - will try that.

However those links do not answer the questions I've asked.

 

Mainly my question is about the folder structure.

 

Usually with git you have a repository, and you clone that repository to create a local directory. Then you can do 'normal' git operations in that cloned directory like:

 

git checkout <branch-name>

And this keeps the folder structure the same but just changes your files to be the contents of the chosen branch.

 

git status

will then tell you what branch you are on.

 

This is different to what I see in my workspace as originally posted?

 

Thanks

Eight Stars

Re: How does the Studio interact with Git?

Hi Nikhil Thampi,

How do we access this architect session pages? I was unable to play the video with the error message "Sorry. Because of its privacy settings, this video cannot be played here."

 

Regards,

Navds

Employee

Re: How does the Studio interact with Git?

Hi,

 

   The Architecture sessions are publicly available once you register in initial the form.

 

    Could you please try from another machine or browser? If you are in a corporate network, sometimes, they will block the link since its playing video. So try from your home network first.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Eight Stars

Re: How does the Studio interact with Git?

Re,

Which registration form are you mentioning? There is only one sign in button in this page, leading to the Cloud registration form:talend_cloud_registration.png

 

Regards,

Employee

Re: How does the Studio interact with Git?

Hi,

 

   For me, When I click on the watch video button, it is directly taking me to the video. If the error persists from multiple systems (including home systems), please raise a ticket to Talend support team.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Eight Stars

Re: How does the Studio interact with Git?

It was the integrated ad/tracker blocker of my browser Smiley Very Happy I had to disable it.
Thanks.
Six Stars

Re: How does the Studio interact with Git?

Hello

The original questions in my post still stand...

Thanks

 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog