> For the complete documentation index, see [llms.txt](https://docs.plextrac.com/plextrac-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plextrac.com/plextrac-documentation/product-documentation/content-library/writeupsdb/managing-repositories.md).

# Managing Repositories

A repository is a versatile tool for managing writeups. It organizes content into structured categories, allowing for efficient reuse across reports. Repositories grant varying access permissions, enhancing collaboration and control.

## Changing Settings

<mark style="background-color:yellow;">Step 1:</mark> From the **WriteupsDB** module home page, click the repository to update.

<div align="left"><figure><img src="/files/P70XSItzrBhqssfM3AHr" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2:</mark> Click **Repository Settings.**&#x20;

{% hint style="info" %}
If the repository is not an "Open" type repository, admins will also see a [**Users & Permissions**](/plextrac-documentation/product-documentation/content-library/writeupsdb/managing-users.md) link next to the settings option.&#x20;
{% endhint %}

<div align="left"><figure><img src="/files/T1GnxY6wKR1zwssMjfZi" alt="" width="540"><figcaption></figcaption></figure></div>

All fields that existed when creating the repository are available for editing, with an additional button to delete the repository.

<div align="left"><figure><img src="/files/3RkO6o240vbPNQB9Nwkt" alt="" width="563"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> Click **Submit** when finished.

## Copying a Repository

<mark style="background-color:yellow;">Step 1:</mark> From the **Repositories** tab of the **WriteupsDB** module, click the meatballs menu found on the repository card to copy.

<div align="left"><figure><img src="/files/w6Ry3cTXpdwl4PYq5Rs1" alt="" width="295"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 2:</mark> Click **Copy Repository**.

<div align="left"><figure><img src="/files/6Vih6xSnF8BN8yA2XFmc" alt="" width="343"><figcaption></figcaption></figure></div>

<mark style="background-color:yellow;">Step 3:</mark> Change the repository name, add a section ID, update the description as needed, and validate access permissions. Click **Save**.

<div align="left"><figure><img src="/files/lpCwi0Tm4nhWgCGRv8hx" alt="" width="563"><figcaption></figcaption></figure></div>

The new repository has been created and is listed on the **Repositories** tab.&#x20;

## Deleting a Repository

{% hint style="danger" %}
This action will delete the repository and all its writeups for all users.&#x20;
{% endhint %}

A repository can be deleted in two ways:

1. Click the meatballs menu on the repository card from the **Repositories** tab of the WriteupsDB module. Then, click the meatballs menu again in the repository card and click **Delete Repository**.\
   ![](/files/hCzT5sya2YSpDkC2fNnF)
2. Click the meatballs menu on the repository card from the **Repositories** tab of the WriteupsDB module. Select **Repository Settings**, then scroll to the bottom and click **Delete Repository**.\
   ![](/files/GLB1vKg9s49Lfw9SDMlq)

A warning message will appear asking for validation. Click **Delete** to continue.&#x20;

<div align="left"><figure><img src="/files/bUsqCQW3YvjzEsAeh98x" alt="" width="330"><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.plextrac.com/plextrac-documentation/product-documentation/content-library/writeupsdb/managing-repositories.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
