Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voxpupuli/pypuppetdb

Python library for working with the PuppetDB API
https://github.com/voxpupuli/pypuppetdb

CHANGELOG: Add a line about SSL in Quickstart.

e3490c7caae5c918a6bfe63e6564db713258b1d7 authored almost 11 years ago by Daniele Sluijters <[email protected]>
API: Documentation touchups for Sphinx.

8adf565eb5092a348c7dfc71700ebf58505c2b0f authored almost 11 years ago by Daniele Sluijters <[email protected]>
CHANGELOG: Clearly specify when we drop API v2.

f9a92a3844c73ecb5c43bf2a94e832508412af92 authored almost 11 years ago by Daniele Sluijters <[email protected]>
Merge branch 'master' into 0.1.x

7c4589889e9ffaaa4ddb89450e68cd5e5bdba204 authored almost 11 years ago by Daniele Sluijters <[email protected]>
package: Add 2014 to the copyright.

b7867f5ee5fca1b431c243aa94e194e32d84fb7d authored almost 11 years ago by Daniele Sluijters <[email protected]>
Merge branch 'master' into 0.1.x

846f6d83bab63f92e451e77791b29e2bd9d7fc5e authored almost 11 years ago by Daniele Sluijters <[email protected]>
tests/types: Regroup, fix unicode().

68b0e31e532432b604de3c8f292b80c2b7699804 authored about 11 years ago by Daniele Sluijters <[email protected]>
setup: *sigh* import causes request requirement.

e76b40c320ab3cb5638fe8fb16a16b30ceb6bb04 authored about 11 years ago by Daniele Sluijters <[email protected]>
gitignore: Ignore pyenv/virtualenv/coverage stuff.

[skip ci]

6250648861ba207ff9d729ea49a3e127d700ffbf authored about 11 years ago by Daniele Sluijters <[email protected]>
travis: Don't use --use-mirrors. [skip ci]

PyPi is moving away from the DNS mirrors and instead is serving content
through a CDN now.

c23b0a1ee8c17c25ee441976df3415f4e734ef67 authored about 11 years ago by Daniele Sluijters <[email protected]>
travis: Don't use --use-mirrors. [skip ci]

PyPi is moving away from the DNS mirrors and instead is serving content
through a CDN now.

bbd12199f7463202968c5074b38c1af4e83d3ae7 authored about 11 years ago by Daniele Sluijters <[email protected]>
package: Change version on master to 'dev'.

3d50705a29c5b569d59169697425e505d30f4202 authored about 11 years ago by Daniele Sluijters <[email protected]>
Merge branch '0.1.x'

f75594e67abf15526b5c76702352e29a03dd153b authored about 11 years ago by Daniele Sluijters <[email protected]>
Add Coveralls.io support to keep track of coverage

0bea71eed772e4bbecea6128009817b5965f026f authored about 11 years ago by Daniele Sluijters <[email protected]>
Fix the test-suite for Python 3.

* Start using the python-3.3-support branch of HTTPretty.
* Alias unicode to str if we're on Pyt...

4acd6cd1387bf239a6e259a478d95dec2f225d40 authored about 11 years ago by Daniele Sluijters <[email protected]>
tests: Do some serious work.

Took some doing but BaseAPI is now fully tested, found a few bugs along
the way too.

5d5253b1351d98cd21153ff92cabcb02641758b1 authored about 11 years ago by Daniele Sluijters <[email protected]>
Actually add package.py.

This should have been part of 8676e6900465e2f69f960966025f7760477af6a9.

06920e23a577502f1e81a299010a5e96a936cedc authored about 11 years ago by Daniele Sluijters <[email protected]>
api: Reduce metric() to a single line.

413da5031ff8b16d3c6e0d1acb6eb956135c2db3 authored about 11 years ago by Daniele Sluijters <[email protected]>
api: include-total should be a boolean

e2dbfad7f9b6d8e4f17ddb3a059296dad321c5e6 authored about 11 years ago by Daniele Sluijters <[email protected]>
Remove erroneous log.debug() call.

6ad20c8fd67d43e0e67b822e81e3d9d43bfd5bc9 authored about 11 years ago by Daniele Sluijters <[email protected]>
Rework setup.py and docs/conf.py [skip ci].

We now have ``pypuppetdb.package`` containing package related data.
Setup.py and docs/conf.py no...

8676e6900465e2f69f960966025f7760477af6a9 authored about 11 years ago by Daniele Sluijters <[email protected]>
travis: Quiet pip a bit [skip ci].

45719878b5709366eeea3f6d0dcdb91753b22c36 authored about 11 years ago by Daniele Sluijters <[email protected]>
resources: Pass and handle title on Node scope.

a11dab0930894b1ce9b16f77c5d4858149f4fccf authored about 11 years ago by Daniele Sluijters <[email protected]>
Start getting ready for 0.1.0:

* Update version
* Bump changelog entries
* Update docs
* Fix SSL behaviour

dfadd6d4ead6d77813a9ae0671cb9f67bb62bc67 authored about 11 years ago by Daniele Sluijters <[email protected]>
Start getting ready for 0.1.0:

* Update version
* Bump changelog entries
* Update docs
* Fix SSL behaviour

c30d3ed82c2c411f962faf5641fd306d5aaea2c5 authored about 11 years ago by Daniele Sluijters <[email protected]>
resources: Pass and handle title on Node scope.

1829b9b8347935ed3f652cec1131f2b21db3222b authored about 11 years ago by Daniele Sluijters <[email protected]>
Allow for resources to queried without type_

This will allow the user to query puppetdb for resrouces that do not
match a defined type.

45aedd1c25d0939b7d4e48a8718641a25e22668f authored about 11 years ago by Daniel Lawrence <[email protected]>
pypuppetdb: Prepare a 0.1.0 release.

3c0fabed30445289d930f603be61ab0753151651 authored about 11 years ago by Daniele Sluijters <[email protected]>
Merge pull request #22 from juliushaertl/feature-apiv3

Complete support for v3 API Endpoints

c40dbaa8b13d701b7854a88b1914213b5c7ceaa8 authored about 11 years ago by Daniele Sluijters <[email protected]>
Merge pull request #23 from daniellawrence/master

Except HTTPError for puppetdb error feedback

786748e444a7d788cea1394f6af8532438df3b9c authored about 11 years ago by Daniele Sluijters <[email protected]>
Except HTTPError for puppetdb error feedback

Added a large net for requests.exceptions.HTTPError exceptions to catch
errors raised by the pu...

9d935e514c70b8c677dc4973819eb29212d716d9 authored about 11 years ago by Daniel Lawrence <[email protected]>
fix test_connect_api_v3

5234967ee1d9ff1117b7e71c151d2fd3d0b750d1 authored about 11 years ago by Julius Härtl <[email protected]>
Add README section on catalogs endpoint, pep8 fix

6d633542b1295a53a6f7a5fd3e0ccba3fcd32599 authored about 11 years ago by Julius Härtl <[email protected]>
Complete support for v3 API Endpoints

- add support for Catalogs endpoint
- add support for Version endpoint
- change string represent...

09d2b6a0cf6c81ef5195a1ccbefaf270939ee98b authored about 11 years ago by Julius Härtl <[email protected]>
Merge pull request #21 from nibalizer/doc_fix

pypuppetdb/api/v3.py: Trivial docs fix

d07f93fdb997000105b58edfd8aaaddbedccd174 authored about 11 years ago by Daniele Sluijters <[email protected]>
pypuppetdb/api/v3.py: Trivial docs fix

acff969d78c3e1f1c5e8aa1ceb3d1a1f0dcf97e7 authored about 11 years ago by Spencer Krum <[email protected]>
Merge pull request #20 from fretterick/fix-nodes_with_status

Make sure the status key actually exists on a node.

64b0766e0952d06c893b75bf9ed66e00a7d7c935 authored about 11 years ago by Daniele Sluijters <[email protected]>
use "node['status'] = None" as default

884fcaca9c5f344f8ccb59d9dfca0e245a2df85b authored about 11 years ago by Frederik Happel <[email protected]>
check for key 'status' in node dictionary

f3df6b041dfe96fb7b553668073e28fef3171f1b authored about 11 years ago by Frederik Happel <[email protected]>
api: Fix too much copy-paste.

f6befaede6ebe986632155fe23a6e46b616b306e authored about 11 years ago by Daniele Sluijters <[email protected]>
Merge pull request #19 from juliushaertl/feature-nodestatus

fix for status without report timestamp

c1d9d7a18780b94a243c04c15031737c5d0372f5 authored about 11 years ago by Daniele Sluijters <[email protected]>
fix for status without report timestamp

nodes without a report timestamp will status unreported

pep8 fix

5eac44bea57997a0d1efb1ff29cc2a913f653145 authored about 11 years ago by Julius Härtl <[email protected]>
Merge pull request #18 from juliushaertl/feature-nodestatus

Add with_status kwarg to ``nodes()``.

e08b8e6cd12605bc99fc5732b67ebeb8a448bebb authored about 11 years ago by Daniele Sluijters <[email protected]>
Include status query in existing nodes method

The status information will be included if the parameter
`with_status=True`

53d8011f1a86348dba480701842579bb9b85d9cb authored about 11 years ago by Julius Härtl <[email protected]>
Add nodes_with_status method to v3 api

This method returns queried nodes and adds information on their
status and the events of the lat...

fb06f5fe32d8873587ef85e1004ca572c9a233be authored about 11 years ago by Julius Härtl <[email protected]>
tests: Remove the unicode() tests.

The ``unicode()`` function doesn't exist on Python 3+ so need to think
about how that's going to...

042b8c5cdb47b3d395cb5cba01629c5666713f78 authored about 11 years ago by Daniele Sluijters <[email protected]>
tests: Increase test coverage to ~75%.

The stuff that's easy to test has mostly been tested now, things like if
the correct URL is gett...

7f09b36f035a39978651e6374ca87431a7349773 authored about 11 years ago by Daniele Sluijters <[email protected]>
Merge pull request #17 from juliushaertl/feature-v3-newapis

Basic integration of new v3 API endpoints and query paging

3484c18a2fbe7c889cc10746a71f14f3ecc5b2f0 authored about 11 years ago by Daniele Sluijters <[email protected]>
fix for pep8 style check

62fe106f236e76271fbeb436ac5a7a564e7e9c30 authored about 11 years ago by Julius Härtl <[email protected]>
Basic integration of new v3 API endpoints and query paging

- Add new Endpoints event-counts, aggregate-event-counts, server-time can be requested using _qu...

bc3b342b2324963f1a3c63c1baf0b381332832c8 authored about 11 years ago by Julius Härtl <[email protected]>
Merge pull request #16 from daniellawrence/emtpy_query_none_capitalize

Allow for emtpy type_ in resource endpoint query

fee4a68de2387f0a51187cf3289bdc9e5f13b3d5 authored about 11 years ago by Daniele Sluijters <[email protected]>
fix pep8 issues in api/v3.py

9ebf0465fcb1899bbda11cc759a36b8d64e52021 authored about 11 years ago by Daniel Lawrence <[email protected]>
Merge pull request #15 from daniellawrence/api_v3_resource_keys

Updated api/v3.py for APIv3 resource name changes

de59c0096fdde8b8a3bd2c14c149f6d2a480b383 authored about 11 years ago by Daniele Sluijters <[email protected]>
Allow for emtpy type_ in resource endpoint query

Currently in both APIv2 and APIv3 all calls into API.resource() force a
type_.capitalize() when ...

1327eadf755a5c6f317b8ab12b3d7ca7c0d2883d authored about 11 years ago by Daniel Lawrence <[email protected]>
Updated api/v3.py for APIv3 resource name changes

PuppetDB APIv3 from APIv2 has 2 keys within the resource
endpoint have been changed.
'sourcefile...

307e6bdb0a731222dd384667b258e6b07e61e0a0 authored about 11 years ago by Daniel Lawrence <[email protected]>
Merge pull request #14 from KlavsKlavsen/master

update specfile to 0.0.4-2

c9070758279a79e4505da10ed5dd0ae81973171a authored about 11 years ago by Daniele Sluijters <[email protected]>
update to 0.0.4-2

6d04a02d65588f5eafd086e757b6fe93ed915db0 authored about 11 years ago by Klavs Klavsen <[email protected]>
Merge pull request #13 from KlavsKlavsen/master

pypuppetdb: spec file to build RPM packages.

493abaf11bedf77c2d8b7164df6714cfe8616b40 authored about 11 years ago by Daniele Sluijters <[email protected]>
Added spec file

28e0db93b603f8406a33e89ce3e41d001f41adbb authored about 11 years ago by Klavs Klavsen <[email protected]>
0.0.4: Release.

f3dd2f1cb9acdbf71a2f913c769fcffb0da3d51a authored about 11 years ago by Daniele Sluijters <[email protected]>
facts(): Pass along query if only query.

When we fixed the behaviour of being able to query for all facts we
accidentally introduced a bu...

66872ba8838945bb9d266d043c9c89ed07a7feb3 authored about 11 years ago by Daniele Sluijters <[email protected]>
Revert "types: Make transaction on report optional

This reverts commit 1f555d91c21752d15a4212d831f15fb7b26118a2.

I need to wake up. Since v2 API c...

de15c4ef3a4597aa8234cb5d779765da909731b2 authored about 11 years ago by Daniele Sluijters <[email protected]>
CHANGELOG: Change in connect method [skip ci].

968924becec858e430f838405b76c92493a83571 authored about 11 years ago by Daniele Sluijters <[email protected]>
README: Fix pip command in test section.

[noci]

59caa293cb6c915394a0fb7cc8958189bad9d5ee authored about 11 years ago by Daniele Sluijters <[email protected]>
0.0.3: Update CHANGELOG and README for release.

d90540eec30e74b1f55d3b3f05e9a1f2d91d35ff authored about 11 years ago by Daniele Sluijters <[email protected]>
types: Make transaction on report optional.

While v3 API provides a transaction UUID v2 does not. Requiring it would
break our support of v2...

1f555d91c21752d15a4212d831f15fb7b26118a2 authored about 11 years ago by Daniele Sluijters <[email protected]>
pypuppetdb: Preliminary v3 support.

Based on the work of @jtopjian this commit adds basic v3 support. It does
not yet expose or use ...

1604774582b35f618416078eae97ab105c47b1de authored about 11 years ago by Daniele Sluijters <[email protected]>
README: Mention IRC channel.

940ac087180d70d65543c8bbedb2bc5c2c1d5f2e authored about 11 years ago by Daniele Sluijters <[email protected]>
pyppuppetdb: Pass along timeout in connect().

This fixes #10.

cb8492d9bac95def3c13c512abc983e6855c9720 authored over 11 years ago by Daniele Sluijters <[email protected]>
tests/utils: PEP8, blank lines.

e42130f3abee11d05d9b108ac38cb4961928dd8b authored over 11 years ago by Daniele Sluijters <[email protected]>
tests: Add tests for utils.

eb8a59a52ce45c6509d30151258a85f440f15050 authored over 11 years ago by Daniele Sluijters <[email protected]>
utils: tzname must return a string on Python 2.

7eafdb3747cd3d1feb6a9ed5468f958a1d694408 authored over 11 years ago by Daniele Sluijters <[email protected]>
utils: Add magic repr/str/unicode methods to UTC.

1c4dc4723d1a19cac90f9422ba080da8c9912374 authored over 11 years ago by Daniele Sluijters <[email protected]>
tests: Add a basic test for connect().

19cdcd64c2172e4ef5877e2f331b03671091c1e2 authored over 11 years ago by Daniele Sluijters <[email protected]>
types: Fix a typo, add some tests.

9bc42c0835b0d839792eb3a46c770bfc04356a27 authored over 11 years ago by Daniele Sluijters <[email protected]>
tests: Add tests for _query in baseapi.

These tests check that _query ends up generating and querying the right
url depending on the dif...

3cde2060825449ae91e2e7172bde8c47680c42c7 authored over 11 years ago by Daniele Sluijters <[email protected]>
tests/_url: Check raise error for invalid endpoint

042dddfc29d0c4c11b87894e94ee4b9140f7be7a authored over 11 years ago by Daniele Sluijters <[email protected]>
tests: Move test_url to a baseapi dir.

900f4b7795ef84eb0cbbb301b3394c96cdef21db authored over 11 years ago by Daniele Sluijters <[email protected]>
api: Stop being overprotective of _url/_query.

We had a whole if-statement to figure out stupid uses of path in cases
where it shouldn't occur,...

f1149c97b408867e4201013cc3de77b86bd15579 authored over 11 years ago by Daniele Sluijters <[email protected]>
api/v2: Pass in empty query for facts/resources.

When facts() or resources() is called without passing in name/value or
type/title and without pa...

