Skip to main content
Solved

Publish workflows from GitHub to FME Server?

  • November 14, 2017
  • 1 reply
  • 34 views

fmelizard
Safer
Forum|alt.badge.img+20

A friend wants to know if we can publish workflows from GitHub to FME Server?

Best answer by fmelizard

This is a fantastic idea and one that is mentioned here (please add your comments):

https://knowledge.safe.com/idea/18790/workbench-connects-directly-to-revision-control.html

With the current FME Server Version Control functionality, our team shared that: pushing files from GitHub to FME Server (ie *pulling* from a remote Git) is not possible as of right now for a couple of reasons:

  1. We cannot bypass the Publishing Wizard which is responsible for dictating how FME Server will run the workspace (updating the database, registering services, allocated resources etc). In fact, a user can't just drop a workspace into the repository home folder which is what pulling does. FME Server will see that the workspace doesn't exist because the database does not contain that workspace.
  2. Pulling leaves the risk of merge conflicts which would require manually editing of the .fmw files which is obviously very difficult. More info here: https://www.git-tower.com/learn/git/ebook/en/command-line/advanced-topics/merge-conflicts

Right now FME Server allows *fetching* from a remote Git. Fetching simply retrieves the history without changing any files on FME Server.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

fmelizard
Safer
Forum|alt.badge.img+20
  • Author
  • Safer
  • 3719 replies
  • Best Answer
  • November 14, 2017

This is a fantastic idea and one that is mentioned here (please add your comments):

https://knowledge.safe.com/idea/18790/workbench-connects-directly-to-revision-control.html

With the current FME Server Version Control functionality, our team shared that: pushing files from GitHub to FME Server (ie *pulling* from a remote Git) is not possible as of right now for a couple of reasons:

  1. We cannot bypass the Publishing Wizard which is responsible for dictating how FME Server will run the workspace (updating the database, registering services, allocated resources etc). In fact, a user can't just drop a workspace into the repository home folder which is what pulling does. FME Server will see that the workspace doesn't exist because the database does not contain that workspace.
  2. Pulling leaves the risk of merge conflicts which would require manually editing of the .fmw files which is obviously very difficult. More info here: https://www.git-tower.com/learn/git/ebook/en/command-line/advanced-topics/merge-conflicts

Right now FME Server allows *fetching* from a remote Git. Fetching simply retrieves the history without changing any files on FME Server.