tedops / party Goto Github PK
View Code? Open in Web Editor NEWLightweight Python client for the Artifactory API
Lightweight Python client for the Artifactory API
find_by_pattern search fails to find file but used to work - I don't know what version of Artifactory was used, but the current version is Artifactory Professional 5.3.1 rev 50046.
When I added request/urllib3 logging to my script using party, I can see that some queries find files but the search doesn't stop.
NOTE - it would be nice if party had an easier way to enable HTTP debug logging.
requests
allows me to disable SSL verification, but don't see how to add this to party; it would be nice if I could add this to the config.
File "/usr/lib64/python2.7/site-packages/party/party.py", line 99, in find
raw_response = self.query_artifactory(query)
File "/usr/lib64/python2.7/site-packages/party/party.py", line 37, in query_artifactory
response = requests.get(query, auth=auth, headers=self.headers)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 497, in send
raise SSLError(e, request=request)
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
Hi,
Are there any plans to update the release of party that is on pypi? The version currently out there is over a year old.
It would be great if you could document the differences between this libary and the other existing one named Artifactory. I raised a similar request against it too at Parallels/artifactory#31
How do they compare, pros, cons, maybe policy regarding accepting contributions.
I am asking this because I do want to pick one and probably I will want to contribute to it and I want to make a good pick and not having to maintain my own fork. As a side not, on open-source world is good to document about "competition" :)
There are use cases that require input values of null
(not "null"
), e.g. cleaning undownloaded artifacts. Converting None
to null
during AQL formatting would support this use case.
It is suspected to be an error with the setup.py, however after a pip install, Party is not getting registered in the PYTHONPATH. The user should be able to simply pip install party
and continue on his/her way.
It seems that there is to APi for uploading artefacts and that's not clear in the package description.
Same applies for builds.
Can you update a license?
Hello,
I was looking at using get_properties()
at https://github.com/tedops/party/blob/master/party/party.py#L166 but I think there is a bug. Based on the other code, query
should have the full URL, but in the get_properties()
and set_properties()
methods, self.artifactory_url
is never added. Is this a bug or am I just missing something?
I will put together a PR to fix this as well
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.