owid / etl

A compute graph for loading and transforming OWID's data
https://docs.owid.io/projects/etl
MIT License
58 stars 18 forks source link

✨ draft-pr: add options #2849

Closed lucasrodes closed 1 week ago

lucasrodes commented 1 week ago

Add prefix options

Examples

etl d draft-pr <branch-name> -c data -t "Update VDEM data":bar_chart: Update VDEM data

etl d draft-pr <branch-name> -c data -s vdem -t "update":bar_chart: vdem: update

etl d draft-pr <branch-name> "Update VDEM data"Update VDEM data

etl d draft-pr <branch-name> -c enhance -s vdem🚧 Draft PR for branch (i.e. no title is given, will ignore prefixes and use default title)

Notes

Other modifications

In addition, I've added shorter argument names -t for --title and -b for --base-branch.

owidbot commented 1 week ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-add-options-draft-pr

chart-diff: ✅ No charts for review.
data-diff: ✅ No differences found ```diff Legend: +New ~Modified -Removed =Identical Details Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet ``` Automatically updated datasets matching _weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk_ are not included

Edited: 2024-06-19 22:43:20 UTC Execution time: 13.51 seconds

lucasrodes commented 1 week ago

you can still use the tool without a scope, i agree we shouldn't force users to use it... at least for now!