Sam Kerr | 8 Jul 14:03
Picon
Gravatar

Is this list still active?

I noticed that on the Sourceforge page, the last commit was in May and that the website contains many references to dates in 2003 and 2004.

I would like to get involved in this project, it looks very interesting, and was wondering if this project is still very active.

Also, what would be a good way to "get my feet wet" with this project?

Thanks!

-Sam Kerr

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
A-A-P-develop mailing list
A-A-P-develop@...
https://lists.sourceforge.net/lists/listinfo/a-a-p-develop
Bram Moolenaar | 6 Apr 22:15
Picon

[PATCH] Python 2.6 and 3.x compatibility


Leandro Lucarella wrote:

> Hi! Attached are 2 patches to make A-A-P Python 2.6 compatible and to
> improve Python 3.x compatibility (it's not yet Python 3.x compatible
> as the changes needed break backward compatibility).
> 
> I guess backward compatibility should not be broken by these patches
> (at least for Python 2.x series), because I've done the patches with
> backward compatibility in mind, but I'm not sure (specially for the
> "in" operator).
> 
> Using A-A-P with Python 2.6 passes all the tests.
> 
> Adding support for Python 3.x is backward incompatible, so I guess a
> new branch should be done to tackle that. If there are interest in
> this, I could provide patches for this too.

As I mentioned in another thread: Since it's not possible to make Aap
work both with 2.x and 3.x, and I don't like having two branches, I
prefer not to work on Python 3.x support.

In my opinion there is no good reason for Python 3.x to not be backwards
compatible with 2.x scripts.  They could have solved that somehow.  It
irritates me that they intentionally cause problems for scripts that are
not maintained.  It's a "not my problem" attitude.

--

-- 
       "To whoever finds this note -
       I have been imprisoned by my father who wishes me to marry
       against my will.  Please please please please come and rescue me.
       I am in the tall tower of Swamp Castle."
   SIR LAUNCELOT's eyes light up with holy inspiration.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
Leandro Lucarella | 6 Apr 16:18
Picon

[PATCH] Python 2.6 and 3.x compatibility

Hi! Attached are 2 patches to make A-A-P Python 2.6 compatible and to improve
Python 3.x compatibility (it's not yet Python 3.x compatible as the changes
needed break backward compatibility).

I guess backward compatibility should not be broken by these patches (at least
for Python 2.x series), because I've done the patches with backward
compatibility in mind, but I'm not sure (specially for the "in" operator).

Using A-A-P with Python 2.6 passes all the tests.

Adding support for Python 3.x is backward incompatible, so I guess a new branch
should be done to tackle that. If there are interest in this, I could provide
patches for this too.

------------------------------------------------------------------------------
Piotr Repetowski | 12 Mar 15:28

How Aap support rpm and dependency in port recipes

Hi
I have read App manual and I think it is a powerful tool with a lot of
useful functions.

I couldn't find explanation of things, which are interesting to me, so I
have a few questions:

1. What kind of support Aap will offer for Rpm or Apt?
2. I saw that Aap support dependency in port recipes. Where can I find
more details?

Thanks for the answer,
Piotr Repetowski

----------------------------------------------------------------------
Asy i Cieniasy pilkarskiej ekstraklasy
kliknij >> http://link.interia.pl/f1d27

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Pavol Juhas | 7 Dec 21:10
Picon
Favicon

aap 1.090 - issues with DEFAULTCHECK=newer

Hello,

I have recently tried to use DEFAULTCHECK=newer in my aap recipe
and found a couple of issues.  First, aap 1.090 would crash with this
setting, because python getmtime function returns float, and
a string representation of float cannot be converted to long [e.g.,
long("0.0") raises an exception].

It was very simple to fix this, see the attached patch, however there
is still another issue.  If one of the source files changes, the
corresponding object gets recompiled, but not relinked to update
the executable.  For example, for a simple, 2-file recipe

    DEFAULTCHECK = newer
    :program triple : triple.cpp timesthree.cpp

a clean aap build runs correctly

    $ aap
    Aap:  g++       -MM triple.cpp > build-Linux2_6_20_16_generic/triple.cpp.aap
    Aap: g++    -O2  -c -o build-Linux2_6_20_16_generic/triple.o triple.cpp
    Aap:  g++       -MM timesthree.cpp > build-Linux2_6_20_16_generic/timesthree.cpp.aap
    Aap: g++    -O2  -c -o build-Linux2_6_20_16_generic/timesthree.o timesthree.cpp
    Aap: g++  -O2 -o triple build-Linux2_6_20_16_generic/triple.o
build-Linux2_6_20_16_generic/timesthree.o 

but after "touch timesthree.cpp", aap does not relink:

    $ aap
    Aap:  g++       -MM timesthree.cpp > build-Linux2_6_20_16_generic/timesthree.cpp.aap
    Aap: g++    -O2  -c -o build-Linux2_6_20_16_generic/timesthree.o timesthree.cpp

The same also happens when I really change the timesthree.cpp file;
I tried it to make sure that aap does not compare signatures of
linked objects.

I hope this is helpful and the issues can be fixed soon.
A similar method, DEFAULTCHECK=time seems to work fine,
and I will be using it for now.

Thanks,

Pavol
Attachment (aap1090-checknewer.patch): text/x-diff, 1388 bytes
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
A-A-P-develop mailing list
A-A-P-develop@...
https://lists.sourceforge.net/lists/listinfo/a-a-p-develop
Bram Moolenaar | 8 Feb 05:33
Picon

Test, please ignore


Just testing if this maillist still works.

--

-- 
The primary purpose of the DATA statement is to give names to constants;
instead of referring to pi as 3.141592653589793 at every appearance, the
variable PI can be given that value with a DATA statement and used instead
of the longer form of the constant.  This also simplifies modifying the
program, should the value of pi change.
	-- FORTRAN manual for Xerox Computers

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Oleg Puchinin | 19 Nov 19:17
Picon

:copy bug

Hello.
I found bug in ":copy" command. The result is wrong when target file
symlinked to source file.
":system cp" work properly (do nothing).

Thanks,
Oleg.

Debian 3.1r1
AAP 1.088

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Olivier Laurent | 17 Aug 09:56
Picon

TypeError when progsearch does not find any program

If the 'progsearch' command does not find any program, Python raises a
TypeError in 'Commands.py', line ±3098 with aap version 1.072.

Here is the output:
   Aap: Internal Error
   Aap: Traceback (most recent call last):
      File "/usr/lib/aap/Process.py", line 1163, in Process
       exec script_string in recdict, recdict
      File "<string>", line 46, in ?
      File "/usr/lib/aap/Commands.py", line 3098, in aap_progsearch
       if " " in prog:
    TypeError: iterable argument required

   Aap: Aborted
   Aap: More info in the logfile: /[...]/AAPDIR/log

The 'in' Python operator only accepts iterable and None is not an
iterable.

Here is a patch that you can use if you want:

--- Commands.py 2006-06-11 19:31:05.000000000 +0200
+++ Commands.py.orig    2006-06-11 19:30:49.000000000 +0200
<at> <at> -3086,7 +3086,7 <at> <at>
    # Search for the programs, quit as soon as one is found.
    prog = ''
    for arg in args[1:]:
-        prog = program_path(arg["name"])
+        prog = program_path(arg["name"]) or ''
        if prog:
            break

--
Olivier Laurent
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
A-A-P-develop mailing list
A-A-P-develop@...
https://lists.sourceforge.net/lists/listinfo/a-a-p-develop
Bram Moolenaar | 20 Jul 09:18
Picon

Mailing lists are back


You might have noticed that the Aap mailing lists were even more quitet
than before.  Somehow all the subscribers had disappeared.  Fortunately,
someone at SourceForge managed to restore the subscribers.

If you sent a message the past month and wondered why nobody responded,
please resend your message now.

- Bram

--

-- 
`The Guide says there is an art to flying,' said Ford, `or at least a
knack. The knack lies in learning how to throw yourself at the ground
and miss.' He smiled weakly.
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
calmar | 18 Feb 10:16
Favicon
Gravatar

typo in manual

http://www.a-a-p.org/exec/ref-commands.html#cmd-action

     :action makeme {primary} me moo
           :sys me < $source $gt; $target

the $gt; should be a > I guess?

cheers
marco

PS: I personally find it not easy to understand that example at
all ;)
maybe it means: for .me or .moo filetypes take the :sys
action to produce .makeme or so?

--

-- 
  calmar

          (o_  It rocks: LINUX + Command-Line-Interface
          //\
          V_/_                     http://www.calmar.ws

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
calmar | 18 Feb 07:16
Favicon
Gravatar

not found (:del)

Hi all, hi Bram,

| :rule %.php : $cwd/htmlbegin.part
|               %.part
|               $cwd/htmlend.part
|     tmpstring = _no.$(match)_title # is there a title for that page set?
|     @import sre
|     @try:
|     @  title = eval( tmpstring )
|     @except KeyError:
|     @  title = ""
|     :cat $(source) | :eval string.replace(stdin,
|            '@TITLE@', title) >!  $(target).tmp
|     :cat $(target).tmp | :eval sre.sub('<\?xml.*',
|         '<?php  echo \'<?xml version="1.0" encoding="iso-8859-1" ?>\'; ?>\n',
|         stdin) >! $(target)
|     :del $(target).tmp
| 
| :attr { publish = $(ftp_url)%file% } $files
| 
| all : $files
|     :publish $files
| 
| calmar <at> tuxli:~/www/bcr> aap
| Aap: Deleted "index.php"
| Aap: Error in recipe "/var/www/bcr/main.aap" line 76: No such file or directory: ".tmp"
| Aap: All messages are in the logfile: /var/www/bcr/AAPDIR/log

I think the :del $(target).tmp does not really work as expected, or does it?
Also (in the same manner), when I place there a :print $(target).tmp, I get:

index.php{publish=ftp://n4b244:xxxxx@.../html/bcr-test/%file%}.tmp

(I would expect: `index.php.tmp' instead)

When I use e.g: tmp_$(target) instead of $(target).tmp or however, it seems to work.

So :del and :print seems to use (add the suffix) the file including the attribute.

(btw: the :cat statement seems to use $(target).tmp as expeced, and produces the files)

Cheers,
marco

--

-- 
  calmar

          (o_  It rocks: LINUX + Command-Line-Interface
          //\
          V_/_                     http://www.calmar.ws

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Gmane