Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am trying to use Branch white list feature as mentioned here in Git
https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/DtVJkwSLcJKT2s4~Z3h2hg
All I want to do is create a Dev branch for ClientC that contain source code only for ClientC, which is what it says in above link
Talend Administration Center allows you to filter the project on the defined SVN/Git branches or tags in order to reduce the use of disk resources and improve performances.
I created Dev branch as ‘DevClientC’ from master branch as above using Branch Management however when I look at the source code under branch DevClientC, I can still see project folder for ClientA also & that is what we dont want.
Basically I am trying to overcome limitation that is mentioned here
https://help.talend.com/reader/VNjZmA9xWBPVZlKhKjjFlQ/Ng13tTGzklQm7k6Fc4bd6w
A branch created for a specific project will be available for all others projects in the same Git repository.
Thanks,
Nimesh
meanwhile I have already followed this guideline as below & active_git_branches.csv file looks good on server & still I see source code being copied for other projects in dev branch.
https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/DtVJkwSLcJKT2s4~Z3h2hg
To create a Git or SVN Branch white list
Talend Administration Center allows you to filter the project on the defined SVN/Git branches or tags in order to reduce the use of disk resources and improve performances.
Prerequisites:
you have enabled the Branches whitelist option on the Configuration page (see Setting up SVN or Git parameters)
you have created a project with related branches (see Adding a project and To create a Git or SVN branch).
This results in the creation of a configuration file named active_svn_branches.csv (for SVN projects) or active_git_branches.csv (for Git projects).
Open the whitelist configuration file to edit it (active_svn_branches.csv for SVN projects or active_git_branches.csv for Git projects). You can see the list of all branches of your projects.
Remove the lines corresponding to the branches on which you do not work in order to keep only the necessary ones and save your changes. The project is now filtered on the branches you have chosen to keep.
Can anyone respond to this? We really want Branch white list feature to work.
@xdshi Could you please help us with this issue? we want to use whitelist feature as mentioned by Talend 'to filter projects & have source code only for the filtered project in given branch'
I would really appreciate your response on this.
Thanks,
Nimesh
Hello Nimesh,
We have redirected your issue to TAC expert and then come back to you as soon as we can.
Best regards
Sabrina
@Moe we can check if we will be able to use the input from the whitelist to help trim the pull request to use the git sparse checkout instead (see https://git-scm.com/docs/git-read-tree/ at the end of the page).
Even if we implement it, it will not address your security concern though since there are not branch permissions for developers.