Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Thoughts on write api for repository : Please add your thoughts

Hi,
 Me and pascal were having a discussion regarding the write api for the repositories.
I would appreciate if you all would post your thoughts on this too.
I am attaching our conversation below.

Prashant

On 6/25/07, Prashant Deva <prashant.deva@xxxxxxxxx> wrote:
Hi,

- during the installation itself because the agent keeps track of the
installable unit that have been installed into a metadata repository.

ummm maybe i dont get this correctly. isnt an install a read only operation? eg - when i am installing eclipse why
would i want to write anything to a repository?
 

* Nothing happen to mirrors and nothing has to happen to mirror since you
can not change an IU once it has been published.

Ok, let me get this. Say i have junit 3 in a repository as an IU.
When somebody wants to write junit 4 to a repository, we leave junit 3 there? Or do we delete it?
i guess deleting or updating the jar would modify the IU for junit so we just gotta add v4.
but then does that mean we cannot delete anything from a repository once it has been published?

Prashant





On 6/25/07, Pascal Rapicault <Pascal_Rapicault@xxxxxxxxxx> wrote:
* Metadata repositories would be written into:
- at export / publication time, someone creates new plug-ins and makes them
available on a repository. The other place we are using this is when we are
generating metadata.
- during the installation itself because the agent keeps track of the
installable unit that have been installed into a metadata repository.

* There is a need for authentication, but I think we can leave that issue
out for now because I think we have to have a global approach of the pb for
the agent.

* Nothing happen to mirrors and nothing has to happen to mirror since you
can not change an IU once it has been published.





             "Prashant Deva"
             <prashant.deva@gm
             ail.com>                                                   To
                                       Pascal Rapicault/Ottawa/IBM@IBMCA
             06/25/2007 02:06                                           cc
             PM                        "Andrew Overholt"
                                       < overholt@xxxxxxxxxx>



hi guys,
so i have taken a detailed look at the code. i now have a much better idea
of whats going on ;)

So i was thinking on working on providing the write support for the
metadata api.

For this, I would like to ask you  guys some questions of course.

- Under what situations do you imagine would someone be writing to the
repositry?
- does there need to be some sort of authentication to be able to write?
- what happens to the repsository mirrors when someone writes to one
repository? do we show them as out of date.

Also any other thoughts/ideas you have regarding this are welcome.

Prashant


Back to the top