Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Replicable File Systems - proposal to the core changes

Ariel Garcia pisze:
Hi Mateusz,

During our last internal meeting here in Poznan, we found useful to add
generic support for replicable file systems into g-Eclipse core (esp.
for the gecl file system).

I'm about to create GUI for the replicable file system (the only one we
support right now is LFC), but it would be nice to let the third-party
plugins also take advantage of the work already done.

The abstraction would consist of:
- IReplicableStore,
...

before starting by proposing the API it would be nice if you could summarize your plans regarding the use cases, which functionality you want or propose to support, and how the GUI should look like.

See the response to Harald.

For instance, how to make the user aware of the replicas (also highlighted by Harald), what functionality and where. Du you propose to do all the replica management via a new view? etc BTW, we have many views already... and filemanagement should happen all within the project tree if possible... avoiding extra views would be nice i think.

Well, you want to hide it from the user, and let him do all the stuff at the same moment. It looks like: one cannot eat cookie, and have a cookie. :-)

[joke] http://tnij.org/c00kies

See the response to Harald.

Regarding the API, if thinking about bringing those interfaces to core and also implementing them in gecl, are there any other filesystems out there you are aware of that would fit into this API?
(because making a generalized layer out of one example is a bit dangerous)

I agree, this is dangerous, but there is another replicable file system: Google File System. On the other hand, this would encourage users/developers to develop their own replicable filesystems.

   - public void addReplica( URI replicaURI ) throws CoreException;

why not ProblemException? the additional dependency is absolutely minimal, it allows us a much more flexible problem reporting, and.... if _WE_ don't use our own "dog stuff" ;-) why would we intend others to use it??

Because this ENFORCES to use our own "dog stuff", and my intention was to extend existing IFileStore with the replica management, so our plugin could be used outside gEclipse. Again my intention was to be consistent with the Eclipse FS.

--
Mateusz Pabis


Back to the top