Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
btnaddrepo1 [2025/07/02 17:03] adminbtnaddrepo1 [2025/08/05 18:21] (current) admin
Line 2: Line 2:
  
 **What is a repository?**\\ **What is a repository?**\\
 +Simply put; it is a folder kept somewhere which stores not just files and internal folders but also their various versions. Read about it in the [[definitions?do=export_xhtml|definitions topic.]] 
  
-Simply speaking, think of a repository as folder inside which files and sub-folders are stored. But it is actually more than that: It also stores earlier versions of the files in there too. When you use //Git Winch// usually you would create more than one repository -- each one created to ensure that the members working on the files therein only handle just those files they need to work on, and not othersSo the work of an office can be separated on //need-to-know// basis. In case someone leaves the office, that person does not get the //entire// data of the office (which would have been the case if he/she was working without //Git Winch!//)+**Who can create new repository?**\\ 
 +You just need PAT (Personal Access Token) to one of the 3 types of Git Host we support, to create repository. You automatically becomes the freshly created repository's "owner"If you have been assigned as manager to someone elsethen that person would have given you an //encrypted// PAT. 
  
-**How to create new repository**\\ +  Read about setting a person as a manager [[setunsetmanager?do=export_xhtml|here.]] 
-A new repository can be created either by the owner or by another trusted person.+  * Read more about [[/gitlabApiToken1?do=export_xhtml | PAT here]]
  
-The //Personal Access Token// must be correctly created with the //create repository// permissionIf you are the owner of that PAT, you should enter that key in the PAT text-input box on the //Manage// page, and then proceed to create a repository.+**What are the mandatory requirements?**\\ 
 +//Git Winch// should be aware of the Orgname for which the repository is to be created
  
-A repository can be created by someone else too, say a trusted manager of some repository. In that case, the owner of the PAT should create an **//encrypted//** version of the PAT and share that encrypted version to that trusted personThat person should NOT enter that encrypted key into the PAT text-input box. (i.e. that box must be left empty) Instead, //Git Winch// will specifically ask for the encrypted PAT and then proceed to create a new repository.+If you are going to be the owner, then the //Personal Access Token// must be correctly created with the //create repository// permission at your Git HostThen, you should enter that key in the PAT text-input box on the //Manage// page, and then proceed to create a repository.
  
-Read more about [[/gitlabApiToken1?do=export_xhtml | PAT here]]+ 
 +If you are a manager, do NOT enter anything in the earlier mentioned text-input box. (i.e. that input box must be left empty)  You would have received the **//encrypted//** version of the PAT from the actual owner. So be ready with that.  
 + 
 +When a manager creates repo, //Git Winch// will specifically ask for the encrypted PAT which had got from the actual owner. Then //Git Winch// will proceed to create a new repository at the Git Host. The original owner will remain the owner of the repository.
  
 **Restrictions**\\ **Restrictions**\\
Line 18: Line 24:
  
 **IMPORTANT**\\ **IMPORTANT**\\
-You cannot clone a repository immediately after you have created it --//even if you are the owner!// You will have to first created deploy keys for yourself and other office workers you want to work in that repository. And; you will also have to //add yourself// (and those workers) as a member of that repository. +You cannot clone a repository immediately after you have created it --//even if you are the owner!// You will have to first created deploy keys for yourself and other office workers you want to work in that repository. And; you will also have to //add yourself// (and those workers) as a member of that repository. Such membership addition/deletion can also be done by the delegated manager of that repository (on behalf of the owner)
  
 Hover your mouse over those buttons, and press F1 for their help. Hover your mouse over those buttons, and press F1 for their help.
btnaddrepo1.1751468637.txt.gz · Last modified: by admin