-
Notifications
You must be signed in to change notification settings - Fork 35
Trim repo to only include stac-fastapi.pgstac
package code
#1
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
Conversation
stac-fastapi.pgstac
package code
stac-fastapi.pgstac
package codestac-fastapi.pgstac
package code
@geospatial-jeff Do you have a preference for how we handle transitioning the CHANGELOG? Since the versioning of this package is going to continue from the existing version (
|
I don't have a strong preference. One of the biggest upsides IMO of splitting backends out of stac-fastapi is those backends can be versioned/released separately. I agree that historical changes from the existing CHANGELOG should be preserved but outside of that requirement I don't have a strong preference. Immediately releasing |
…#444) * dont break on app startup when pagination extension is not included * update changelog * better variable names
* add default CORS middleware * test that default cors middleware is working
* bump versions * update changelog
@duckontheweb Can you please post the github commands you ran to maintain history? I'd like to use the same commands for the sqlalchemy backend. |
Sure thing. $ mkdir stac-fastapi-pgstac
$ cd stac-fastapi-pgstac
$ git init
$ git remote add stac-fastapi https://github.com/stac-utils/stac-fastapi.git
$ git fetch
$ git reset --hard stac-fastapi/master
$ git remote remove stac-fastapi
$ git remote add origin https://github.com/stac-utils/stac-fastapi-pgstac.git
$ git push --set-upstream origin main --force |
* replace ciso8601 with pyiso8601 * update changelog * test types package in ci
This is required because there are changes to `stac-fastapi.types` (namely the addition of the `requests` module) that are not yet part of a release.
This reverts commit 812db6a.
0da2695
to
d42fd10
Compare
@geospatial-jeff I ended up simplifying the
Since those index pages provide their own links to the individual module pages we can still navigate to all of the auto-documented API code, but without having to constantly update the list of pages in the config. Part of the reasoning for this, was that I noticed that there were still nav links to |
Opened stac-utils/stac-fastapi#450 to remove the backend packages from that repo. We should wait for that PR to be merged and released, then update this PR to install the core packages from the new release. |
Closing as OBE (stac-utils/stac-fastapi#517). |
Updates the repo to only include code for the
stac-fastapi.pgstac
backend.This PR tries to keep the number of changes to a minimum and focus on creating a working
stac-fastapi.pgstac
package. Other changes related to code cleanup, testing, etc. can be tackled in future PRs.Notable Changes:
setup.py
andsetup.cfg
files to the project rootstac-fastapi.pgstac
source code fromstac_fastapi/pgstac/stac_fastapi/pgstac
tostac_fastapi/pgstac
.stac-fastapi.*
dependencies to GitHub commitsThis was necessary because there are changes to
stac-fastapi.types
that are not part of the most recent release. Going forward, we can pin these dependencies to specific releases.stac-fastapi.*
package.This also included renaming some of the targets and services to remove the
-pgstac
suffix. This wasn't strictly necessary to get things to run, but those suffixes no longer seemed necessaryscripts/publish
stac-fastapi.pgstac
stac-fastapi.pgstac
PR Checklist:
pre-commit run --all-files
)make test
)make docs
)