[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [equinox-dev] Thoughts on write api for repository : Please add your thoughts
|
In order to be able to reason about what is installed the agent keeps a
local copy of the metadata. Instead of inventing another format for storing
this data we should be using a metadata repository with write access. This
follows the mirroring metaphor.
Adding a new version of an IU to a repository had no other effect than
making this IU visible to anyone consulting the repository. The repository
is not in a position to make any decision wrt what could / should be kept.
Installable units can also be removed from a given repository if the
maintainer of the repository has decided so.
"Prashant Deva"
<prashant.deva@gm
ail.com> To
Sent by: "Equinox development mailing list"
equinox-dev-bounc <equinox-dev@xxxxxxxxxxx>
es@xxxxxxxxxxx cc
Pascal Rapicault/Ottawa/IBM@IBMCA
Subject
06/25/2007 09:19 [equinox-dev] Thoughts on write api
PM for repository : Please add
your thoughts
Please respond to
Equinox
development
mailing list
<equinox-dev@ecli
pse.org>
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
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev