Search the web
Sign In
New User? Sign Up
a-a-p-dev · A-A-P project development list (closed)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Easy download   Message List  
Reply | Forward Message #22 of 43 |
Re: CVS repository (was: [a-a-p-dev] Easy download)

On Tue, 9 Jul 2002, Bram Moolenaar wrote:

> Aschwin Marsman wrote:

> > cvs commit is not enough?
>
> That doesn't add new files or remove old files. The recipe I'm using
> for creating the .zip archive already contains a list of all the files
> that are to be distributed. I want to edit this list only once, it
> should also be used for CVS. This also makes sure the zip archive
> contains the same items as what is in CVS.

Good point, should be easy (cvs add, cvs remove)

> > > Having read part of the CVS documentation reminded me how complicated
> > > this is for distributing software. I'll also try to think of a simple
> > > way that just uses files on an ftp or http server.
> >
> > When you are used to it, it's no problem.
>
> I think it's still a problem. Example: When I imported the A-A-P files
> to the SourceForge CVS server, after reading their documentation, I
> discovered they had been put in "Exec/Exec", thus one directory too
> deep. Think I could quickly fix this, I made another mistake and ended
> up with the "Exec" files in the top directory. The third time I did it
> right, the "Exec" directory had the right files.
>
> Now, I can delete the files from the wrong directories, but I can't
> delete the empty directories. On a local system you would bypass CVS
> and do this manually. The SourceForge CVS server doesn't have shell
> access, thus I had to submit a support request (which was handled in
> only a few hours, thankfully to the SourceForge staff!).
>
> Not only did this show there are still things you can't do with CVS, it
> also shows it doesn't have a proper "undo" mechamism (that's not the
> same as rolling back versions). And it's not too difficult to make
> mistakes.

For a SCM system, you don't want to change history. But I do agree,
that a little misstake can be made, and that it can't be corrected
using cvs commands alone.

> Add to that the magic commands and options and URLs you have to type,
> and you quickly decide to make a script to do this stuff. Or at least a
> shell alias.

That's what UNIX is all about.

> > I'm having problems with gettings Exec to work.
> >
> > I'm running RH 7.3, which installs the following for Python:
> >
> > $ rpm -q python
> > python-1.5.2-38
> > $ rpm -q python2
> > python2-2.2-16
> >
> > The scripts look for python, which is python 1.5.2 ;-(
>
> Hmm, I think the program currently requires Python 2. I might have an
> attempt to make it work with Python 1.5 again (later). I'll check to
> see if it's possible to detect the presence of python2. However, this
> won't be possible in the scripts that start with
> "#!/usr/bin/env python". Unless someone knows a trick.

Isn't python 2 always installed at python2, or is this a RH invention?

> > Finding help gives:
> >
> > $ ./Main.py -v -help
> > Traceback (innermost last):
> > File "./Main.py", line 96, in ?
> > main()
> > File "./Main.py", line 48, in main
> > i18n_init()
> > File "./Util.py", line 39, in i18n_init
> > gettext.install("a-a-p")
> > AttributeError: install
> >
> > I haven't done anything with Python yet, so it's probably easy to fix.
>
> This really requires Python 2. The gettext support wasn't very good in
> 1.5. I could detect this and skip the gettext support for 1.5 to work
> around this. Until running into the next problem...

Doesn't sound like a good idea.

> > Maybe a FAQ for problems like this is a good idea.
>
> It's mentioned in the README.txt file.

The requirement for python 2 is in the FAQ, and I had python 2 installed,
but it wasn't used...

> > What are the dependencies of the project?
> > Which tools have to be installed in order for letting it work?
>
> Just Python 2. And I haven't tried it on anything else but Unix, thus
> it probably doesn't work on MS-Windows yet.
> Obviously you need an "scp" command to be able to use an "scp://" URL for
> ":copy".

Keep up the good work,

Best regards,

Aschwin Marsman

--
aYniK Software Solutions all You need is Knowledge
Bedrijvenpark Twente 305 NL-7602 KL Almelo - the Netherlands
P.O. box 134 NL-7600 AC Almelo - the Netherlands
telephone: +31 (0)546-581400 fax: +31 (0)546-581401
a.marsman@... http://www.aYniK.com




Wed Jul 10, 2002 6:50 am

marvinmarsman
Offline Offline
Send Email Send Email

Forward
Message #22 of 43 |
Expand Messages Author Sort by Date

Hello, Is there a possibility to create a CVS store (another is also ok), in order to have an easy update possibility for a-a-p? In a fast changing project...
Aschwin Marsman - aYn...
marvinmarsman
Offline Send Email
Jul 5, 2002
5:15 am

... Today I have started using the CVS repository at SourceForge. You should be able to checkout the "Exec" module, which is the Recipe Executive. See...
Bram Moolenaar
vimboss
Offline Send Email
Jul 8, 2002
8:01 pm

Hi Bram, On Mon, 08 Jul 2002 22:01:06 +0200 ... Sourceforge allows you to upload keys via web interface only. 1. Login ( top/left at http://sf.net ) 2. Choose...
Thorsten Maerz
torte@...
Send Email
Jul 8, 2002
8:38 pm

Thorsten - ... Thanks for the hint! I didn't know this also worked for the CVS server. -- Why don't cannibals eat clowns? Because they taste funny. /// Bram...
Bram Moolenaar
vimboss
Offline Send Email
Jul 9, 2002
9:38 am

... This works, thanks. For updating, only cvs update in the Exec directory is needed, when you've already checked out a version. ... cvs commit is not enough?...
Aschwin Marsman - aYn...
marvinmarsman
Offline Send Email
Jul 9, 2002
5:23 am

... Yep, that's easy. ... That doesn't add new files or remove old files. The recipe I'm using for creating the .zip archive already contains a list of all...
Bram Moolenaar
vimboss
Offline Send Email
Jul 9, 2002
9:39 am

... Good point, should be easy (cvs add, cvs remove) ... For a SCM system, you don't want to change history. But I do agree, that a little misstake can be...
Aschwin Marsman - aYn...
marvinmarsman
Offline Send Email
Jul 10, 2002
7:02 am

... It isn't on my system (FreeBSD): "python" is a hard link to either "python1.5" or "python2.2". I have now changed the test script to use "sys.executable"....
Bram Moolenaar
vimboss
Offline Send Email
Jul 10, 2002
8:56 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help