-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transformer: Remove library com.kurtraschke:wsf-api and WSF block resolution strategy #272
Conversation
3a3e32d
to
7a0be2a
Compare
7a0be2a
to
a127042
Compare
I don't know if anyone is using this; I'm not personally. The WSF API does appear to work still if you create an API key as indicated here: https://www.wsdot.wa.gov/ferries/api/schedule/documentation/rest.html |
@sberkley Do you know anything about this topic? Are you using this? |
The current code lives in a fork which belongs to Cambridge Systematics (https://github.com/camsys/wsf-gtfsrealtime), although there had been discussion (kurtraschke/wsf-gtfsrealtime#2) of transferring the project to them outright. I have no idea how it became a dependency of (Ah, it seems to be Many years ago I had discussed with some folks at CS the idea that agency-specific transforms should live in their own modules, and then |
Thanks for chiming in @kurtraschke. I am, by the way, the new maintainer of this project. I don't really have a problem with extra dependencies, even those only used by a single transform, since I see the transformer module as a place where you can put all the stuff you don't want to do downstream. And file size is also not an issue since the combined jar is just 5MB - nothing by today's standards. What I am trying to clear out of this repo is dependencies that cannot be found on Maven Central. |
@kurtraschke @leonardehrenfried fwiw, I think that both approaches could be reconciled in a single project: a plugin architecture allows downstream users to build their own transformers without needing to wait for them to be accepted into the project, experiment with new approaches, etc. Vetted transformers can be pulled in as need/opportunity arise. |
The Puget Sound OBA instance that CS maintains for Sound Transit does still need the WSF transformer. That said, I agree that this project shouldn't have dependancies that aren't available in Maven Central. I've raised the issue with CS. @CaylaSavitzky is our main dev contact these days. I don't think it would be too bad if we (CS & ST) needed to include this via a fork or plugin. |
I would be fine with even very agency-specific code to remain in this repo so no need for a fork. A Maven Central deployment is all I want. |
@sberkley @CaylaSavitzky Are there any news about a Maven Central deployment? |
@leonardehrenfried |
Hi @CaylaSavitzky! If the dependency is on Maven Central I can very easily revert this PR. Thanks! |
And while you're deploying to Maven Central, can you do the same for the following artifacts:
I don't really understand what they do but I guess they are for some cloud integrations that Camsys uses. |
@leonardehrenfried |
The artifact
com.kurtraschke:wsf-api
is not deployed to Maven Central and apparently only available from camsys-apps.com. I also cannot find the source code of this library.Since I would like to include only libraries that are available on Maven Central, I'm going to remove this library and the
WSFBlockResolutionStrategy
. I tested the the URLs in this class and only get 404s.@sdjacobs You originally added this strategy. Can you shed some light on whether it's still used and if the WSF API is still working?
@kurtraschke Do you know where the source code is and can you deploy it to Maven Central?
Closes #282