Re: [Archiva] Comment on Local Repository Format Reading for DefaultMetadataDiscoverer

2007-01-31 Thread Ole Ersoy
Sorry - Substitute maven-metadata.xml where I have 
repository-metadata.xml.

Cheers,
- Ole


--- Ole Ersoy <[EMAIL PROTECTED]> wrote:

> Yes to the index of local repository part.
> 
> [CONTEXT]
> My immidiate plan is to mirror the Ibiblio
> repository
> so that it's local.
> 
> Then set the mirrors base directory on the plugin.
> 
> Then the plugin will produce a
> repository-metadata.xml (Version 2)
> per a JIRA entry I submitted.
> 
> This will be placed at the base of the repository.
> 
> Then the RPMFactory picks that up and starts
> producing
> RPMs using it.
> 
> [OTHER USE CASE]
> Someone may want to just create a 
> repository-metadata.xml for a parent 
> project.
> 
> And just create RPMs for the parent project.
> 
> Cheers,
> - Ole
> 
> 
> 
> --- Brett Porter <[EMAIL PROTECTED]> wrote:
> 
> > would they use this against an index on their
> local
> > repository, or by  
> > querying a remote archiva instance?
> > 
> > I do think we need to index the local metadata
> > anyway so that the  
> > code can be used from other tools.
> > 
> > - Brett
> > 
> > On 31/01/2007, at 3:37 PM, Ole Ersoy wrote:
> > 
> > > Hi,
> > >
> > > I'm going through the DefaultMetadataDiscoverer,
> > and
> > > noticed this todo:
> > >
> > >  * @todo Note that only the remote format is
> > > supported at this time: you cannot search local
> > > repository metadata due
> > >  * to the way it is later loaded in the
> > searchers.
> > > Review code using pathOfRemoteMetadata. IS there
> > any
> > > value in
> > >  * searching the local metadata in the first
> > place
> > > though?
> > >
> > >
> > > Maybe.
> > > I'm for instance using the metadata files to
> build
> > a
> > > bigger metadata file, for either a parent
> project,
> > or
> > > the entire repository, and then using that as a
> > target
> > > to build RPMs with.
> > >
> > > So there might be a scenario where someone wants
> > to
> > > use the plugin to build rpms for their parent
> > project,
> > > based on the install in the local repository,
> and
> > they
> > > may want to filter some of the metadata.
> > >
> > > Cheers,
> > > - Ole
> > >
> > >
> > >
> > >
> >
>
__
> > 
> > > __
> > > Bored stiff? Loosen up...
> > > Download and play hundreds of games for free on
> > Yahoo! Games.
> > > http://games.yahoo.com/games/front
> > >
> > >
> >
>
-
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> >
>
-
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>  
>

> Sucker-punch spam with award-winning protection. 
> Try the free Yahoo! Mail Beta.
>
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Archiva] Comment on Local Repository Format Reading for DefaultMetadataDiscoverer

2007-01-31 Thread Ole Ersoy
Yes to the index of local repository part.

[CONTEXT]
My immidiate plan is to mirror the Ibiblio repository
so that it's local.

Then set the mirrors base directory on the plugin.

Then the plugin will produce a
repository-metadata.xml (Version 2)
per a JIRA entry I submitted.

This will be placed at the base of the repository.

Then the RPMFactory picks that up and starts producing
RPMs using it.

[OTHER USE CASE]
Someone may want to just create a 
repository-metadata.xml for a parent 
project.

And just create RPMs for the parent project.

Cheers,
- Ole



--- Brett Porter <[EMAIL PROTECTED]> wrote:

> would they use this against an index on their local
> repository, or by  
> querying a remote archiva instance?
> 
> I do think we need to index the local metadata
> anyway so that the  
> code can be used from other tools.
> 
> - Brett
> 
> On 31/01/2007, at 3:37 PM, Ole Ersoy wrote:
> 
> > Hi,
> >
> > I'm going through the DefaultMetadataDiscoverer,
> and
> > noticed this todo:
> >
> >  * @todo Note that only the remote format is
> > supported at this time: you cannot search local
> > repository metadata due
> >  * to the way it is later loaded in the
> searchers.
> > Review code using pathOfRemoteMetadata. IS there
> any
> > value in
> >  * searching the local metadata in the first
> place
> > though?
> >
> >
> > Maybe.
> > I'm for instance using the metadata files to build
> a
> > bigger metadata file, for either a parent project,
> or
> > the entire repository, and then using that as a
> target
> > to build RPMs with.
> >
> > So there might be a scenario where someone wants
> to
> > use the plugin to build rpms for their parent
> project,
> > based on the install in the local repository, and
> they
> > may want to filter some of the metadata.
> >
> > Cheers,
> > - Ole
> >
> >
> >
> >
>
__
> 
> > __
> > Bored stiff? Loosen up...
> > Download and play hundreds of games for free on
> Yahoo! Games.
> > http://games.yahoo.com/games/front
> >
> >
>
-
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Archiva] Comment on Local Repository Format Reading for DefaultMetadataDiscoverer

2007-01-30 Thread Brett Porter
would they use this against an index on their local repository, or by  
querying a remote archiva instance?


I do think we need to index the local metadata anyway so that the  
code can be used from other tools.


- Brett

On 31/01/2007, at 3:37 PM, Ole Ersoy wrote:


Hi,

I'm going through the DefaultMetadataDiscoverer, and
noticed this todo:

 * @todo Note that only the remote format is
supported at this time: you cannot search local
repository metadata due
 * to the way it is later loaded in the searchers.
Review code using pathOfRemoteMetadata. IS there any
value in
 * searching the local metadata in the first place
though?


Maybe.
I'm for instance using the metadata files to build a
bigger metadata file, for either a parent project, or
the entire repository, and then using that as a target
to build RPMs with.

So there might be a scenario where someone wants to
use the plugin to build rpms for their parent project,
based on the install in the local repository, and they
may want to filter some of the metadata.

Cheers,
- Ole



__ 
__

Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]