Capitolo 5. Repository Administration

Indice

Repository: Concetti di base
Capire le transazioni e le revisioni
Unversioned Properties
Repository Data Stores
Berkeley DB
FSFS
Repository Creation and Configuration
Hook Scripts
Berkeley DB Configuration
Repository Maintenance
An Administrator's Toolkit
svnlook
svnadmin
svndumpfilter
Berkeley DB Utilities
Repository Cleanup
Managing Disk Space
Repository Recovery
Migrating a Repository
Repository Backup
Adding Projects
Choosing a Repository Layout
Creating the Layout, and Importing Initial Data
Summary

The Subversion repository is the central storehouse of versioned data for any number of projects. As such, it becomes an obvious candidate for all the love and attention an administrator can offer. While the repository is generally a low-maintenance item, it is important to understand how to properly configure and care for it so that potential problems are avoided, and actual problems are safely resolved.

Il repository Subversion è il deposito centrale per informazioni sotto controllo di versione, che costituiscono vari progetti. Perciò, il repository Subversion diventa un naturale candidato per tutto l'amore e attenzione che un amministratore può offrire. Generalmente il repository non ha bisogno di una grossa manutenzione, però, è importante capire come configurarlo in modo corretto e come prendersene cura riuscendo cosi a minimizzare i potenziali problemi ed a risolvere in modo sicuro i problemi che potrebbero emergere.

In this chapter, we'll discuss how to create and configure a Subversion repository. We'll also talk about repository maintenance, including the use of the svnlook and svnadmin tools (which are provided with Subversion). We'll address some common questions and mistakes, and give some suggestions on how to arrange the data in the repository.

In questo capitolo discuteremo sul come si crea e si configura un repository Subversion. Parleremo anche della gestione di un repository, includendo l'uso degli strumenti svnlook e svnadmin (forniti con Subversion). Rivolgeremo altresì l'attenzione alle problematiche ed agli errori più comuni, dando alcuni suggerimenti sul come organizzare i dati nel repository.

If you plan to access a Subversion repository only in the role of a user whose data is under version control (that is, via a Subversion client), you can skip this chapter altogether. However, if you are, or wish to become, a Subversion repository administrator, [27] you should definitely pay attention to this chapter.

Se le vostre intenzioni sono quelle di utilizzare un repository Subversion come un semplice utente che ha i suoi dati sotto controllo di versione (utilizzando un client Subversion), potete saltare questo capitolo a piedi pari. Comunque, se siete, o vorreste diventare, un amministratore di un repository Subversion, However, if you are, or wish to become, a Subversion repository administrator, [28] dovreste sicuramente leggere con attenzione questo capitolo.



[27] This may sound really prestigious and lofty, but we're just talking about anyone who is interested in that mysterious realm beyond the working copy where everyone's data hangs out.

[28] Questo potrebbe suonare pretenzioso ma stiamo solo rivolegendoci a chiunque sia interessanto al misterioso mondo dietro ad una copia di lavoro contenente i dati di chiunque.