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/08 19:18] adminbtnaddrepo1 [2025/08/05 18:21] (current) admin
Line 2: Line 2:
  
 **What is a repository?**\\ **What is a repository?**\\
-Read about it in the [[definitions?do=export_xhtml|definitions topic.]] +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.]] 
  
-**How to create a new repository**\\ +**Who can create a new repository?**\\ 
-A new repository can be created either by the owner or by another trusted person (i.e. a //manager//).+You just need a PAT (Personal Access Token) to one of the 3 types of Git Host we support, to create a repository. You automatically becomes the freshly created repository's "owner"If you have been assigned as manager to someone else, then that person would have given you an //encrypted// PAT
  
-The //Personal Access Token// must be correctly created with the //create repository// permission. If 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.+  * Read about setting a person as a manager [[setunsetmanager?do=export_xhtml|here.]] 
 +  * Read more about [[/gitlabApiToken1?do=export_xhtml | PAT here]]
  
-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.+**What are the mandatory requirements?**\\ 
 +//Git Winch// should be aware of the Orgname for which the repository is to be created
  
-Read more about [[/gitlabApiToken1?do=export_xhtml | PAT here]]+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 Host. Then, you should enter that key in the PAT text-input box on the //Manage// page, and then proceed to create a repository. 
 + 
 + 
 +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 17: 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.1751995103.txt.gz · Last modified: by admin