Delete from Repository

Administrators can delete items from Colectica Repository.

To delete an item, use the Delete from Repository command.

Note

Items can only be deleted on the repository by users with the ColecticaAdministrator role.

Note

After an item is deleted, it is impossible to restore it unless you have a database backup.

  1. Navigate to an item under a repository.

  2. Click the Delete from Repository button in the ribbon.

  3. In the options dialog, choose the appropriate options.

    Scope

    Determines which items are to be deleted.

    Behavior when an item is referenced by an item that is not being deleted

    Determines the behavior when an item to be deleted is referenced by items that are not to be deleted. In this case, deleting the item would cause broken references, so the deletion is not allowed. See below for a description of the options.

  4. A summary of the deleted items is displayed. If any options were referenced by items not to be deleted, these items are listed, along with the items that reference them.

Scope options

This item and all descendants

This item and all items that are children of this item, children of the children, and so on.

This item only

Only the active item.

Previous version of this item

Only the previous version of the active item. The active item is not deleted.

Previous version of this set

Only the single previous version of each item in the set. The active items are not deleted.

All prior versions of this item

All prior versions of the active item. The active item is not deleted.

All prior versions of this set

All prior versions of all items in the set. The active items are not deleted.

Behavior options

Although items can be requested to be deleted, Colectica Repository will not delete items that are referenced by items that are not being deleted. This is to prevent broken references in the repository.

The following options are available to handle this situation.

Stop, and do not delete anything

If any items to be deleted are referenced by items that are not being deleted, no items will be deleted.

Deprecate the referenced items instead

If any items to be deleted are referenced by items that are not being deleted, the referenced items will be deprecated, but not deleted.

Skip the referenced items

If any items to be deleted are referenced by items that are not being deleted, the referenced items will be skipped. Any items not referenced by items outside the scope will be deleted.