annotate sync_to_github.py @ 18:6f38aa08408d

starting over: make a web page that draws a streamed graph from collector, with plans for services to scrape the data that collector will subscribe to
author drewp@bigasterisk.com
date Sun, 09 Jan 2022 00:21:41 -0800
parents 2c4d383d464c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
7f479502a8ab wip sync_to_github (from hg)
drewp@bigasterisk.com
parents:
diff changeset
1 #!/usr/bin/python3
7f479502a8ab wip sync_to_github (from hg)
drewp@bigasterisk.com
parents:
diff changeset
2 from pathlib import Path
7f479502a8ab wip sync_to_github (from hg)
drewp@bigasterisk.com
parents:
diff changeset
3
7f479502a8ab wip sync_to_github (from hg)
drewp@bigasterisk.com
parents:
diff changeset
4 from sync import Project, getSshAuthSock
7f479502a8ab wip sync_to_github (from hg)
drewp@bigasterisk.com
parents:
diff changeset
5
9
2c4d383d464c move config stuff into Project
drewp@bigasterisk.com
parents: 8
diff changeset
6 p = Project(Path('.').absolute())
8
cc3321b8adc1 fix silly case
drewp@bigasterisk.com
parents: 7
diff changeset
7 p.makeGithubRepo()
cc3321b8adc1 fix silly case
drewp@bigasterisk.com
parents: 7
diff changeset
8 p.hgToGithub()