Skip to content

Commit 4e3a4b8

Browse files
committed
Merge branch 'release/0.11'
2 parents 67642d2 + 0bc81b8 commit 4e3a4b8

36 files changed

+1026
-682
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ jobs:
5252
- name: Tests
5353
run: |
5454
pytest --cov=snowplow_tracker --cov-report=xml
55+
56+
- name: Demo
57+
run: |
58+
cd examples
59+
python app.py "localhost:9090"
5560
5661
- name: Coveralls
5762
uses: AndreMiras/coveralls-python-action@develop
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- uses: ammaraskar/sphinx-action@master
13+
with:
14+
docs-folder: "docs/"
15+
- name: Deploy to GitHub Pages
16+
if: success()
17+
uses: peaceiris/actions-gh-pages@v3
18+
with:
19+
github_token: ${{ secrets.GITHUB_TOKEN }}
20+
publish_dir: ./docs/_build/html

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ nosetests.xml
4141
# Vagrant
4242
.vagrant
4343
VERSION
44+
45+
#Docs
46+
docs/_build

CHANGES.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Version 0.11.0 (2022-10-06)
2+
---------------------------
3+
Update README file (#264)
4+
Update CONTRIBUTING.md file (#265)
5+
Add API doc generation in CI (#277)
6+
Add Demo App (#279)
7+
Fix failing build in Dockerfile (#266)
8+
Bump Copyright to 2022 (#271)
9+
Update README.rst to README.md (#270)
10+
111
Version 0.10.0 (2021-12-16)
212
--------------------------
313
Add Python 3.10 support (#254)

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Snowplow Python Tracker is maintained by the Engineering team at Snowplow An
44

55
We are extremely grateful for all contributions we receive, whether that is reporting an issue or a change to the code which can be made in the form of a pull request.
66

7-
For support requests, please use our community support Discourse forum: https://discourse.snowplowanalytics.com/.
7+
For support requests, please use our community support Discourse forum: https://discourse.snowplow.io/.
88

99
## Setting up an Environment
1010

@@ -16,7 +16,7 @@ You should ensure you are comfortable building and testing the existing release
1616

1717
### Creating an issue
1818

19-
The project contains an issue template which should help guiding you through the process. However, please keep in mind that support requests should go to our Discourse forum: https://discourse.snowplowanalytics.com/ and not GitHub issues.
19+
The project contains an issue template which should help guiding you through the process. However, please keep in mind that support requests should go to our Discourse forum: https://discourse.snowplow.io/ and not GitHub issues.
2020

2121
It's also a good idea to log an issue before starting to work on a pull request to discuss it with the maintainers. A pull request is just one solution to a problem and it is often a good idea to talk about the problem with the maintainers first.
2222

@@ -68,13 +68,13 @@ If your pull request is fairly chunky, there might be a non-trivial delay betwee
6868
### Contributor license agreement
6969

7070
We require outside contributors to sign a Contributor license agreement (or CLA) before we can merge their pull requests.
71-
You can find more information on the topic in [the dedicated wiki page](https://github.com/snowplow/snowplow/wiki/CLA).
71+
You can find more information on the topic in [the dedicated wiki page](https://docs.snowplow.io/docs/contributing/contributor-license-agreement/).
7272
The @snowplowcla bot will guide you through the process.
7373

7474
## Getting in touch
7575

7676
### Community support requests
7777

78-
Please do not log an issue if you are asking for support, all of our community support requests go through our Discourse forum: https://discourse.snowplowanalytics.com/.
78+
Please do not log an issue if you are asking for support, all of our community support requests go through our Discourse forum: https://discourse.snowplow.io/.
7979

8080
Posting your problem there ensures more people will see it and you should get support faster than creating a new issue on GitHub. Please do create a new issue on GitHub if you think you've found a bug though!

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
FROM centos:8
2+
RUN cd /etc/yum.repos.d/
3+
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
4+
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
25

36
RUN yum -y install wget
47
RUN yum install -y epel-release
58
RUN yum -y install git tar gcc make bzip2 openssl openssl-devel patch gcc-c++ libffi-devel sqlite-devel
6-
RUN git clone git://github.com/yyuu/pyenv.git ~/.pyenv
9+
RUN git clone https://github.com/yyuu/pyenv.git ~/.pyenv
710
ENV HOME /root
811
ENV PYENV_ROOT $HOME/.pyenv
912
ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2013-2021 Snowplow Analytics Ltd.
189+
Copyright 2013-2022 Snowplow Analytics Ltd.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
Python Analytics for Snowplow
2+
=============================
3+
4+
[![Early Release](https://img.shields.io/static/v1?style=flat&label=Snowplow&message=Early%20Release&color=014477&labelColor=9ba0aa&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAeFBMVEVMaXGXANeYANeXANZbAJmXANeUANSQAM+XANeMAMpaAJhZAJeZANiXANaXANaOAM2WANVnAKWXANZ9ALtmAKVaAJmXANZaAJlXAJZdAJxaAJlZAJdbAJlbAJmQAM+UANKZANhhAJ+EAL+BAL9oAKZnAKVjAKF1ALNBd8J1AAAAKHRSTlMAa1hWXyteBTQJIEwRgUh2JjJon21wcBgNfmc+JlOBQjwezWF2l5dXzkW3/wAAAHpJREFUeNokhQOCA1EAxTL85hi7dXv/E5YPCYBq5DeN4pcqV1XbtW/xTVMIMAZE0cBHEaZhBmIQwCFofeprPUHqjmD/+7peztd62dWQRkvrQayXkn01f/gWp2CrxfjY7rcZ5V7DEMDQgmEozFpZqLUYDsNwOqbnMLwPAJEwCopZxKttAAAAAElFTkSuQmCC)](https://docs.snowplow.io/docs/collecting-data/collecting-from-own-applications/tracker-maintenance-classification/)[![Build Status](https://github.com/snowplow/snowplow-python-tracker/actions/workflows/ci.yml/badge.svg)](https://github.com/snowplow/snowplow-python-tracker/actions)[![Test Coverage](https://img.shields.io/coveralls/github/snowplow/snowplow-python-tracker)](https://coveralls.io/github/snowplow/snowplow-python-tracker?branch=master) [![image](http://img.shields.io/badge/license-Apache--2-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
5+
6+
7+
[![Pypi Snowplow Tracker](https://img.shields.io/pypi/v/snowplow-tracker)](https://pypi.org/project/snowplow-tracker/)[![Python Versions](https://img.shields.io/pypi/pyversions/snowplow-tracker)](https://pypi.org/project/snowplow-tracker/)[![Monthly Downloads](https://img.shields.io/pypi/dm/snowplow-tracker)](https://pypi.org/project/snowplow-tracker/)
8+
9+
Overview
10+
--------
11+
12+
Add analytics to your Python apps and Python games with the
13+
[Snowplow](http://snowplow.io) event tracker for
14+
[Python](http://python.org).
15+
16+
With this tracker you can collect event data from your Python-based
17+
applications, games or Python web servers/frameworks.
18+
19+
Find out more
20+
-------------
21+
22+
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
23+
24+
| Snowplow Docs | API Docs | Contributing |
25+
| :----: | :----: | :----: |
26+
| ![techdocs](https://d3i6fms1cm1j0i.cloudfront.net/github/images/techdocs.png) | ![setup](https://d3i6fms1cm1j0i.cloudfront.net/github/images/setup.png) | ![contributing](https://d3i6fms1cm1j0i.cloudfront.net/github/images/contributing.png) |
27+
| [Snowplow Docs](https://docs.snowplow.io/docs/collecting-data/collecting-from-own-applications/python-tracker/) | [API Docs](https://snowplow.github.io/snowplow-python-tracker/index.html)| [Contributing](https://github.com/snowplow/snowplow-python-tracker/blob/master/CONTRIBUTING.md) |
28+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
29+
30+
Python Support
31+
--------------
32+
33+
| Python version | snowplow-tracker version |
34+
| :----: | :----: |
35+
| \>=3.5 | > 0.10.0 |
36+
| 2.7 | > 0.9.1 |
37+
38+
Maintainer Quickstart
39+
---------------------
40+
41+
Assuming [docker](https://www.docker.com/) is installed
42+
43+
host$ git clone [email protected]:snowplow/snowplow-python-tracker.git
44+
host$ cd snowplow-python-tracker
45+
host$ docker build -t snowplow-python-tracker . && docker run snowplow-python-tracker
46+
47+
Copyright and license
48+
---------------------
49+
50+
The Snowplow Python Tracker is copyright 2013-2022 Snowplow Analytics
51+
Ltd.
52+
53+
Licensed under the [Apache License, Version
54+
2.0](http://www.apache.org/licenses/LICENSE-2.0) (the \"License\"); you
55+
may not use this software except in compliance with the License.
56+
57+
Unless required by applicable law or agreed to in writing, software
58+
distributed under the License is distributed on an \"AS IS\" BASIS,
59+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60+
See the License for the specific language governing permissions and
61+
limitations under the License.

README.rst

Lines changed: 0 additions & 102 deletions
This file was deleted.

docs/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)