Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Section
Column
width30%

Rice Subversion Repository Hooks

What are repository hooks?

We currently support the following hooks for any repository.

Use the links below to find out how to activate any of these hooks for your repository and to find out what these hooks do.

Column
width40%70%

What is a Subversion Repository Hook?

A hook is a program triggered by some repository event, such as the creation of a new revision or the modification of an unversioned property. Some hooks (the so-called "pre hooks") run in advance of a repository operation and provide a means by which to both report what is about to happen and to prevent it from happening at all. Other hooks (the "post hooks") run after the completion of a repository event, and are useful for performing tasks that examine—but don't modify—the repository. Each hook is handed enough information to tell what that event is (or was), the specific repository changes proposed (or completed), and the username of the person who triggered the event.

Version Control with Subversion by O'Reilly Media(c)

What is a Pre-Commit Hook?

The pre-commit hook is run just before a commit transaction is promoted to a new revision. Typically, this hook is used to protect against commits that are disallowed due to content or location (for example, your site might require that all commits to a certain branch include a ticket number from the bug tracker, or that the incoming log message is non-empty).

Version Control with Subversion by O'Reilly Media(c)

What is a Post-Commit Hook?

The post-commit hook is run after the transaction is committed, and a new revision created. Most people use this hook to send out descriptive emails about the commit or to notify some other tool (such as an issue tracker) that a commit has happened. Some configurations also use this hook to trigger backup processes.

Version Control with Subversion by O'Reilly Media(c)

Column
width30%

Subversion Maintenance Schedule

Regular maintenance
  • Monday mornings from 8am to 9am
Next Repository group creation
  • July 27th 8am - 8pm.
Deck of Cards
idChartDeck
Card
labelOverview

Overall Charts

Chart
3Dfalse
typepie
dataOrientationhorizontal
titleRepository Space Available
Wiki Markup

{sql:dataSource=wiki|output=wiki}
select 161061273600/1024/1024 as total, trunc((161061273600 - sum(r.repo_size)*2)/1024/1024) as free, trunc((sum(r.repo_size)*2)/1024/1024) as used from owl_repository r where r.repo_status <> 'deleted'
{sql}
{sql:dataSource=wiki|output=wiki} select d.repo_name as name, max(d.repo_revision) as revision from owl_repository_data d JOIN owl_repository r ON d.repo_group_code = r.repo_group_code and d.repo_name = r.repo_name where r.repo_status <> 'deleted' and d.repo_group_code = 'svn' group by name order by revision desc limit 10 {sql}
Card
labelsvn.rice.edu

svn.rice.edu Charts

Chart
3Dfalse
ylabelSize in Megabytes
timePeriodDay
categoryLabelPositiondown45
typebar
dataOrientationvertical
titleTop 10 Repository Sizes
colorsblue
Wiki Markup

{sql:dataSource=wiki|output=wiki}
select repo_name as name, repo_size/1024/1024 as size from owl_repository where repo_group_code = 'svn' and repo_status <> 'deleted' order by repo_size desc limit 10
{sql}
Chart
3Dfalse
ylabelNumber of Revisions
timePeriodDay
categoryLabelPositiondown45
typeline
dataOrientationvertical
titleTop 10 Repository Revisions
colorsgreen
Wiki Markup
Card
labelit.svn.rice.edu

it.svn.rice.edu Charts

Chart
3Dfalse
ylabelSize in Megabytes
timePeriodDay
categoryLabelPositiondown45
typebar
dataOrientationvertical
titleTop 10 Repository Sizes
colorsblue
Wiki Markup

{sql:dataSource=wiki|output=wiki}
select repo_name as name, repo_size/1024/1024 as size from owl_repository where repo_group_code = 'it.svn' and repo_name <> 'subversion' and repo_status <> 'deleted' order by repo_size desc limit 10
{sql}
Chart
3Dfalse
ylabelNumber of Revisions
timePeriodDay
categoryLabelPositiondown45
typeline
dataOrientationvertical
titleTop 10 Repository Revisions
colorsgreen
Wiki Markup

{sql:dataSource=wiki|output=wiki}
select d.repo_name as name, max(d.repo_revision) as revision from owl_repository_data d JOIN owl_repository r ON d.repo_group_code = r.repo_group_code and d.repo_name = r.repo_name where r.repo_status <> 'deleted' and d.repo_group_code = 'it.svn' and d.repo_name <> 'subversion' group by name order by revision desc limit 10
{sql}
Card
labelhpc.svn.rice.edu

hpc.svn.rice.edu Charts

Chart
3Dfalse
ylabelSize in Megabytes
timePeriodDay
categoryLabelPositiondown45
typebar
dataOrientationvertical
titleTop 10 Repository Sizes
colorsblue
Wiki Markup

{sql:dataSource=wiki|output=wiki}
select repo_name as name, repo_size/1024/1024 as size from owl_repository where repo_group_code = 'hpc.svn' and repo_name <> 'subversion' and repo_status <> 'deleted' order by repo_size desc limit 10
{sql}
Chart
3Dfalse
ylabelNumber of Revisions
timePeriodDay
categoryLabelPositiondown45
typeline
dataOrientationvertical
titleTop 10 Repository Revisions
colorsgreen
Wiki Markup

{sql:dataSource=wiki|output=wiki}
select d.repo_name as name, max(d.repo_revision) as revision from owl_repository_data d JOIN owl_repository r ON d.repo_group_code = r.repo_group_code and d.repo_name = r.repo_name where r.repo_status <> 'deleted' and d.repo_group_code = 'hpc.svn' and d.repo_name <> 'subversion' group by name order by revision desc limit 10
{sql}
h2. Issues {jiraissues:url=https://docs.rice.edu/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?&pid=10071&sorter/field=issuekey&sorter/order=DESC}

Card
labelIssues
Wiki Markup