This is an old revision of the document!


Organization or Division code

This is a code which is always needed for Git Winch to work.

If set correctly, this code can be seen at the bottom left corner of the Git Winch Client Application represents the organization …or the division in the organization.

We call this the “orgname”.

This “orgname” is set using the text stored in a special file named orgname.txt in the same folder where the application was installed. The contents of this file is used as this code. This file is NOT bundled in the installation zip file. Get it from the owner/manager of the company.

If you are the owner or manager yourself, then you can create this orgname by attempting to create your first repository in the Manage page of Git Winch. Click the [+] button there and Git Winch will check if the orgname is given or not. If not, it will then ask you to create it first. Before creating, enter the owners PAT token in the PAT input-box.

NOTE: Orgname can only have alphanumeric characters and optionally, you can also use underscores. A minimum of 4 characters is needed. If the file contains more than 8 characters, the rest would be ignored.

What orgname to use?
As an owner, you can choose whatever name you want, as long as it is as per the specs given here. And you must communicate this name to other team members. Best way to do that is simply share the file “orgname.txt” to them. And ask them to save that file in the application's folder.

Changing this Org or Division Code
Usually, you would use only ONE orgname code and use that always. But in some offices, the same person may be working in two different divisions. In that case, that person may want to change this orgname, to switch to the correct organization/division.

You can change the organization code when working inside the application: Double click on the orgname at the bottm left corner, and it will prompt you for the new orgname.

IMPORTANT
If you work on a repository which is from a differentorgname then it will give a warning and/or work incorrectly.

Why?
Git Winch is used by many organizations. Some of them may have multiple divisions in them. This is used to differentiate between them. Also, it reduces the chance of “clashes” for the repository names that you use; as our coordination server may be handling the metadata for thousands of repositories.


Learn the concepts | Table of Contents

org.1751915754.txt.gz · Last modified: by admin