-
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
Split backends into independent repos #432
Comments
I'm a huge +1 for this and I'm happy to help with part of it if you want.
I'm a big fan of this. I've been using |
That would be great! I'm going to start getting all of the open PRs resolved, not exactly sure how long that will take. But I imagine it will be easier to merge all the packages once this is done. It looks like the relevant PRs to api/extensions/types modules are: |
Sounds good. I can create new repos for the backends ( |
@duckontheweb I can start moving code into |
Sounds good. I’m wondering if we should actually fetch from this repo into those ones in order to preserve the Git history. I think setting up this repo as a remote and then doing a “git reset —hard” to the master branch of this repo would do the trick |
I'm going to move the I will also set up the default branch for that repo to be @geospatial-jeff Let me know if you want me to work on consolidating this repo into a single Python package. |
is it part of the plan to release 2.4.0 after the outstanding PRs are merged, and before the repo is broken apart? There seem to be a lot of unpublished changes against the current repo structure. |
I think this would probably be a good idea. The intention is to not make any breaking changes as part of the new repo structure, but just to be safe we might want to cut a release first. |
Yes I can create a release after #441 is merged. |
I ported the code to |
I'll have the 2.4.0 release out sometime tomorrow. |
I've added labels to each issue to help figure out what to move to different repos. It's not perfect, and there is often some overlap but hopefully it helps. |
I'll open issues on the new |
I can take a stab at trimming this repo down to just the core modules and distributing everything under a single package. |
Thanks @duckontheweb, I will review #450 and stac-utils/stac-fastapi-pgstac#1 tomorrow morning! |
@geospatial-jeff There may be some issues around separation of concerns between this repo and the backend repos that we want to work out in These came up as I started to work on #401 using #450 and stac-utils/stac-fastapi-pgstac#1 as a base. That issue pertains to adding Queryables links to the The The
If this seems like a reasonable approach I can put in an draft PR with these changes and then we can see where else we might want to tease apart some of the logic. |
This makes sense, definitely something we need to fix for good separation of concerns.
This makes sense to me! I imagine its mostly just adding/resolving links which is already relatively standard across backends using the Do you think we have to do the same for item endpoints? |
I haven't looked at these in detail, but I imagine we will. I can start a PR with the collections endpoints and then we can build off of that. |
@duckontheweb Could you please give me push access to https://github.com/stac-utils/stac-fastapi-sqlalchemy? |
Oops, should be all set now |
The sqlalchemy PR is here stac-utils/stac-fastapi-sqlalchemy#1, I have a few TODOs listed on the PR but it's in pretty good shape. |
@geospatial-jeff @duckontheweb checking in on this one — has this stalled out? I’m going to be picking up some dev time for stac-fastapi and I’d like to get across the current state of play before I dive in too deep. |
Hey @gadomski that sounds great! This has stalled out but I'm going to be picking it back up. I have some time set aside tomorrow and Saturday to continue working on this issue. It's been a while since we started so I also need to do some accounting to figure out exactly what we've done and how much is left to do. I will follow up tomorrow with a more detailed comment on the status of this issue. |
At a high level:
Some additional steps to cut over to the new repo structure cleanly. We did many of these a while ago but they are worth revisiting now as new code has been pushed to stac-fastapi since then.
|
Great, thanks for the summary. If I'm understanding correctly, #472 is the biggest blocker at the moment -- the rest of the TODOs seem to be more general housekeeping? I can start on some of the housekeeping tasks, after which I can bring an extra set of hands/eyes to #472, with the caveat that I'm still learning the code base so will be a little slow/ignorant :-). |
Discussion started here: #409 (comment).
Including backends in this repo was convenient when stac-fastapi was first created but the pros are now outweighed by the cons.
Migration plan:
stac-utils
org, one for each backend.api
,extensions
, andtypes
submodules into a single stac-fastapi package, keep import paths the same to avoid breaking.The text was updated successfully, but these errors were encountered: