Closed dphoria closed 2 years ago
Hello! 👋 Thanks for initiating the process to configure a new CDP instance.
I am a bot that will validate the information provided in your form. If any check fails, please update your issue by opening the '⋯' dropdown in the top-right-corner of your GitHub Issue and selecting 'Edit'. I will automatically rerun the checks after you update the issue to validate the changes.
A member from the CDP team will respond as soon as possible!
✅ Governing body type is an accepted value.
✅ @dphoria has been marked as the instance maintainer.
✅ CouncilDataProject/portland is available.
✅ An existing scraper for 'Portland' was found in cdp-scrapers
(cdp_scrapers.instances.get_portland_events
). If this scraper was selected incorrectly, please update the Municipality Slug field with more specificity (i.e. 'seattle-wa' instead of 'seattle').
{
"municipality": "Portland",
"governing_body_type": "city council",
"municipality_slug": "portland",
"python_municipality_slug": "portland",
"infrastructure_slug": "cdp-portland-d2bbda97",
"maintainer_or_org_full_name": "dphoria",
"hosting_github_username_or_org": "CouncilDataProject",
"hosting_github_repo_name": "portland",
"hosting_github_url": "https://github.com/CouncilDataProject/portland",
"hosting_web_app_address": "https://councildataproject.github.io/portland",
"firestore_region": "us-west1"
}
To proceed with the deployment process, please do the following:
make login
in cdp-backend/dev-infrastructure and login to the CDP gcloud and pulumi accountsmake init project=cdp-portland-d2bbda97
in cdp-backend/dev-infrastructureMore details on the make
commands can be found in cdp-backend.
This comment was written by a bot!
cdp-portland-d2bbda97
This comment was written by a bot!
@dphoria will deploy tomorrow but just checking, what all is included in this scraper right now? Votes? Minutes items? (I wish we had the run-scraper bot on this repo too 😂)
https://gist.github.com/dphoria/42f133917ac7f474bdfcfc319e5b5a03
Beyond the required sessions, we get data like EventMinuteItem.decision, Matter.result_status, sponsors, supporting_files, votes. We also get minutes_item but that may be same as matter at the moment.
From the above JSON dump I think everything looks correct there except that the third session is from 2/17 not 2/16.
Yes that is actually an oft-observed pattern from Portland. The last session of a meeting often takes place on the second day. See https://www.portland.gov/council/agenda/all; many meetings span multiple days. I don't know why they do it this way. i.e. Why include the session from the "next" day on the same agenda?
Regardless, do you think it's better for CDP purposes, to treat that session as part of a different EventIngestionModel?
That is a perfect answer. Seems like they really do have multi-day meetings. Cool.
Who knows, but if that is what it says on the official agenda then that is what we should do as well.
Awesome. I will start the deployment process in ~1 hour
/cdp-deploy
:tada: :tada: Repository Created :tada: :tada:
A new CouncilDataProject Instance Repository was created (CouncilDataProject/portland), external collaborator added (@dphoria), and cookiecutter files generated and pushed to repository.
The instance is setting itself up right now and the process will take around 10 minutes to complete. Once completed, a CDP maintainer will comment on this issue with your instance's website link. See the instance's GitHub Action job history for more details on the deployment setup progress.
Your CDP instance will be populated with data within 6 hours of website creation.
At any point in the future if you would like to destroy this instance, please just add a comment to this thread and a maintainer will help you.
make gen-key project=cdp-portland-d2bbda97
GOOGLE_CREDENTIALS
make set-cors project=cdp-portland-d2bbda97
cdp-portland-d2bbda97
Firebase projectrules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read;
}
}
}
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read;
}
}
}
make login
and login to the CDP gcloud and pulumi accountsmake destroy project=cdp-portland-d2bbda97
More details on the make
commands can be found in cdp-backend.
Deployment Status - Complete
Instance available at: http://councildataproject.org/portland/#/ Running first data gather: https://github.com/CouncilDataProject/portland/runs/5283363985?check_suite_focus=true
@dphoria looks like this is all ready to go with the exception that this PR (https://github.com/CouncilDataProject/cdp-backend/pull/169) needs to be merged into cdp-backend
and a new patch released to allow portland to go through.
Thank you Jackson! We are almost there @Shak2000!
Municipality Name
Portland
Governing Body Type
city council
Maintainer GitHub Name
dphoria
Legistar Client Id
No response
Municipality Timezone
America/Los_Angeles
Municipality Slug
portland
Firestore Region
us-west1
Code of Conduct