-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(removing-files-on-temp): temp file removal
- Loading branch information
1 parent
02c90e8
commit 064542d
Showing
5 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,15 +35,15 @@ jobs: | |
OSM_USERNAME: ${{ secrets.OSM_USERNAME }} | ||
OSM_PASSWORD: ${{ secrets.OSM_PASSWORD }} | ||
run: | | ||
osmsg --url "http://download.geofabrik.de/asia/nepal-updates" --username '${{ secrets.OSM_USERNAME }}' --password '${{ secrets.OSM_PASSWORD }}' --format image csv --last_month --tags 'building' 'highway' 'waterway' 'amenity' --name stats/Nepal/Monthly/stats --read_from_metadata stats/Nepal/Monthly/stats_metadata.json --all_tags --summary --charts --meta | ||
osmsg --url "http://download.geofabrik.de/asia/nepal-updates" --username '${{ secrets.OSM_USERNAME }}' --password '${{ secrets.OSM_PASSWORD }}' --format image csv --last_month --tags 'building' 'highway' 'waterway' 'amenity' --name stats/Nepal/Monthly/stats --read_from_metadata stats/Nepal/Monthly/stats_metadata.json --all_tags --summary --charts --meta --temp | ||
- name: add stats to git | ||
|
||
run: | | ||
git pull | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "kshitijrajsharma" | ||
base_dir=stats/Nepal/Monthly | ||
mkdir -p $base_dir | ||
|
@@ -63,4 +63,3 @@ jobs: | |
run: | | ||
commit_id=$(git rev-parse --short HEAD) | ||
python tweet.py --git $commit_id --name stats/Nepal/Monthly/stats --tweet 'Nepal Last Month' | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "osmsg" | ||
version = "0.1.31" | ||
description = "OpenStreetMap Stats Generator : Commandline" | ||
readme = "README.md" | ||
homepage = "https://github.com/kshitijrajsharma/OSMSG" | ||
authors = [{name = "Kshitij Raj Sharma", email = "[email protected]"}] | ||
license = "MIT" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
osmium = "*" | ||
pandas = "==1.5.2" | ||
requests = "*" | ||
shapely = "*" | ||
geopandas = "==0.10.2" | ||
tqdm = "*" | ||
seaborn = "*" | ||
matplotlib = "*" | ||
humanize = "*" | ||
|
||
[tool.poetry.scripts] | ||
osmsg = "osmsg.app:main" | ||
|
||
[tool.commitizen] | ||
name = "cz_conventional_commits" | ||
tag_format = "v$version" | ||
version_scheme = "semver" | ||
version_provider = "pep621" | ||
update_changelog_on_bump = true |