Forum Discussion
Environment public library not restored from GIT
- 1 year ago
There has been some progress on this, it's now on the known issues list, detailed link here for anybody discovering this conversation:
https://learn.microsoft.com/en-us/fabric/known-issues/known-issue-1025-environment-git-integration-imports-libraries-not-work
Let's hope it won't take too long to now get it resolved. Will close this thread in the meantime.
Hello
I have faced this issue.
Give it a try
Create a pipeline step to enforce environment updates:
https://learn.microsoft.com/en-us/fabric/data-engineering/environment-git-and-deployment-pipeline
Could work I guess, but we aren't using deployment pipelines at all. At the moment just have to manually patch it up. Which is currently doable as the number of workspaces we have is still limited, but growing so would be great if it get's fixed so the native git integration restores it correctly.
- nilendraFabric1 year ago
Super User
Try doing this rather than manual pathchup and see the results :
from sempy_labs import EnvironmentManagerEnvironmentManager().sync_from_git(repo_path="Libraries/PublicLibraries")