Skip to content

Commit

Permalink
v0.3.0 release version
Browse files Browse the repository at this point in the history
  • Loading branch information
daigotanaka committed Aug 21, 2020
1 parent d713249 commit 72f4153
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
17 changes: 6 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can contribute in many ways:

### Report Bugs

Report bugs at https://github.com/anelendata/tap_bigquery
Report bugs at https://github.com/anelendata/tap-bigquery

If you are reporting a bug, please include:

Expand All @@ -29,13 +29,13 @@ and "help wanted" is open to whoever wants to implement it.

### Write Documentation

tap_bigquery could always use more documentation, whether as part of the
official README.md, in docstrings, or even on the web in blog posts,
The open source project could always use more documentation, whether as part of
the official README.md, in docstrings, or even on the web in blog posts,
articles, and such.

### Submit Feedback

The best way to send feedback is to file an issue at https://github.com/anelendata/tap_bigquery/issues.
The best way to send feedback is to file an issue at https://github.com/anelendata/tap-bigquery/issues.

If you are proposing a feature:

Expand All @@ -55,19 +55,14 @@ Before you submit a pull request, check that it meets these guidelines:
your new functionality into a function with a docstring, and add the
feature to the list in README.md.

TODO: Set up Travis:
3. The pull request should work for Python 3.6, 3.7 and 3.8, and for PyPy. Check
https://travis-ci.org/anelendata/tap_bigquery/pull_requests
and make sure that the tests pass for all supported Python versions.

## Deploying

[Packaging Python Projects](https://packaging.python.org/tutorials/packaging-projects/)

A reminder for the maintainers on how to deploy.
Make sure all your changes are committed (including an entry in HISTORY.md).
Then run::

$ bump2version patch # possible: major / minor / patch
$ git push
$ git push --tags

TODO: Set up Travis so it will then deploy to PyPI if tests pass.
2 changes: 1 addition & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## History

### 0.3.0b0
### 0.3.0

- Handle multiple streams
- Support state (bookmark)
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
include LICENSE
include tap_bigquery/schemas/*.json
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Run tap-bigquery in discovery mode to let it create json schema file and then
run them together, piping the output of tap-bigquery to target-csv:

```
tap_bigquery -c tap_config.json -d > catalog.json
tap-bigquery -c tap_config.json -d > catalog.json
```

### Step 3: Run
Expand All @@ -121,7 +121,7 @@ pip install target-csv
Run:

```
tap_bigquery -c tap_config.json \
tap-bigquery -c tap_config.json \
--catalog tap_catalog.json --start_datetime '2020-08-01T00:00:00Z' \
--end_datetime '2020-08-02T01:00:00Z' | target-csv --config target_config.json \
> state.json
Expand Down Expand Up @@ -157,6 +157,12 @@ the tap. In this case you do not need `GOOGLE_APPLICATION_CREDENTIALS` defined:
gcloud auth application-default login
```

You may also have to set the project:

```
gcloud config set project <project-id>
```

Though not tested, it should also be possible to use the OAuth flow to
authenticate to GCP as well:
- `tap-bigquery` will attempt to open a new window or tab in your default
Expand Down Expand Up @@ -187,6 +193,6 @@ The tap itself does not output a state file. It anticipate the target program
or a downstream process to fianlize the state safetly and produce a state file.

## Original repo
https://github.com/anelendata/tap_bigquery
https://github.com/anelendata/tap-bigquery

Copyright &copy; 2020- Anelen Data
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from setuptools import setup

VERSION = "0.3.0b0"
VERSION = "0.3.0"

with open("README.md", "r") as fh:
long_description = fh.read()
Expand Down Expand Up @@ -43,8 +43,7 @@
""",

packages=["tap_bigquery"],
package_data = {
"schemas": ["tap_bigquery/schemas/*.json"]
package_data={
},
include_package_data=True,
)

0 comments on commit 72f4153

Please sign in to comment.