Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: write implementation of Neubot parser #500

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

WIP: write implementation of Neubot parser #500

wants to merge 2 commits into from

Conversation

bassosimone
Copy link

@bassosimone bassosimone commented May 1, 2018

  1. start sketching out a Neubot parser

  2. try to figure out how to pass a file to a "thing" that should
    process such file

  3. decide that proably etl_worker.go is what I want

  4. cd cmd/etl_worker && go get -v .

  5. $GOPATH/bin/etl_worker

  6. curl curl http://127.0.0.1:8080/worker?filename=gs://archive-mlab-oti/neubot/2017/06/27/20170627T000000Z-mlab1-arn01-neubot-0000.tgz

  7. obtain as error message:

2018/05/01 15:51:36 etl_worker.go:193: Error getting storage client: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.

This change is Reviewable

1. start sketching out a Neubot parser

2. try to figure out how to pass a file to a "thing" that should
   process such file

3. decide that _proably_ etl_worker.go is what I want

4. `cd cmd/etl_worker && go get -v .`

5. `$GOPATH/bin/etl_worker`

6. `curl curl http://127.0.0.1:8080/worker?filename=gs://archive-mlab-oti/neubot/2017/06/27/20170627T000000Z-mlab1-arn01-neubot-0000.tgz`

7. obtain as error message:

```
2018/05/01 15:51:36 etl_worker.go:193: Error getting storage client: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
```
@coveralls
Copy link
Collaborator

coveralls commented May 1, 2018

Coverage Status

Coverage decreased (-2.7%) to 65.201% when pulling 928ffed on bassosimone:feature/neubot into edf970a on m-lab:integration.

Copying from my notes:

```
brew cask install caskroom/cask/google-cloud-sdk
gcloud auth login
gcloud auth application-default login
```

After these steps I could fetch a file.

Also:

```
2018/05/01 22:14:49 insert.go:113: Using project:
```

Implications of project being empty?
@bassosimone bassosimone changed the title Document what I did so far WIP: write implementation of Neubot parser May 1, 2018
@stephen-soltesz stephen-soltesz changed the base branch from integration to master October 8, 2018 17:42
@SaiedKazemi SaiedKazemi changed the base branch from master to main August 10, 2022 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants