{"id":19752194,"url":"https://github.com/ipatch/freecad.projects.in.scm","last_synced_at":"2026-01-29T22:35:09.052Z","repository":{"id":146836998,"uuid":"359939780","full_name":"ipatch/freecad.projects.in.scm","owner":"ipatch","description":"me experimenting with version controlling freecad project files","archived":false,"fork":false,"pushed_at":"2021-04-27T18:35:55.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T00:35:21.678Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipatch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-20T20:14:32.000Z","updated_at":"2021-04-27T18:35:57.000Z","dependencies_parsed_at":"2023-04-10T15:47:33.342Z","dependency_job_id":null,"html_url":"https://github.com/ipatch/freecad.projects.in.scm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ipatch/freecad.projects.in.scm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Ffreecad.projects.in.scm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Ffreecad.projects.in.scm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Ffreecad.projects.in.scm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Ffreecad.projects.in.scm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipatch","download_url":"https://codeload.github.com/ipatch/freecad.projects.in.scm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Ffreecad.projects.in.scm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28888423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"ssl_error","status_checked_at":"2026-01-29T21:06:42.160Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:48:07.469Z","updated_at":"2026-01-29T22:35:09.038Z","avatar_url":"https://github.com/ipatch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"my first experiment with version controlling freecad project files\n\n## workflow / 20 apr 2021\n\n- setup a working dir, init a git repo within the working dir `git init`\n- launch freecad, create a new document, save the document\n\n  \u003e a `project.FCStd` file will be created in the git repo\n\n- make a change to the document, ie. add a cube or something (part workbench)\n- save the document again, a `project.FCStd1` file will be created\n- checkin in changes, make a commit with a quick message explaining the changes\n\n  ```shell\n  git add .\n  git commit -m \"checkin initial freecad projects\"\n  echo \"optional, push to remote git repo\"\n  ```\n\n## limitations\n\n- if/when reverting a project to a prior commit within the git repo\n\n  ```shell\n  git checkout [HASH_OF_COMMIT]\n  ```\n\n...and if the current freecad file is open in freecad, the **file will not be updated!**\n\n- close the current file, and reopen the file, and freecad should pickup the file as it existed at that particular commit.\n\nthe freecad file will have to be open/closed each time when reverting the file a particular commit.\n\n## todos\n\n\u003ca name=\"todos\"\u003e\u003c/a\u003e\n\n- [ ] present some modal/dialog for inputting a **commit** message when _file \u003e save_ is run from within the freecad GUI\n- [ ] close/reopen file when reverting/changing to a particular commit within the project history\n\n## references\n\n- [version controlling freecad files, blog post][ul1]\n- [**forum.freecadweb.org** version control support (git) for freecad project files][ul2]\n- [**gitlab.com** freecad wrapper around `.FCStd` project files][ul3]\n- [**apple.stackexchange** useful question about using applescript as a wrapper for cli commands, ie launch window/dialog][ul4]\n- [**howtoforge.com** zenity gui wrapper for cli, cross-platform][ul5]\n- [**stackoverflow** using git to manage **zip** files][ul6]\n\n\n[ul1]: \u003chttps://blog.lambda.cx/posts/freecad-and-git/\u003e\n[ul2]: \u003chttps://forum.freecadweb.org/viewtopic.php?f=10\u0026t=38353\u003e\n[ul3]: \u003chttps://gitlab.com/frc-team-4739/ffos/fc-git\u003e\n[ul4]: \u003chttps://apple.stackexchange.com/questions/239764/how-can-i-run-a-shell-script-that-prompts-for-user-input-from-within-applescript\u003e\n[ul5]: \u003chttps://www.howtoforge.com/how-to-display-gui-dialogs-in-bash-script-using-zenity/\u003e\n[ul6]: \u003chttps://stackoverflow.com/questions/8001663/can-git-treat-zip-files-as-directories-and-files-inside-the-zip-as-blobs\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipatch%2Ffreecad.projects.in.scm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipatch%2Ffreecad.projects.in.scm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipatch%2Ffreecad.projects.in.scm/lists"}