Re: URI Syntax was: Repository

2003-10-31 Thread Adam R. B. Jack
 Some artifacts don't like having the full version number.
 dll for example.   I think the DLL name needs to be stable and thus
 would not have the full version info.
 For the dll example we can mandate that it has to be put in a versioned
 zip/tar.gzip

If we continue to think 100% generically we'll never hold all the
permutations in Wiki, let alone out heads, and we'll fluster ourselves
paralysis. It is clear that Java has a set of requirements, a style, that do
not fit other languages. We can't do it all.

I feel we could/should unashamedly complete our thoughts on Java, then go
and recruit some per-language specialists to chime in on their flavour.
Maybe we'll have one repository 'class' with per language sub-classes. Let's
mature what we can agree upon before we specialize  determine what we
can't. [If we have a Java repository separate from a C++ one, so be it, but
N better than 0. Heck, separate might be easiest management anyway.]

Just my two cents...

regards,

Adam



Re: URI Syntax was: Repository

2003-10-30 Thread Nicola Ken Barozzi
Nick Chalko wrote:
...
What should the URI look like
The latest URI discussed was
http://host/project/version/artifact-[version].ext
For example
* http://repo.apache.org/org-apache-ant/1.5.1/ant-1.5.1.jar
* http://repo.apache.org/org-apache-ant/1.5.1/ant-testutil-1.5.1.jar
* http://repo.apache.org/org-apache-ant/1.5.1/LICENSE.txt
This is where Avalon keeps jars for the framework similar to the above 
example (done by Leo after the previous repo discussions IIUC):

http://www.apache.org/dist/avalon/framework/jars/avalon-framework-4.1.jar
http://www.apache.org/dist/avalon/framework/jars/avalon-framework-impl-4.1.5.jar
http://www.apache.org/dist/avalon/framework/jars/LICENSE.txt
So it's:
  http://host/project/artifact-type/artifact-[version].ext
host:  www.apache.org/dist
project:   avalon/framework
artifact-type: jars
httpd instead does this:
  http://www.apache.org/dist/httpd/
Please note this URL:
http://www.apache.org/dist/httpd/binaries/aix/apache_1.3.26-000964804C00-ibm-aix4.3.tar.gz
It could be:
host:  www.apache.org/dist
project:   httpd
artifact-type: binaries/aix
The tar.gz format is more complex, and needs a different version 
resolution system.

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


Re: URI Syntax was: Repository

2003-10-30 Thread dion
Nick Chalko [EMAIL PROTECTED] wrote on 31/10/2003 08:38:36 AM:

 Since this is an ASF repo, isn't the ASF project name enough?
 
  
 
 I think I would still prefix it with apache, so that other organizations 

 can  follow our pattern with out conflicts.  Also allowing other 
 repositories to host artifacts from multiple orginizations.
Sounds like a good idea.

 There is still some naming details to work out.  An apache project can 
 be a very big thing.
 Take  the CLI project in Jakarta  commons   that would be
 apache-jakarta-commons-cli 
 vs the pacakge name   org.apache.commons.cli

This is where the previous naming convention breaks for me.

site/project/version/artifact-version.type

assumes that the 'project' has a single versioning system. Jakarta as a 
project doesn't. e.g. commons/beanutils has versions very different from 
commons/logging.

*As an example only*, maven treats commons/beanutils and commons/logging 
as two separate projects.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc