Re: Which namespace for a build system?

2004-09-07 Thread Sam Vilain
A. Pagaltzis wrote:
The question I'd ask is, is there established Computer Science
terminology for the problem a dependency solver addresses? That
probably requires determining what kind of field the problem
falls into. I have a hunch that that would be AI.
How about a Dependancy Algorithm ?  :-)
http://search.cpan.org/dist/Algorithm-Dependency/
--
Sam Vilain, sam /\T vilain |T net, PGP key ID: 0x05B52F13
(include my PGP key ID in personal replies to avoid spam filtering)


Re: Which namespace for a build system?

2004-08-27 Thread khemir nadim
I agree with you. A build system is no more than a dependency system with
some fluff around.

The fluff, in this case, is 10% of the code.

Say I put those 10% under PBS as it is an application. I still have a
problem finding out where to put the 90% left because some smart guy decided
that Devel is for perl development (rule that is broken half a million
times) and that there is no other top level place for this kind of module.
I'd start a new space but I'd rather start something that is going to be
used bu other (or PBS is as good)

So my question boild down to this. Where do we put development,
dependencies, dev tools, build systems. What ever is suggested I'll have
hell of a time going through all the code and change it (yes I do have a
bunch of PBS::XX::YY::Sub() because I don't specialy like the, very absurd,
poluting policy modules have)

Cheers, Nadim.

A. Pagaltzis [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...

  A build system is an app but a dependency system is not. Even

  if it was to be classified as an app, I think we should have a

  root for build systems as there are at least three or four

  modules that would fit there.



 Well, quite a few applications or module suites ended up on CPAN

 as a set of generic, regularly named modules, besides those

 specific to the app, which got their own TLNS.



 So you might abstract your dependency management code into a (set

 of) module(s) used by your app, where the app goes in its own

 TLNS but the modules go wherever appropriate.



 This seems to apply to any application going on CPAN which

 actually tackles problems not previously solved (as opposed to

 apps which mainly glue together existing modules).




Re: Which namespace for a build system?

2004-08-23 Thread Randy W. Sims
[ Actually, I'm going ahead and CC'ing the list because I'm going to 
suggest something that others will probably disagree with ;-) ]

Nadim Khemir wrote:

-Original Message-
Is this a build system for perl modules or a generic build 
system? Is it 
an application or a library? Is the documentation available; 
I'd like to 
learn more about it.

It' a generic build system aimed at replacing gmake, cons and the like. I'ts
a meta-build system, a nice name to tell that it is not complete :-). 
I'm going to suggest that it is reasonable for an application of this 
sort to have its own namespace. It has a very specific use, and it is 
not generally applicable to other perl apps.

I don't like the name PBS. Probably because, if you mention it anywhere 
in the U.S., people the of the Public Broadcasting Corp, a publicly 
funded educational TV broadcasting network.

PBS is a set of modules that let you build a build system. Since it's
written in perl, you can add your own libraries and even have your own
syntax if you wish to but the plain syntax is perl and it looks rather
good and easy.
The best doc to start with is the presentation I gave at perl nordic
workshop the slides are on their site.
In the unix perpetual tradition, the documentation is the code. Seriously,
the documentation that is available is very old and very confusing. It was
my goal to re-document the system this summer but I simply didn't. As there
are only 2 or 3 users for the system and I know them, we haven't had the
necessity to document more (the system is easy to understand as it is rule
based). I want to release the system to see if there are other are
interrested and in that case I will write a proper documentation.
I can just about guarantee that it is not going to be used without some 
documentation. I suggest it is useless to post it without docs, and 
possibly a couple of samples.

PBS is  reseach project that turned wellbut I still want to do some research
(like iontegration between CM and build systems)
One advantage of PBS is that it is quite fun to use and build debugging is
one of the base for the program.
Hey, that's two ;-)


Re: Which namespace for a build system?

2004-08-21 Thread Randy W. Sims
khemir nadim wrote:
I'm going to polute witha new top level namespace! PBS::
Don't anyone have any idea of where we should put this type of modules?
Is this a build system for perl modules or a generic build system? Is it 
an application or a library? Is the documentation available; I'd like to 
learn more about it.

Randy.
Devel::
Devel::Build::
Build::
App::BuildSystem
I'd appreciate some input.
Cheers, Nadim.




Re: Which namespace for a build system?

2004-08-19 Thread khemir nadim
I'm going to polute witha new top level namespace! PBS::

Don't anyone have any idea of where we should put this type of modules?

Devel::
Devel::Build::
Build::
App::BuildSystem

I'd appreciate some input.

Cheers, Nadim.