9f80bf1bb3b7c8dfdbbcb1ffa875bffcc281af4a authored over 11 years ago by Daniele Sluijters <[email protected]>
pypuppetdb/utils: Remove pytz.

Removing the dependency on pytz. It's not needed and adds a rather heavy
library for us to insta...

0170eb5beefff08ad19b912964ab20e0ba220aad authored over 11 years ago by Daniele Sluijters <[email protected]>
pypuppetdb: Onwards to 0.0.3.

d7e5e4ba9e96775f4b1bf184ab747ab3038c51d8 authored over 11 years ago by Daniele Sluijters <[email protected]>
CHANGELOG: Add 0.0.2 and 0.0.1.

8ce441ea753bc9c17cf6ca45d8250f16be17ba9f authored over 11 years ago by Daniele Sluijters <[email protected]>
setup: Fix a PEP8 violation.

ba87a1a391fea795f55f792b628ad9ccf5189b46 authored over 11 years ago by Daniele Sluijters <[email protected]>
setup: Fix the installation.

We were importing __version__ from pypuppetdb but since pypuppetdb
itself relies on requests but...

e70c60e01988ece0b258b220bab7c29e6174b2a8 authored over 11 years ago by Daniele Sluijters <[email protected]>
tox: Fix install, add pypy.

9c600798fe980575209f49fecebae6fc83ef7134 authored over 11 years ago by Daniele Sluijters <[email protected]>
requirements: Get rid of wsgiref.

http://stackoverflow.com/questions/6627035

c587bb98a82354cf3fed3b8dc037bec6c153736e authored over 11 years ago by Daniele Sluijters <[email protected]>
.travis.yaml: Fix the install command.

c963959c357e65cac74a2d594ff65f2a5af35e60 authored over 11 years ago by Daniele Sluijters <[email protected]>
Fix requirements.txt.

Somehow I managed to really brick ``pip freeze`` and splitting
everything up in separate files. ...

7fa0bb1ca6a52d49e7e7d8a05e088a758ce3a4e8 authored over 11 years ago by Daniele Sluijters <[email protected]>
README: Add Travis badge.

74570d8a2db072996fd6501102d3961c4e5cad10 authored over 11 years ago by Daniele Sluijters <[email protected]>
_query: Re-raise the errors.

Though we were adding additionally logging to the errors we were
catching we weren't re-riasing ...

794e9c7b013a17ad1705334bfdc4d95bf9110d49 authored over 11 years ago by Daniele Sluijters <[email protected]>
README: Update the installation instructions.

[skip ci]

54dc1deea85fe11469eaad7d70a208f9a490c8db authored over 11 years ago by Daniele Sluijters <[email protected]>
Remove references to the integration tests.

We're currently having some issues getting those tests running and
populated with all the test d...

e06c23408e032a6f815851ca5415156f8b4cec46 authored over 11 years ago by Daniele Sluijters <[email protected]>
Run tests through tox by default.

`setup.py` has been altered so that `python setup.py test` will
automatically run the tests thro...

f23ff157d925cd4dd8e38f8d5e4a53e23cdbca7e authored over 11 years ago by Daniele Sluijters <[email protected]>
We don't support Python 3.2.

69b2c71788295ace96767e10792ec8dcf29e6a66 authored over 11 years ago by Daniele Sluijters <[email protected]>
Fix running tests, add tox.

We shouldn't declare tests as a package, it isn't. Additionally we
can now run the tests through...

4f66471748698b0cf0f90bf2e11947cdce477a84 authored over 11 years ago by Daniele Sluijters <[email protected]>
setup: Fix unicode handling, add Python 3.3

caf8753b6d65c0497de87f84df03c745e2d1897d authored over 11 years ago by Daniele Sluijters <[email protected]>
Add configuration for Travis CI.

eaf0e8ff11b797c86b8179c074752633c31e3f71 authored over 11 years ago by Daniele Sluijters <[email protected]>
Add setup.py and MANIFEST.in.

These files are used to package up pypuppetdb for release to PyPi.

bab8739ea67603939642be96a1198528f0f6f218 authored over 11 years ago by Daniele Sluijters <[email protected]>
Add an (empty) changelog.

a48d6acc001ac4b3224c6883c96a60336ac0935c authored over 11 years ago by Daniele Sluijters <[email protected]>