https://github.com/go-faster/gh-archive-yt
github archive to ytsaurus
https://github.com/go-faster/gh-archive-yt
Last synced: 6 months ago
JSON representation
github archive to ytsaurus
- Host: GitHub
- URL: https://github.com/go-faster/gh-archive-yt
- Owner: go-faster
- License: apache-2.0
- Created: 2023-05-13T18:38:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-06T09:50:07.000Z (over 1 year ago)
- Last Synced: 2023-11-06T10:50:54.724Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 414 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# gh-archive-yt [](https://pkg.go.dev/github.com/go-faster/gh-archive-yt#section-documentation) [](https://codecov.io/gh/go-faster/gh-archive-yt) [](https://go-faster.org/docs/projects/status#experimental)
Archive GitHub events to [YTsaurus](https://ytsaurus.tech/).
## Setup
### Users
```bash
export YT_CONFIG_PATCHES='{proxy={enable_proxy_discovery=%false}}'
export YT_TOKEN=token
export YT_PROXY=http-yt.go-faster.orgyt create user --attr '{name=gh-archive-yt}'
yt issue-token gh-archive-yt
```Also create account `gh-archive-yt` in UI and set appropriate quotas.
### Directory
```bash
yt create map_node //go-faster --attributes '{owner=gh-archive-yt; account=gh-archive-yt}'
```### ACL
```bash
cat _hack/acl.yson | yt set //go-faster/@acl
cat _hack/acl.account.yson | yt set //sys/accounts/gh-archive-yt/@acl
```