[Cod-bugs] svn does not work

Saulius Gražulis grazulis at ibt.lt
Mon Feb 17 16:12:18 EET 2020


Hi, Philipp,

On 2020-02-17 16:12, Philipp Hans wrote:
> I want to install the cod on my computer via
> 
> |svn co svn://www.crystallography.net/cod|
> 
> but at some point I should enter a password in the following way
> "philipp at saulius-grazulis.lt's password:"

It seems that we have a link to the external repository that is not public.

For now, as a workaround I can suggest you to check out just the COD
data directories:

> cd cod
> svn up --set-depth exclude branches/ docs/ html/ retracted/ statistics/ tags/ trunk/ vendor/
> svn cleanup 

this should remove all directories that contain experimental code and
leave you with just cif/, hkl/, mysql/ and smi/ directories that contain
the actual COD data. The 'svn update' command would then update only the
directories that you have checked out, and leave out the rest.

You can always check out additional directories later of you need them.

> The directory cod is bigger than 80 GB and has > 10^6 items

The 'svn cleanup' should free some of your disk space as well, but yes,
COD has grown larger – 450 thousand records, and that takes some space.

If you a short of disk space you can make a sparse Subversion checkout
and have just those directories that you need. For example, if you run:

cd cod/cif/1
svn up --set-depth empty 00
svn cleanup

then the contents of the directory '00/' will be removed from your local
working copy. You can restore it later using commands:

cd cod/cif/1
svn up --set-depth infinity 00

Please check the "Version control with Subversion" book for details.

Hope this helps,
Saulius

-- 
Dr. Saulius Gražulis
Vilnius University Institute of Biotechnology, Saulėtekio al. 7
LT-10257 Vilnius, Lietuva (Lithuania)
fax: (+370-5)-2234367 / phone (office): (+370-5)-2234353
mobile: (+370-684)-49802, (+370-614)-36366
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grazulis.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.crystallography.net/pipermail/cod-bugs/attachments/20200217/2f07c57c/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.crystallography.net/pipermail/cod-bugs/attachments/20200217/2f07c57c/attachment.sig>


More information about the Cod-bugs mailing list