CVS Update and Skip Language

CVS Update and Skip Language

by Don Schwartz -
Number of replies: 9
Does anyone know a switch to force cvs to skip the language files(directories) and save me an hour of thumb twiddling? I can't find anything in cvs docs.

Also. I there a problem with CVS today or is it just me? Incredibly slow.

thanks, don
Average of ratings: -
In reply to Don Schwartz

Re: CVS Update and Skip Language

by Just H -
Hi Don

Have a look through this thread.

Should answer your question smile

regards
H
Average of ratings:Useful (1)
In reply to Don Schwartz

Re: CVS Update and Skip Language

by Verdon Vaillancourt -
CVS has been really nasty for me yesterday and today... 4-5 hours to checkout 1.8 and I still don't know if I have it all or not... I fell asleep. Am trying a status/update now to be sure, but thye speed is about the same
In reply to Verdon Vaillancourt

Re: CVS Update and Skip Language

by Larry Elchuck -
It has been terrible for the last few days .. makes it tough to update using this method. I'm no expert in this, but here's what I did to speed up the process.

Normally I would enter
cvs -d:pserver:anonymous@moodle.cvs.sourceforge.net:/cvsroot/moodle login
and then enter
cvs -q update -dP admin auth backup blocks blog calendar config-dist.php course doc enrol error file.php files filter grade group help.php index.php install/lang/en_utf8 install/lang/fr_utf8 index.php install.php iplookup lang/en_utf8 lang/fr lang/fr_utf8 lib login message mnet mod my pix question rss search sso theme user userpix version.php

This would update all files except for the lang files I do not need.

If you want to see the folders (not) fly by (lately), leave out the -q

But it has been so darn slow, I go to the 1.8 changes page
and see which files have changed. For April 18th 2006, instead of the above line, I entered:
cvs -q update -dP admin/uploaduser.php mod/data/view.php user/profile/lib.php admin/user.php lib/weblib.php

This way, it only spent time finding and updating the changed files since the day before.

A little bit more work, but at least it's not like watching paint dry.

As I said, I'm no coder .. so there may be a more efficient way to do this.

larry
In reply to Larry Elchuck

Re: CVS Update and Skip Language

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Larry - I too have noticed the performance using TortoiseCVS. It has literally taken hours to do a CVS update (Moodle_18_Stable and Moodle_16_stable) and it has not been reliable - i.e. occasionally failing. Peace.
In reply to Larry Elchuck

Re: CVS Update and Skip Language

by Just H -
Hi Larry

Any reason you login to CVS before updating?

All I do is navigate to the directory my Moodle install is and execute cvs update -dP (although with the recent slowdown I will be adding specifics to ignore language files etc.).

Regards
Harry
In reply to Just H

Re: CVS Update and Skip Language

by Larry Elchuck -
Just thought that I had to Harry.

Thanks for the tip.

larry
In reply to Larry Elchuck

Re: CVS Update and Skip Language

by Just H -
Hi Larry & Michael

I was curious more than anything else, thought I may have missed something smile

You only need to login for the initial checkout, after that it's just a straight update.

Still issues with cvs though sad Just trying it now and lo and behold:

-bash-3.00$ cvs update -dP
? class.phpmailer.php
? class.smtp.php
? config.php
? error_log
? admin/error_log
? admin/mysql
? backup/error_log
? blocks/cmsnavigation
? blocks/course_menu
? blocks/course_program
? blocks/gismo
? blocks/quickmail
? blocks/time
? blocks/timetracker
? blocks/youtube
? course/error_log
? course/report/log/error_log
? grade/error_log
? lang/en_utf8/block_quickmail.php
? lang/en_utf8/task.php
? login/error_log
? mod/.quiz
? mod/.revamped_chat
? mod/certificate
? mod/dialogue
? mod/flash
? mod/form
? mod/gallery
? mod/questionnaire
? mod/task
? mod/data/error_log
? mod/forum/error_log
? mod/quiz/a.php
? mod/quiz/attempt.php
? mod/quiz/attempt_close_js.php
? mod/quiz/class.phpmailer.php
? mod/quiz/class.smtp.php
? mod/quiz/comment.php
? mod/quiz/config.html
? mod/quiz/db
? mod/quiz/defaults.php
? mod/quiz/edit.php
? mod/quiz/editlib.php
? mod/quiz/error_log
? mod/quiz/icon.gif
? mod/quiz/index.php
? mod/quiz/jsclock.php
? mod/quiz/jstimer.php
? mod/quiz/lib.php
? mod/quiz/locallib.php
? mod/quiz/mod.html
? mod/quiz/pagelib.php
? mod/quiz/pix
? mod/quiz/protect_js.php
? mod/quiz/quiz_notification.php
? mod/quiz/quizfile.php
? mod/quiz/report
? mod/quiz/report.php
? mod/quiz/restorelib.php
? mod/quiz/restorelibpre15.php
? mod/quiz/review.php
? mod/quiz/reviewoptions.html
? mod/quiz/reviewquestion.php
? mod/quiz/styles.php
? mod/quiz/tabs.php
? mod/quiz/timer.js
? mod/quiz/version.php
? mod/quiz/view.php
? mod/quiz/view_js.php
? mod/resource/error_log
? pix/webding.gif
? pix/s/s_r2_c40.gif
? pix/s/toughtful.gif
? pix/t/moveright.gif
? question/error_log
? theme/CFA_formal_white
? theme/standard/error_log
? user/error_log

and then it seems to have kicked in properly. Maybe the idea of moving to SVN should be revisited.

H
In reply to Just H

Re: CVS Update and Skip Language

by Michael Street -
The reason for login is because that's how it's shown on the Docs page for CVS for Administrators. That's listed as the first step, so I too, thought that's what we had to do.

Anyway, I'm going on 2 days now for a CVS install of 1.8. Is there anyone out there who can tell us what's going on?