📜 ⬆️ ⬇️

Designer folder designer. Create backups

image


After studying the comments to the previous post about the project folder, I decided to restructure the process associated with the versions of files and their storage. Smart people said that in our time it is wrong to duplicate files manually, creating an archive of versions, but we need to use modern Git, Subversion and the like technologies. In this post I will write about the system to which I came and now enjoy using it. I became calmer, I eat better and sleep better, because now I’m not at all worried about working files and their safety. It remains to be a good designer.


There are a lot of solutions for saving file versions. For me, as a designer, the key parameters are the following, which the system must meet:


  1. I myself have to determine at what point to create a file recovery point;
  2. Have the opportunity to see what has changed in the file (most often in graphic);
  3. Download the file and its versions in the online storage;
  4. Get unlimited storage of files and their versions;
  5. Privacy The data, without my knowledge, should not be accessible to outsiders;
  6. Low cost.

Dropbox


image


Yes, yes, do not be surprised. I did not know, but Dropbox can keep a history of file changes. A very convenient solution for storing and accessing files from anywhere in the world. It’s easy to share materials and you don’t need to think about downloading them; it’s enough to install an application that will upload files and edit their files. But this plus is also a minus, since new versions of files are created automatically after each save. Secondly, it is impossible to compare what exactly has changed in the file, without rolling it back. Without the purchase of an additional “Extended Version Log” (EVN), which costs 40 bucks a year, files are stored only for 30 days. Free give 2 GB, the rest for a monthly payment of $ 8.25. We get at least 140 dollars a year and not full compliance with the requirements. We go further.


Google drive


image


All the same advantages and disadvantages as Dropbox. But in Google Drive more than 30 days, the version is not stored in principle, which is unacceptable. Immediately miss.


Invision


image


The second discovery I made was preparing this post (thanks to SNight for the tip). A service that is familiar and loved by many designers is still able to store versions of files. For this you need to use their utility - "Desktop sync app". You do not need to pay anything extra. Of the minuses - there is no preview for Sketch files and no interaction for users who want to use "Inspect Mode" is not thought out. The fact is that for the code inspection to work, the layouts must be loaded via the “Craft” plugin. And then a conflict arises, because The “Desktop sync app” does the same thing, but does not “parse” the layout according to its components, so the “Inspect Mode” is not available to it. You have to choose between the version history of the file and the code inspector. Because in our team, the code inspector is used by layout designers and programmers — the choice is in favor of Inspect Mode.


Cornerstone 3


image


Apparently, the most popular subversion solution for Mac. Very beautiful program. Of the minuses - there is no storage in the cloud. You can, of course, place folders with files and backups in the directory of a third-party cloud service, such as Yandex.Disk. But there is a second minus - the cost of $ 69. Not to say that it is very expensive and I was ready to try working with the program (there is a trial period of 14 days), but I noticed another drawback - there is no preview of the Sketch files. Take a note, but look for more.


Github


image


This solution was used earlier when I was actively engaged in layout. Meets all the requirements that I described above. There is a desktop client, which is important for those who do not own the command line. Private repositories (online storage) are paid, from $ 7 per month. A great option, but not perfect.


Bitbucket


image


I settled on the Bitbucket repository in conjunction with the SourceTree client. Bitbaket I preferred GitHab for free private repositories. Moreover, I can create as many as you like, and even invite up to 5 users to work on the project. If more than 5 users are connected to the repository, then you need to pay from $ 10 per month. In general, a great offer.


Comparative table of the studied solutions


image


Now I will tell you how the work process is organized.


First of all, we register on www.bitbucket.org and download SourceTree (available for Mac and Windows).


By the way, SourceTree can also be used as a client for GitHub.

Start SourceTree and add a new project “New Repository” → “Create Local Repository”.


image


Select the directory where the project and archive of its versions will be stored. Since I save the files also online, I check the “Also create remote repository” checkbox.


image


You can not upload files online, and create a repository only on your disk or in the directory of a cloud service. Then you will not depend on either the GitHub or the BitBacket.

Now put some file in the created folder. Let it be a photoshop file hello.psd. After saving the file to the folder in SourceTree, a notification appeared that the directory has changed, and to the right is a small thumbnail of the contents of the file.


image


If the file is larger than 5MB, then the preview will not be shown. To decide to open Preferences → Diff. Set "Size limit (binary)", for example 50,000 KB. Previews are created without restrictions.

This will happen after each change of files in the directory or adding new ones.


Create a "Restore Point" (In Git terminology, this point is called Commit). To do this, select the files for which a version will be created in the repository (I usually select everything), write a comment and click “Commit” to create a restore point.


image


Is done. Now we can always return to this file in this form.


Recolor the title to a different color and save. SourceTree noticed the manipulations and in the preview window shows 2 images of "It was" and "It became".


image


PS I could not find how to make the preview larger, if one of the experts advises, I will be grateful. The coolest thing is that the preview is created even for Sketch files, which is mega-cool and no other program can be viewed.

“Let's commit” the changes and send it to the server.


For the purity of the experiment, we will make a third edit, sending it to the server and her.


image


Did you need to “roll back” to the first version of the file, or take a couple of layers from there? Let's try. Go to the sidebar of the program in the «History» tab and select the first commit. If you double click on the preview, the first version of the file will open in Photoshop. We take from it any layers or re-save as the main file. It is very convenient and simple.


image


I described the basic functionality provided by Git technology. There is a lot more there, but even with this functionality, you can not be afraid for the safety of working files and their iterations.


')

Source: https://habr.com/ru/post/320246/


All Articles