Giter VIP home page Giter VIP logo

Comments (15)

berezovskyi avatar berezovskyi commented on August 30, 2024

For example: lyo-client-wink (or lyo-client-legacy) and lyo-client-jaxrs.

from lyo.client.

jamsden avatar jamsden commented on August 30, 2024

I certainly agree this is confusing.

I use OSLC4J as the name of that subset of eclipse/Lyo that provides the Java SDK for client, server and TRS development. This seems useful as a name to describe what's in the SDK release. Lyo Designer is another nice name that identifies a different part of eclipse/Lyo. Validator, and Store are other related deliverables, all different than the SDK.

Maybe that's not accurate, but it seems useful.

Another option is to deprecate oslc-java-client, not include it in 4.0.0 and use oslc4j-client only in 4.0.0.

What I'm trying to avoid is introducing any breaking API changes in in the old client. Changing old artifact names and changing OslcClient constructors in the old client would have been API breaking. I had hoped to just leave the old wink stuff alone.

I don't like naming things based on their implementation. lyo-client seems too broad, it only covers OSLC CRUD and discovery. I think we're stuck with oslc-java-client since we don't want to rename the old artifact. That's what lead to oslc4j-client.

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

Jim, I only suggest to rename the artifactId. No package name changes.

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

It means that when you upgrade you client dep to 4.0 you also need to change the artifactId in the POM file. Code won't break.

from lyo.client.

jamsden avatar jamsden commented on August 30, 2024

pom.xml files that refer to the old client would need to be updated. That's what I was trying to avoid.

But I can change the oslc4j-client to something else since this is new. Not sure what would be better.

I can also change the new package names from org.eclipse.lyo.client.oslc to org.eclipse.lyo.oslc.client. That's a better name and would eliminate the overlap.

Want me to do that?

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

Hmm, that's impossible to avoid. If you want to update 2.4 -> 4.0, you have to edit your POM. Let's have a chat about this tomorrow or on Fri during one of our calls.

from lyo.client.

jamsden avatar jamsden commented on August 30, 2024

yes, but only to edit the OSLC4J version. you shouldn't have to change dependency names and be concerned your client apps won't compile or run - if we can help it.

from lyo.client.

jamsden avatar jamsden commented on August 30, 2024

I renamed all toe packages in lyo.clint's oslc4j-client to org.eclipse.lyo.oslc4j.client.* to be consistent with lyo.core oslc4j-core's use of oslc4j, and to eliminate any name collisions with the old oslc-java-client.

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

Just had to open the repo yesterday to check if the artifactid I had was for the new client or not. Definitely not OK if the newcomers also have to be get confused like that.

from lyo.client.

jadelkhoury avatar jadelkhoury commented on August 30, 2024

People shouldn't even need to access to repo. We need to update our wiki pages for 4.0.0 - both client and server.
From our front page https://wiki.eclipse.org/Lyo, the client related content (https://wiki.eclipse.org/Lyo/BuildClient) is very obsolete.

I can do a quick update.
But where should the pages be? I recall we said we move away from Eclipse wiki pages.

LyoDesigner has its pages under https://github.com/eclipse/lyo.designer/wiki.
Should each repo has its own wiki pages?
It would be good with a single such wiki location.

from lyo.client.

jamsden avatar jamsden commented on August 30, 2024

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

@jadelkhoury updating the docs would be very good! but the discussion here is that I want to rename the artifacts as descibed in earlier in this ticket.

@jamsden sure, we should make use of it!

from lyo.client.

jamsden avatar jamsden commented on August 30, 2024

The artifactId for the old and new client are different, so I don't see why you'd need to open the repo to figure out which one you're using. They're certainly similar and we'd have to keep that clear in the documentation (of which there isn't any for the new client).

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

I have also raised an issue that many classes are duplicated as a result of this "forking" of the old client. Can't readily find the issue no. Can we fix that?

from lyo.client.

berezovskyi avatar berezovskyi commented on August 30, 2024

Re: artifactId. Yes, they are different but not distinctive enough for me to associate them with the new/old client without checking the README. In other words, they sound like clientA and clientB to me :)

from lyo.client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.