projects:design_with_git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:design_with_git [2014/11/28 14:56] – Julien Deswaef | projects:design_with_git [2016/11/04 03:04] (current) – [NYC] Julien Deswaef | ||
---|---|---|---|
Line 21: | Line 21: | ||
This project is about designing a multi-platform tool, build on top of Git and web technologies, | This project is about designing a multi-platform tool, build on top of Git and web technologies, | ||
- | |||
- | ===== History of development ===== | ||
- | ==== Medialab Prado ==== | ||
- | |||
- | This idea has been looping around in my head for a while and < | ||
- | |||
- | [[projects: | ||
- | |||
- | Draft for the [[projects: | ||
- | |||
- | [[projects: | ||
===== Some examples of designers using Git ===== | ===== Some examples of designers using Git ===== | ||
Line 38: | Line 27: | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
- | * [[http:// | + | * [[http:// |
+ | ===== History of development ===== | ||
- | ===== The case for SVG, Inkscape and Git ===== | ||
- | SVG is a becoming a wildly used format. Most modern browsers can display it. The format has been around for quite a while and many (if not all) graphic softwares support it. It's also quite an easy human readable format. | ||
- | Inkscape is also becoming a well respected graphic tool in the open source design community. It can import and export multiple graphic file formats. The interface is quite easy to apprehend and it uses SVG as a base file format. Inkscape is also extendable and uses python as scripting language. Inkscape is a tool used by webdesigners, | ||
- | Git is the trending version control system of today. His popularity (with websites like Github or Gitorious) and distributed capabilites make it a tool of choice for every designer concerned with efficient production workflow and collaboration. | ||
- | As stated, SVG and Inkscape are already well interdependent. It seems obvious and almost trivial to integrate the features of git to this already excellent tool. | + | ==== Medialab Prado ==== |
- | ==== Possible integrations of Git into Inkscape | + | |
- | * Have the basic git commands integrated in the GUI (like init, add, commit, branch, push pull,...) | + | |
- | * Have the commit history displayed as a list or graph so the designer can go back in time and recall older versions. | + | |
- | * Have a special viewer that can display the differences between two commits in different ways. | + | |
- | === Graphical Diff Suggestion === | + | This idea has been has been submitted and selected for the **Tools for a read-write world** at [[http:// |
- | Very cool project! | + | * [[projects: |
+ | * Draft for the [[projects: | ||
+ | * [[projects: | ||
+ | * [[http:// | ||
- | As a " | ||
- | a way to use ImageMagick' | ||
- | First, a python script (//e.g// compare.py) to render the two SVGs to bitmaps | + | ===== Related pages ===== |
- | via Inkscape and then do the final diff via ImageMagick: | + | * [[projects: |
+ | * [[projects: | ||
+ | * [[projects: | ||
- | <code python> | ||
- | # | ||
- | import sys, os | ||
- | |||
- | inkscape = " | ||
- | |||
- | local = sys.argv[1] | ||
- | remote = sys.argv[2] | ||
- | tempdir = "/ | ||
- | localpng = tempdir+" | ||
- | remotepng = tempdir+" | ||
- | |||
- | if(not (remote.endswith(" | ||
- | os.system(" | ||
- | else: | ||
- | os.system(inkscape+" | ||
- | os.system(inkscape+" | ||
- | os.system(" | ||
- | os.remove(localpng) | ||
- | os.remove(remotepng) | ||
- | </ | ||
- | |||
- | Then add a hook like this to your .gitconfig: | ||
- | |||
- | < | ||
- | |||
- | [difftool " | ||
- | cmd = "/ | ||
- | </ | ||
- | |||
- | Then "git difftool -y -t compare" | ||
- | highlighting changed regions in red. | ||
- | |||
- | Hope this helps, | ||
- | |||
- | --Mark | ||
- | |||
- | Thx Mark. Will look into that. If you want to give a hand during the worshop, you're welcome. | ||
- | --- // | ||
- | |||
- | === Possible screenshots === | ||
- | {{: | ||
- | |||
- | ===== Related pages ===== | ||
- | * [[projects: | ||
- | ]] | ||
- | === Visual libs to try out === | ||
- | * http:// | ||
projects/design_with_git.1417182994.txt.gz · Last modified: 2014/11/28 14:56 by Julien Deswaef