MadCap Flare includes support for every source control tool on the market by virtue of the fact that Flare uses a wide open architecture. Instead of using proprietary files and databases, all content and project files in Flare are stored as independent XML files. This means that Flare projects are compatible with all source control systems. In addition to this native support for all source control applications, Flare provides integrated support for source control applications as well.
What is source control/multi-authoring?
Source control is a process that allows you to store your project files in a central location and determine which individuals have access to those files. By using a system where individuals must "check in" and "check out" files to edit them, you can ensure that there are no file conflicts when many individuals are working on the same project (multi-authoring teams). You can also revert back to earlier versions of source control files if necessary. Source control is even useful for single authors because it provides a means for maintaining a constant backup of all project files.
Is the source control application inside the application?
No. Flare does not use a proprietary source control system within the Flare application. Instead, Flare allows you to connect (or "bind") your project to an existing third-party source control application that is separate from Flare.
Which source control programs are integrated with the application?
Built-in support is available for Microsoft Visual SourceSafe and Microsoft Team Foundation Server. In addition, an API allows you to configure your project for integration with other source control tools (see Using an API to Integrate Source Control). You also have the option of manually adding your Flare project files to any source control tool, rather than using Flare's built-in integration.
Who is involved with source control?
This depends on how you work in your company. Someone (perhaps a network administrator) needs to set up your source control program (such as Microsoft Visual SourceSafe) and create the necessary database(s) in it. This individual may also set up the "rights" to all persons who have access to the necessary databases and files. If you are working on a multi-author team, each writer on the team needs to have a local copy of the Flare project and will be responsible for checking in and checking out files as necessary.
Which files can be included in the integrated source control?
If you are manually adding files to a source control application (rather than using the built-in Flare integration), you can transfer any and all files in a Flare project. This includes your main
If you are using Flare's built-in source control integration, you can transfer the main
Common source control terms
Following are definitions for some of the common phrases used in Flare's built-in source control system:
Source control icons
Following are descriptions for the primary icons that you may see next to files when using source control:
|
This indicates that you have the file checked out from source control. You can check in the file when you are ready. |
|
This indicates that you have a file in your project but have not yet added it to the integrated source control application. This might occur, for example, if you create a new topic and do not add the file to source control during the topic creation process. To resolve this, simply right-click on the file and select Source Control>Add. |
|
This indicates that the file is added to source control but is not currently checked out, which means that it contains a "Read Only" designation in its properties. In order to edit the file, you must check it out from source control. See Checking Out Source Control Files. |
|
This indicates that the file is currently checked out to another user. You can send a request to the user, asking that person to check in the file so that you can check it out. See Requesting a User to Check In Source Control Files. |
|
This indicates that the file is not current (i.e., the local copy of the file is older than the source control copy). This might happen, for example, if another user checks out the file, makes changes to it, and checks it back in to source control. If this occurs, you can check the file out or get the latest version of the file from source control. |
|
This indicates that the file is deleted from source control, but you still have a copy of the file on your local machine. If necessary, you can add the file to source control. See Adding Files to Source Control. |
Basic workflow (multi-author team)
Following are the basic steps for using Flare's source control integration for a multi-author team:
Create and Bind New Project Create a new Flare project and simultaneously bind it to an integrated source control application. See Creating a New Project.
OR
Note: Only one of the authors needs to perform this task. The other authors on the team can follow Step 3 below.
is displayed next to each file that is checked out. See Checking Out Source Control Files.
Basic workflow (single author)
Following are the basic steps for using Flare's source control integration for a single author:
Create and Bind New Project Create a new Flare project and simultaneously bind it to an integrated source control application. See Creating a New Project.
OR
Bind Existing Project If you have an existing Flare project on your local machine, bind the project to the source control application. See Binding an Existing Project to Source Control.
is displayed next to each file that is checked out. See Checking Out Source Control Files.
Additional Source Control Tasks and Features
Following are some additional tasks and features related to source control:
Two versions of same source control file (history/roll back) You can view code and content differences between two source control versions of the same file. This is useful if you need to roll back to an earlier version of a file. See Rolling Back to an Earlier Version of a File and Getting the Latest Version of Source Control Files.
example
Let's say that you have been working on a particular topic for a few days. Each day you check out the latest version of that topic file from source control, make your changes, and check the file back in to source control at the end of the day. At a certain point, you determine that you need to "roll back" to an earlier version of the file, using it to replace the latest version. Therefore, you use this feature to view the highlighted differences between the current version and an older version of the file. Once you have identified the older version that you want to use, you can perform a "get" of that version.
Two different source control files You can view code and content differences between the source control version of two different files.
example
Let's say that you have two topics that are quite similar in some aspects, but different in others. Rather than trying to scan the two topics with your eyes to determine the differences, you can select the two files in the Flare interface and use this feature. Flare will retrieve the source control versions of the two topic files and display the content and code of each side-by-side, highlighting the areas where differences occur.
Local versus source control version of a file You can view code and content differences between the local version of a file and the source control version of that file.
example
Let's say that you check out a procedure topic from source control and then add some lines of text to your local copy of that topic file. You save your changes. Later that day, you want to revisit the new content that you wrote, but you cannot remember exactly which lines of text you added. Therefore, you use this feature to highlight the text differences between your local checked-out version of the file and the version stored in the source control application. The new lines of text are highlighted on the side displaying the local version of the file.
Local versus source control version of all files in a folder You can view file differences between the local version of the files in a folder and the source control version. Most likely, you will use this to view all of the difference between the local files and source control files in either your Content Explorer or Project Organizer.
example
Let's say that you have checked out all of the files for a Flare project. During the course of the day, you add several new topics to the project, but you forget to add them to source control during the creation process. At the end of the day, you check in all of the files in the project to source control. Afterwards, you realize that you forgot to add the new files to source control. Therefore, you use this feature to see the file-level differences between your local copy of the Content Explorer root folder and the source control copy. The differences are color coded, so you can easily identify the files in question. (By default, the files that are included only in your local copy are green, and the files that are included only in source control are red.) You can then right-click on the files that were added only to the local copy, and you can select to add them to source control.
API If you are working with a source control application other than those directly supported in Flare (i.e., Microsoft Visual SourceSafe and Team Foundation Server), you can use the Microsoft Source Code Control API (SCC API) to integrate that application with your Flare project.
Note: It is not mandatory that you use the SCC API to use a source control application for your Flare project files. It is only necessary if you want to take advantage of the source control integration features inside Flare. Otherwise, you can manually add your Flare project files to any source control application.
Note: If you unpack a zipped project that is bound to source control, the files in the unpacked project become writable. See Opening Zipped Projects.
|
Downloads (PDF Format): Flare Transition From RoboHelp Guide |
MadCap Software, Inc. 7777 Fay Avenue La Jolla, California 92037 Tollfree 1-888-MadCap1 Tel 858-320-0387 Fax 858-320-0338 |
See Also