FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » FUDforum 2 CVS  () 2 Votes
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
FUDforum 2 CVS [message #1440] Sun, 14 April 2002 16:05 Go to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here are the instruction how to get FUDforum 2 (Alpha) from CVS:

mkdir forum2
cd forum2
cvs -z9 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .


This will fetch all of the forum's files.

To create an install script, you'll need to run the following commands:
./create_file_list install >> install.php


Now you can copy install.php into a web browseable dir & install the forum.

**note** if you've already downloaded the sources from the CVS once you can do the following:

cd forum2
rm install.php
cvs -z9 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 update .


For singular file downloads Web CVS is avaliable at:
http://cvs.prohost.org/c/viewcvs.cgi/


FUDforum Core Developer

[Updated on: Thu, 06 June 2002 18:38]

Report message to a moderator

Re: FUDforum 2 CVS [message #1595 is a reply to message #1440] Fri, 19 April 2002 15:18 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
How do I update my local files? Can I use the same command or should I alter it in some way? I mean, there's no need to download the whole thing if one can simply download the diffs.

[Updated on: Fri, 19 April 2002 15:19]

Report message to a moderator

Re: FUDforum 2 CVS [message #1597 is a reply to message #1595] Fri, 19 April 2002 15:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Instead of the "checkout" command you use "update" command.

Ex:

vs -z9 -d Razzserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 update .


FUDforum Core Developer
icon6.gif  Re: FUDforum 2 CVS [message #1606 is a reply to message #1440] Fri, 19 April 2002 20:14 Go to previous messageGo to next message
Kerhold is currently offline  Kerhold   Poland
Messages: 18
Registered: April 2002
Location: Warsaw, Poland
Karma: 0
Junior Member

prottoss wrote on Sun, 14 April 2002 6:05 PM


To create an install script, you'll need to run the following commands:

cd src;
./create_file_list install >> install.php

Now you can copy install.php into a web browseable dir & install the forum.


Hmm. If I want to upgrade my forum files, I will have to install forum one more time. Am i right? And when I do 'update' from CVS, I have to create again 'install.php' and install forum? Or is it simpler way?


Common sense is not so common.
Re: FUDforum 2 CVS [message #1611 is a reply to message #1606] Fri, 19 April 2002 21:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No Message Body

FUDforum Core Developer
Re: FUDforum 2 CVS [message #1623 is a reply to message #1606] Sat, 20 April 2002 05:57 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
Kerhold wrote on Fri, 19 April 2002 11:14 PM


Hmm. If I want to upgrade my forum files, I will have to install forum one more time. Am i right? And when I do 'update' from CVS, I have to create again 'install.php' and install forum? Or is it simpler way?


Be careful, I was fooled by this a couple times before I got it right. Prottoss' instructions tells you to append the result of 'create_file_install install' to install.php. If you do this more than once on the same file you will end up with a very large install.php which always installs the first version you created, not the later versions.
Re: FUDforum 2 CVS [message #1629 is a reply to message #1623] Sat, 20 April 2002 15:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Very true...

To rebuild the install script you need to do:

rm install.php

cvs -z9 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 update install.php

./create_file_list install >> install.php


FUDforum Core Developer

[Updated on: Sat, 20 April 2002 23:38]

Report message to a moderator

Re: FUDforum 2 CVS [message #1667 is a reply to message #1440] Sat, 20 April 2002 23:13 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
I tried to create the install but just ended up with bash: ./create_file_list: bad interpreter: no such file or directory.

Did I do something wrong?


Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1668 is a reply to message #1667] Sat, 20 April 2002 23:14 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
In that case you need to edit the 1st line of the create_file_list script, and change the path of the php binary.

FUDforum Core Developer
Re: FUDforum 2 CVS [message #1676 is a reply to message #1668] Sat, 20 April 2002 23:33 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
ok, in redhat php is located in /usr/bin

Seems un-standard.


Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1677 is a reply to message #1676] Sat, 20 April 2002 23:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The default PHP installation puts its binary into /usr/local/bin/,
I dunno why r-hat decided to put it else where...


FUDforum Core Developer
Re: FUDforum 2 CVS [message #1679 is a reply to message #1676] Sat, 20 April 2002 23:37 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
what I did was to edit the path to php. Then I stayed within the forum2 directory and did ./create_file_list install >> install.php and it all worked. If I cd to the src it wouldn't work.

Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1680 is a reply to message #1677] Sat, 20 April 2002 23:38 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
prottoss wrote on Sat, 20 April 2002 7:35 PM

The default PHP installation puts its binary into /usr/local/bin/,
I dunno why r-hat decided to put it else where...


yeah, that would make more sense to me anyways to have it in /usr/local/bin.

Which Linux variant are you using?


Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1681 is a reply to message #1679] Sat, 20 April 2002 23:39 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
rgr, I will revise the CVS instructions

FUDforum Core Developer
Re: FUDforum 2 CVS [message #1682 is a reply to message #1681] Sat, 20 April 2002 23:44 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
Now I'm in business. Took only 10 seconds.

Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1684 is a reply to message #1682] Sat, 20 April 2002 23:47 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
if you use the domain socket for mysql in Redhat, it's located in :/var/lib/mysql/mysql.sock . Redhat keeps everything in a weird place.

Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1687 is a reply to message #1684] Sat, 20 April 2002 23:50 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
JayЩ~ wrote on Sat, 20 April 2002 7:47 PM

if you use the domain socket for mysql in Redhat, it's located in :/var/lib/mysql/mysql.sock . Redhat keeps everything in a weird place.


As long as you know where it is, it's all good Smile


FUDforum Core Developer
Re: FUDforum 2 CVS [message #1880 is a reply to message #1629] Wed, 24 April 2002 01:28 Go to previous messageGo to next message
mauftarkie   United States
Messages: 29
Registered: April 2002
Karma: 0
Junior Member

... and if you're like me, and don't have a separate PHP binary, here's a little Perl script that does the same thing.

Usage: in the forum2 CVS directory,
./create_file_list.pl install >> install.php

I actually copy install.php to install-cvs.php and append to that file, which I then move to the web directory where I install. YMMV.
Re: FUDforum 2 CVS [message #1881 is a reply to message #1880] Wed, 24 April 2002 01:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
One small note the script above requires
Digest/MD5.pm
MIME/Base64.pm


FUDforum Core Developer
Re: FUDforum 2 CVS [message #1882 is a reply to message #1881] Wed, 24 April 2002 01:59 Go to previous messageGo to next message
mauftarkie   United States
Messages: 29
Registered: April 2002
Karma: 0
Junior Member

Thank you. I meant to mention that. I swear I need a vacation.

Oh wait. I'm on vacation right now. <S> There's just no winning, is there?
Re: FUDforum 2 CVS [message #2325 is a reply to message #1440] Tue, 07 May 2002 19:28 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
well, i read all the posts here so I'll tackle the install later

but for now here is what I did...telnet into my site, created the directory forum2 and switched to that directory, ran the cvs commad to checkout the files...

Got the following error: cvs checkout: cannot find the password. cvs [checkout aborted]: use "cvs login" to login in first



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2413 is a reply to message #2325] Wed, 08 May 2002 17:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try using the command without the -d flag

If that does not work then do:

export CVSROOT=:pserver:anonymous(at)asuka(dot)prohost(dot)org/forum2
cvs login
[press enter when promted for password]
cvs checkout .


FUDforum Core Developer

[Updated on: Wed, 08 May 2002 17:52]

Report message to a moderator

Re: FUDforum 2 CVS [message #2461 is a reply to message #2413] Thu, 09 May 2002 07:12 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
nope

bash-2.02$ export CVSROOT=Razzserver:anonymous(at)asuka(dot)prohost(dot)org/forum2 cvs login
bash-2.02$ cvs checkout .
cvs checkout: missing hostname in CVSROOT: Razzserver:anonymous(at)asuka(dot)prohost(dot)org/
forum2
cvs [checkout aborted]: Bad CVSROOT.
bash-2.02$

I must have a screwy system!


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2466 is a reply to message #2461] Thu, 09 May 2002 14:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do:
cvs --version

Your cvs version is probably too old, if it less then version 1.11


FUDforum Core Developer
icon13.gif  Re: FUDforum 2 CVS [message #2475 is a reply to message #2466] Thu, 09 May 2002 20:57 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
1.10.3 Sad
bummer

I'll ask the host to upgrade

any other way?


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2476 is a reply to message #2475] Thu, 09 May 2002 21:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I'll see about setting up a utility that would generate CVS snapshots every 24 hours or so.

I'll look in to this tonight.


FUDforum Core Developer
Re: FUDforum 2 CVS [message #2477 is a reply to message #2475] Thu, 09 May 2002 21:24 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Why not installing CVS on ur local computer? There's no need to call it remotely. Just go to the Unix or Windows home of CVS install the proper version and u don't have any more problems with it. U can also write a shellscript for the commands, so u need not typing them each time u want to retrieve the latest files.
bye Ken
Re: FUDforum 2 CVS [message #2478 is a reply to message #2461] Thu, 09 May 2002 21:29 Go to previous messageGo to next message
hackie is currently offline  hackie   Canada
Messages: 177
Registered: January 2002
Karma: 0
Senior Member
Core Developer

esm2002 wrote on Thu, 09 May 2002 3:12 AM

nope

bash-2.02$ export CVSROOT=:Pserver:anonymous(at)asuka(dot)prohost(dot)org/forum2 cvs login
bash-2.02$ cvs checkout .
cvs checkout: missing hostname in CVSROOT: :Pserver:anonymous(at)asuka(dot)prohost(dot)org/
forum2
cvs [checkout aborted]: Bad CVSROOT.
bash-2.02$

I must have a screwy system!


err... prottoss mistyped that! :) try this first

cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .


cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault

[Updated on: Thu, 09 May 2002 21:31]

Report message to a moderator

Re: FUDforum 2 CVS [message #2497 is a reply to message #2478] Fri, 10 May 2002 07:53 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
Got the following error: cvs checkout: cannot find the password. cvs [checkout aborted]: use "cvs login" to login in first


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2498 is a reply to message #2478] Fri, 10 May 2002 08:04 Go to previous messageGo to next message
hackie is currently offline  hackie   Canada
Messages: 177
Registered: January 2002
Karma: 0
Senior Member
Core Developer

hackie wrote on Thu, 09 May 2002 5:29 PM

esm2002 wrote on Thu, 09 May 2002 3:12 AM

nope

bash-2.02$ export CVSROOT=:Pserver:anonymous(at)asuka(dot)prohost(dot)org/forum2 cvs login
bash-2.02$ cvs checkout .
cvs checkout: missing hostname in CVSROOT: :Pserver:anonymous(at)asuka(dot)prohost(dot)org/
forum2
cvs [checkout aborted]: Bad CVSROOT.
bash-2.02$

I must have a screwy system!


err... prottoss mistyped that! :) try this first

cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .



do this
touch ~/.cvspass
cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 login
[press enter when it prompts for the password]
cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .



cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault
Re: FUDforum 2 CVS [message #2499 is a reply to message #2498] Fri, 10 May 2002 08:53 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
getting close...
first I entered cd forum2 THEN entered your commands

after press pressing enter at the password prompt, I got

cvs [login aborted]: could not open /home/acct351/.cvspass: is a directory



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2501 is a reply to message #2499] Fri, 10 May 2002 14:12 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do:

touch /home/acct351/.cvspass


Then repeat the commands hackie has listed above.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FUD is down
Next Topic: lib.js in adm 404 error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 02:16:45 GMT 2024

Total time taken to generate the page: 0.03265 seconds