microsoft / microsoft/planetary-computer-apis
remove pypgstac from pcstac requirements
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 129
- Forks
- 33
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 1
Description
previously raised in #25
Right now pypgstac is added to pcstac requirements but only really useful in testing. It's also use to
- run migration: this could be replaced by using pgstac official docker image
- wait for the db to be up (pypgstac ready) https://github.com/microsoft/planetary-computer-apis/blob/main/docker-compose.yml#L40 which could be replaced with a simple bash script (e.g https://github.com/stac-utils/stac-fastapi/blob/master/scripts/wait-for-it.sh)
ps: I've done it in a previous (closed) PR: https://github.com/developmentseed/planetary-computer-apis/pull/1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the pcstac requirements and docker-compose.yml, then compare the earlier discussion in #25 and the closed PR linked in the issue. Check how pypgstac is currently used for migrations and database readiness. Done means it is no longer required by pcstac, migrations use the official pgstac Docker image, and readiness uses a simple shell-based wait mechanism.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, docker, python
- Domain
- build-system, devops
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100