You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Repository cleanup occurs after the primary owner of a subversion repository becomes inactive.

The primary owner of a subversion repository is generally the person who created the repository and is limited to faculty, staff and students. The primary owner of any repository can be changed at any time by submitting a support ticket to help@rice.edu asking for the ownership to be changed.

When an individual who is the primary owner of a repository leaves the University the resources and data for which they had access needs to be dealt with. In the case of subversion repositories, this data needs to be removed or another suitable owner needs to be found.

Some repositories are for the individual owners only. They are the only ones with access to the repositories and when they leave, their repositories will be removed.

Some repositories are shared resources where many people have access and several people maintain it. In this case, a new owner for the repository needs to be found since the function of the repository is greater than the individual that owned it. In shared repositories, we see the concept of alternate owners. These are individuals who, while not the primary owner of the repository, are listed with privileges in the access_file to be able to make full changes to the repository by having WRITE access to the /rice_config folder. It is from this list of alternate owners that we will try to find the next primary owner of the repository.

So, let's discuss what happens during the repository cleanup process.

Every Sunday, a process will run that looks for any repositories where the primary owner has become inactive. Any repositories that are found in this state, will be processed further.

In the first step of processing, the repository's /rice_config folder will be checked out and parsed to determine the owners, and possibly alternate owners, of the repository. The information learned will be stored in a database for reference later.

The repository's status will be changed from it's normal state of READY to NOTIFY and an email will be sent to all active owners (including any alternate owners). This email will explain that the repository is scheduled for deletion and what to do if the person wants to claim ownership of the repository. A URL link is included in the email that will take the alternate owner to the claim repository page in Apply. If the repository is claimed by one of the alternate owners, the repository is removed from the deletion list and an email is sent to all alternate owners that the repository has been claimed.

Hello Repository Owner,

This is a message from the Rice Subversion Repository clean up process.

This is NOTIFICATION %NOTIFICATION_NUM% of %NOTIFICATION_TOTAL%.

The following repository is in process to be deleted.

      Repository: %REPO_NAME%
           Owner: %REPO_OWNER%
Alternate Owners: %REPO_OWNERS%
    Archive Date: %ARCHIVE_DATE%
    Removal Date: %REMOVAL_DATE%

If you wish to claim this repository as the new owner, you must visit Apply to claim it.

https://apply.rice.edu/index.php?module=maintenance&page=claim_repository

Once the repository has been claimed by an active user, it will automatically be removed from the deletion queue. Please note that guests, even if active, can not claim ownership of the repository.

You or one of the other alternate owners, if there are any, of the repository have 4 weeks to claim the repository before it is automatically archived.  Once archived, the repository will become inaccessible.  After the repository has been archived for 4 weeks, it will be removed.

You will receive a message once a week during the 8 week period or until someone claims the repository. 

----

You were sent this message because you are listed as the owner or as an alternate owner of the repository.

Alternate owners are people who have read/write permissions to the /rice_config folder of the repository.

-- Rice Admins

  • No labels