(Add information on using svn switch to the snapshots page.) |
(Clarify that Svn snapshots really are Subversion checkouts near the beginning.) |
||
| Line 11: | Line 11: | ||
If you are trying to checkout a KDE source module, then there is a way to make the normally slow process of the initial checkout happen a lot quicker, thanks to automatically generated snapshots of the KDE source repository, which are stored in convenient archived form in the KDE FTP system. This page describes how to perform a checkout using a module snapshot. | If you are trying to checkout a KDE source module, then there is a way to make the normally slow process of the initial checkout happen a lot quicker, thanks to automatically generated snapshots of the KDE source repository, which are stored in convenient archived form in the KDE FTP system. This page describes how to perform a checkout using a module snapshot. | ||
| + | |||
| + | Keep in mind that these snapshots are '''real Subversion checkouts''', containing all of the required Subversion metadata. This procedure can in fact be the quickest way to checkout a module, thanks to the abundance of FTP mirrors. | ||
{{note|This procedure only works if the module you want has nightly snapshots generated (most do), and if you want the '''trunk''' version of the module.}} | {{note|This procedure only works if the module you want has nightly snapshots generated (most do), and if you want the '''trunk''' version of the module.}} | ||
| Tutorial Series | Getting Started |
| Previous | None |
| What's Next | Building KDE4 |
| Further Reading | Anonymous SVN Quickstart Guide Increased Productivity in KDE4 with Scripts Introduction to CMake |
If you are trying to checkout a KDE source module, then there is a way to make the normally slow process of the initial checkout happen a lot quicker, thanks to automatically generated snapshots of the KDE source repository, which are stored in convenient archived form in the KDE FTP system. This page describes how to perform a checkout using a module snapshot.
Keep in mind that these snapshots are real Subversion checkouts, containing all of the required Subversion metadata. This procedure can in fact be the quickest way to checkout a module, thanks to the abundance of FTP mirrors.
| Note |
|---|
| This procedure only works if the module you want has nightly snapshots generated (most do), and if you want the trunk version of the module. |
First go to The KDE Mirror Redirector and choose the best FTP server for your location. Usually this will be a server in your country/state. Click on the link for the FTP server and navigate to the snapshots directory. In this directory will be a large list of KDE modules which are archived.
You want to download the module with the name in the following format: kdemodule-svn.tar.bz2. Go ahead and save this archive to your hard disk somewhere. You'll need to be able to reach this location from the command line later.
| Note |
|---|
| It is important to get the module with the -svn in the file name. There are other types of snapshots also in the same directory for each module. But only modules with -svn contain the necessary information to allow for completing a checkout. |
Now for the checkout, go ahead and open a terminal shell and perform the following steps:
cs # cs is not a typo tar xvjf /path/to/kdemodule-svn.tar.bz2 cd kdemodule svn revert -R . # This step restores the missing files. svn up # This step updates the source to the latest code, and is optional.
That's it! You've got a valid KDE module checkout now. Some things to keep in mind: